CN104866684A - Coordinate-parameter transmission rapid drawing method - Google Patents
Coordinate-parameter transmission rapid drawing method Download PDFInfo
- Publication number
- CN104866684A CN104866684A CN201510302012.4A CN201510302012A CN104866684A CN 104866684 A CN104866684 A CN 104866684A CN 201510302012 A CN201510302012 A CN 201510302012A CN 104866684 A CN104866684 A CN 104866684A
- Authority
- CN
- China
- Prior art keywords
- coordinate
- function
- mouse
- parameter
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a coordinate-parameter transmission rapid drawing method, and aims to solve the problems of inconvenience in drawing function curve charts and low drawing efficiency in the prior art. In the coordinate-parameter transmission rapid drawing method, the coordinate value of a mouse on a coordinate plane is taken as a parameter value acquired from outside of a drawing function, and a data is obtained with a 'mouse-coordinate' way, so that a way of obtaining data by inputting of data into an input frame of a variable specified in a data input frame in the prior art is changed; drawing can be performed rapidly and conveniently; and the drawing efficiency and accuracy are increased greatly.
Description
Technical field
The present invention relates to the quick graphing method of a kind of coordinate-Parameter transfer.
Background technology
In prior art, to the mode that the drafting of function curve diagram generally adopts be: in a program, set up data frame, then, click data input frame excite button, excitation data input frame, user inputs corresponding data by the input frame of the variable of specifying in data input frame, has carried out the drafting of function curve diagram thus.This kind of method not only applies complexity, and drawing efficrence is low.
Summary of the invention
The object of the invention is to overcome above-mentioned defect, provide a kind of and realize convenient, the quick graphing method of coordinate-Parameter transfer efficiently of mapping.
To achieve these goals, the technical solution used in the present invention is as follows:
The quick graphing method of a kind of coordinate-Parameter transfer, comprises the following steps:
(1) by coordinate conversion, Criterion cartesian coordinate system in the plane, sets up the corresponding relation put with coordinate;
(2) dynamic coordinate value is shown on coordinate plane;
(3) constructed fuction, that sets up correspondence joins function containing cell parameters or containing of multiple parameters;
(4) corresponding relation between the coordinate determining function parameter and point;
(5) rolling mouse is to ad-hoc location, and the coordinate figure corresponding on coordinate plane by mouse, passes to the parameter of function with the form of argument, makes function obtain outside input value;
(6) determine numerical value undetermined, obtain the final expression formula of function;
(7) call function, coordinate plane is made corresponding function curve diagram.
Wherein, the concrete mode of described step (2) is: set up double-precision variable X, Y, by some P(X corresponding for mouse
0, Y
0) dynamic coordinate value X
0, Y
0give double-precision variable X, Y, with the dynamic coordinate value X by mouse
0, Y
0coordinate plane shows.
Design concept of the present invention: the parameter value obtained from outside for mapping function with the coordinate figure of mouse on coordinate plane, the input transmission of reduced data.
Compared with prior art, the present invention has following beneficial effect:
The parameter value that the present invention obtains from outside for mapping function with the coordinate figure of mouse on coordinate plane, the method of ' mouse-coordinate ' is used to obtain data, change prior art and input data acquisition data by the input frame of the variable of specifying in data input frame, its mapping is quick and easy, drastically increases drawing efficrence and precision.
Embodiment
Below in conjunction with embodiment, the invention will be further described, and embodiments of the present invention include but not limited to the following example.
Embodiment
Present embodiments provide the quick graphing method of a kind of coordinate-Parameter transfer, the parameter value that the method obtains from outside for mapping function with the coordinate figure of mouse on coordinate plane, the input transmission of reduced data, to reach the object of quick mapping, the method mainly comprises the following steps:
One, the corresponding relation put with coordinate is set up
By coordinate conversion, Criterion cartesian coordinate system in the plane, sets up the corresponding relation put with coordinate; Because any point is all corresponding with a pair subordinate ordered array (x, y) in plane, therefore, what just establish a little with coordinate is corresponding.
Two, dynamic coordinate value is shown on coordinate plane
Specifically, set up double-precision variable X, Y, by some P(X corresponding for mouse
0, Y
0) dynamic coordinate value X
0, Y
0give double-precision variable X, Y, with the dynamic coordinate value X by mouse
0, Y
0coordinate plane shows.
Three, constructed fuction
That sets up correspondence joins function containing cell parameters or containing of multiple parameters; Most functions can be considered as the function of containing parameter, such as: function Y=Asin(ω x+ φ), Y=Acos(ω x+ φ), A, ω, φ wherein can as parameters, (in this method, for sinusoidal, cosine function, only using A as undetermined parameter) this parameter again with the dynamic coordinate value X of mouse
0the value that coordinate plane shows is corresponding.
Corresponding relation between the coordinate four, determining function parameter and point; This corresponding relation is determined according to the actual needs.For some function, need to limit the span of parameter, such as: for exponential function, if specify certain parameter to be the truth of a matter of function, then parameter must meet positive number and can not be 1 condition restriction; Also identical condition restriction is had for logarithmic function, as: for logarithmic function Y=log
a(Ax+B) the truth of a matter a, a=f(x), wherein, x is by the X of mouse
0determine, meanwhile, its should meet be greater than 0 and be not equal to 1 span.
Five, function is made to obtain outside input value
As required and condition, rolling mouse is to ad-hoc location, and the coordinate figure corresponding on coordinate plane by mouse, passes to the parameter of function with the form of argument, makes function obtain outside input value.
Six, determine numerical value undetermined, obtain the final expression formula of function.The determination of numerical value undetermined is determined according to different functions.
Seven, call function, coordinate plane is made corresponding function curve diagram.As: function Y=log
a(Ax+B) in, using the parameter of truth of a matter a as function, with the X of mouse
0coordinate is corresponding, and wherein a value is 4, namely needs the argument value imported into from outside to be 4.Make Y=log
4(Ax+B) quick mapping, first, sets up function, namely determines type function, as: exponential function, logarithmic function etc.Then, choosing X-coordinate value on (click) coordinate plane is the optional position of 4, and just the value transmit of coordinate X is to parameter a, and namely this function obtains outside input value.Namely function Y=log is obtained
4(Ax+B).
According to above-described embodiment, just the present invention can be realized well.What deserves to be explained is; under prerequisite based on above-mentioned design concept; for solving same technical matters; even if some making on architecture basics disclosed in this invention are without substantial change or polishing; the essence of the technical scheme adopted is still the same with the present invention, therefore it also should in protection scope of the present invention.
Claims (2)
1. the quick graphing method of coordinate-Parameter transfer, is characterized in that, comprise the following steps:
(1) by coordinate conversion, Criterion cartesian coordinate system in the plane, sets up the corresponding relation put with coordinate;
(2) dynamic coordinate value is shown on coordinate plane;
(3) constructed fuction, that sets up correspondence joins function containing cell parameters or containing of multiple parameters;
(4) corresponding relation between the coordinate determining function parameter and point;
(5) rolling mouse is to ad-hoc location, and the coordinate figure corresponding on coordinate plane by mouse, passes to the parameter of function with the form of argument, makes function obtain outside input value;
(6) determine numerical value undetermined, obtain the final expression formula of function;
(7) call function, coordinate plane is made corresponding function curve diagram.
2. the quick graphing method of a kind of coordinate-Parameter transfer according to claim 1, is characterized in that, the concrete mode of described step (2) is: set up double-precision variable X, Y, by some P(X corresponding for mouse
0, Y
0) dynamic coordinate value X
0, Y
0give double-precision variable X, Y, with the dynamic coordinate value X by mouse
0, Y
0coordinate plane shows.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510302012.4A CN104866684A (en) | 2015-06-05 | 2015-06-05 | Coordinate-parameter transmission rapid drawing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510302012.4A CN104866684A (en) | 2015-06-05 | 2015-06-05 | Coordinate-parameter transmission rapid drawing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104866684A true CN104866684A (en) | 2015-08-26 |
Family
ID=53912509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510302012.4A Pending CN104866684A (en) | 2015-06-05 | 2015-06-05 | Coordinate-parameter transmission rapid drawing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104866684A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1797409A (en) * | 2004-12-30 | 2006-07-05 | 李强 | Method for automatic obtaining engineering parameter values of sampling points in graph by using computer |
CN102841781A (en) * | 2011-06-23 | 2012-12-26 | 汉王科技股份有限公司 | Method and system for constructing function curves based on electronic whiteboard |
-
2015
- 2015-06-05 CN CN201510302012.4A patent/CN104866684A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1797409A (en) * | 2004-12-30 | 2006-07-05 | 李强 | Method for automatic obtaining engineering parameter values of sampling points in graph by using computer |
CN102841781A (en) * | 2011-06-23 | 2012-12-26 | 汉王科技股份有限公司 | Method and system for constructing function curves based on electronic whiteboard |
Non-Patent Citations (3)
Title |
---|
JJ竹叶蝶: ""《几何画板》:绘制带参数的幂函数图像"", 《HTTPS://WENKU.BAIDU.COM/VIEW/2C970C60783E0912A2162AC7.HTML》 * |
姚晓通: ""含参数函数图像的制作"", 《网络科技时代(信息技术教育)》 * |
王波: ""用几何画板软件的参数功能构造动态函数"", 《信息技术》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104408179B (en) | Data processing method and device in tables of data | |
CN110285754B (en) | Workpiece positioning method, device and system based on laser scanning and storage medium | |
EP3475843A1 (en) | Aggregate-query database system and processing | |
CN107529644B (en) | Linear approximation method for static voltage stability domain boundary of power system | |
CN109145003B (en) | Method and device for constructing knowledge graph | |
CN105005029A (en) | Multi-mode radar signal sorting method based on data field hierarchical clustering | |
CN111381209A (en) | Distance measurement positioning method and device | |
CN103309801A (en) | Method and device for determining regression testing range | |
Wang et al. | A class of nonlocal impulsive problems for integrodifferential equations in Banach spaces. | |
CN103684885A (en) | Method and device for determining web server accessing abnormities | |
CN106503245B (en) | A kind of selection method and device supporting point set | |
KR20190020801A (en) | Distributed Computing Framework and Distributed Computing Method | |
Ma et al. | Applications of a kind of novel Z-soft fuzzy rough ideals to hemirings | |
CN104866684A (en) | Coordinate-parameter transmission rapid drawing method | |
CN109614073A (en) | Four-quadrant arctan function hardware circuit implementation | |
CN104252515B (en) | A kind of data creation method and device | |
CN108683599B (en) | Preprocessing-based method and system for determining maximum flow of flow network | |
CN108052754B (en) | Analysis method of mechanical response of tunnel lining and terminal equipment | |
CN105654106A (en) | Decision tree generation method and system thereof | |
Tang et al. | Variational discretization for parabolic optimal control problems with control constraints | |
CN112799533B (en) | Touch point determination method and touch equipment | |
CN109460533B (en) | Method and device for improving GEMM calculation performance | |
Chen | Numerical analysis for Cauchy principal value integrals of oscillatory kind | |
CN114138330A (en) | Code clone detection optimization method and device based on knowledge graph and electronic equipment | |
KR20100003162A (en) | Zigbee location recognition method based on low power |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150826 |
|
RJ01 | Rejection of invention patent application after publication |