Mathematics drawing tool for graduation design course design based on Qt and C++ (plan, chart, three-dimensional drawing - download link attached)

Mathematics drawing tools for graduation design course design based on Qt and C++

Introduction
This is my graduation project, based on Qt Creator 4.11.1, c++ language.
The effect picture is as follows
, click me to download the project source code (including packaging software)
insert image description here
insert image description here

Instructions for use
1. Two-dimensional function drawing
Start interface:
insert image description here
function setting, input interface:

insert image description here
Details of use
Currently only supports unary equations, such as y=x^2, x=y+1,
the user can only choose to input x or y at first, and other symbols cannot be input; after inputting x or y, the = sign is automatically completed, delete = The number will be deleted together with the unknown number on the left. The
specific position number will be automatically completed.
The input of brackets is very important! If you want to enter the half power of x, it should be y=x^(1/2)
The maximum range of x and y axis is [-100,100]
2. Data chart drawing
Take the histogram as an example:
insert image description here
use the details
to directly Perform data input and name change in the form.
If a non-number or no input is entered in the grid of the input data, it will be recognized as 0.
Use the clear function to change the content of the grid without changing the
number of rows and columns. It is limited to [0,100], beyond the range and cannot be input.
The fitting curve can only be drawn in the polynomial fitting
fitting graph at present. Because the double type data only displays 6 digits after the decimal point, if a calculated coefficient is similar to 0.0000001, it will be recognized as 0, which affects the drawing of the fitting image, so it is necessary to change the data ratio or fitting order according to the actual situation.
Using excel to import data, the name needs to be entered by yourself, and the
import of excel is indispensable. Only the data is imported, and the name is not imported, and the data in excel The arrangement should be consistent with the arrangement of all kinds of data in the table, similar to the following figure (histogram), otherwise the expected effect cannot be drawn.
insert image description here
3. Three-dimensional function drawing
Start interface:
insert image description here
use details
. One of them is missing, but not all or other letters are used
Not set
The number is automatically completed, and the user needs to pay attention to the input. The y and
z positions in the displayed coordinates are interchangeable.
Introduction to the relevant knowledge used in the design of the two- dimensional function drawing
insert image description here
structure . Source code (including packaged software)
insert image description here

insert image description here


insert image description here

insert image description here

insert image description here

insert image description here

insert image description here

insert image description here

Guess you like

Origin blog.csdn.net/weixin_43474701/article/details/130537020