self.func_input = Entry(bottom_frame, font=self.font_style, width=40) self.func_input.grid(row=0, column=0, columnspan=6, padx=(15,0), pady=5) self.add_func_button = Button(bottom_frame, text="用户命名并新增基本函数", command=self.add_function) self.add_func_button.grid(row=0, column=6, columnspan=2,padx=10, pady=15, sticky="ne") Label(bottom_frame, text="x步长", font=("Lucida Grande", 18)).place(x=15,y=80) self.x_step = Entry(bottom_frame, font=self.font_style, width=10) self.x_step.place(x=135, y=70, width=215,height=52) Label(bottom_frame, text="x个数", font=("Lucida Grande", 18)).place(x=15,y=155) self.x_count = Entry(bottom_frame, font=self.font_style, width=10) self.x_count.place(x=135, y=150, width=215,height=52) Label(bottom_frame, text="坐标轴", font=("Lucida Grande", 20)).grid(row=2, column=4,padx=(150,0)) self.quadrant = IntVar() self.quadrant.set(4) Radiobutton(bottom_frame, text="四象限", command=self.update_quadrant, value=4, variable=self.quadrant).grid(row=1, column=5, sticky="sw",padx=(0,135)) Radiobutton(bottom_frame, text="一象限", command=self.update_quadrant, value=1, variable=self.quadrant).grid(row=3, column=5, sticky="nw",padx=(0,135)) Label(bottom_frame, text="x放大倍数", font=("Lucida Grande", 18)).place(x=750,y=80) self.x_scale = Entry(bottom_frame, font=self.font_style, width=10) self.x_scale.grid(row=1, column=6, padx=(70,0), sticky="se") Label(bottom_frame, text="y放大倍数", font=("Lucida Grande", 18)).place(x=750,y=160) self.y_scale = Entry(bottom_frame, font=self.font_style, width=10) self.y_scale.grid(row=3, column=6, sticky="ne") Button(bottom_frame, text="输出", command=self.print_function, width=5) \ .grid(row=1, rowspan=3, column=8, padx=(30,0),sticky="w")