You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
864 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# -*- encoding: utf-8 -*-
import tkinter as tk
from tkinter import *
import random
import numpy as np
FITT_SAVE = {}
FITT_LIST = []
global Canvas2 # 用于显示函数的画布
Img1 = None # 绘制的dot.png图像
Img2 = None # 绘制的line.png图像
Xian_index = 0 # 当前选择的函数编号
Quadrant = 0 # 当前选择的象限信息0为四象限1为一象限
MAXV = 1000 # 最大值
INDEX = 5 # 拟合函数索引
Out = '' # 拟合输出信息
LOW = -MAXV # 坐标轴显示上界
HIGH = MAXV # 坐标轴显示下界
MAGNIDICATION = 1.0 # 放大倍数
SampleData = None # 样本数据
CurveData = None # 拟合数据
set_img1 = None
set_img2 = None
global Q_root,F_root
global root_window
global label1,label2,label3