CN108037877A - Processing method, device, equipment and the storage medium of function curve - Google Patents
Processing method, device, equipment and the storage medium of function curve Download PDFInfo
- Publication number
- CN108037877A CN108037877A CN201711346341.4A CN201711346341A CN108037877A CN 108037877 A CN108037877 A CN 108037877A CN 201711346341 A CN201711346341 A CN 201711346341A CN 108037877 A CN108037877 A CN 108037877A
- Authority
- CN
- China
- Prior art keywords
- point
- curve
- expression formula
- object function
- function curve
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/17—Function evaluation by approximation methods, e.g. inter- or extrapolation, smoothing, least mean square method
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
Abstract
The embodiment of the invention discloses a kind of processing method of function curve, device, equipment and storage medium, this method includes:At least one point on function curve for determining currently to show in preset coordinate system is as dragging point;Moved according to the drag operation control point that pulls in the preset coordinate system, keep the position of at least one reference point on the function curve constant;According to the curve type of the function curve, the coordinate of the reference point and the real-time coordinates pulled in point moving process, determine and show object function expression formula and the corresponding object function curve of the object function expression formula after renewal.Change the shape of function curve by independently pulling the point of the dragging on function curve, realize the real-time update to function curve and display.
Description
Technical field
The present invention relates to the image processing field in educational information technology, more particularly to a kind of processing side of function curve
Method, device, equipment and storage medium.
Background technology
In drafting function curve on electronic whiteboard, it usually needs according to character string parsing input by user into mathematical expression
Formula, then draws out functional image according to mathematic(al) representation, and describes the intersection point between functional image and reference axis.The prior art
After function curve is completed, it can not be continued according to the requirement of setting to it into edlin, the curve completed can be grasped
The property made is low.
The content of the invention
The embodiment of the present invention provides a kind of processing method of function curve, device, equipment and storage medium, by independently dragging
The point of the dragging on function curve is dragged to change the shape of function curve, realizes the real-time update to function curve and display.
In a first aspect, an embodiment of the present invention provides a kind of processing method of function curve, this method includes:
At least one point on function curve for determining currently to show in preset coordinate system is as dragging point;
Moved according to the drag operation control point that pulls in the preset coordinate system, keep the function curve up to
The position of a few reference point is constant;
According to the curve type of the function curve, the coordinate of the reference point and the reality pulled in point moving process
When coordinate, determine and show that the object function expression formula after renewal and the corresponding object function of the object function expression formula are bent
Line.
Second aspect, the embodiment of the present invention additionally provide a kind of processing unit of function curve, which includes:
A point determining module is pulled, is made at least one point on the function curve that determines currently to show in preset coordinate system
To pull point;
Mobile module, for being moved according to the drag operation control point that pulls in the preset coordinate system, keeps institute
The position for stating at least one reference point on function curve is constant;
Display module, for the curve type according to the function curve, the coordinate of the reference point and dragging point
Real-time coordinates in moving process, determine and show that the object function expression formula after renewal and the object function expression formula correspond to
Object function curve.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, including memory, processor and are stored in
On memory and the computer program that can run on a processor, the processor are realized when performing described program as the present invention is real
Apply the processing method of any function curve in example.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer
Program, realizes the processing method of the function curve as described in any in the embodiment of the present invention when which is executed by processor.
In the embodiment of the present invention, it is first determined at least one point on the function curve currently shown in preset coordinate system is made
To pull point, then moved according to the drag operation control point that pulls in the preset coordinate system, and keep the function
The position of at least one reference point is constant on curve, according to the curve type of the function curve, the reference point coordinate and
The real-time coordinates pulled in point moving process, determine and show the object function expression formula after renewal and the object function
The corresponding object function curve of expression formula.Change the shape of function curve by independently pulling the point of the dragging on function curve,
Realize the real-time update to function curve and display.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the processing method of function curve in the embodiment of the present invention one;
Fig. 2 a are a kind of flow charts of the processing method of function curve in the embodiment of the present invention two;
Fig. 2 b are that a kind of quadratic function curve being applicable in the embodiment of the present invention two pulls front and rear schematic diagram;
Fig. 2 c are that a kind of the tracks of line voltage being applicable in the embodiment of the present invention two pulls front and rear schematic diagram;
Fig. 3 is a kind of structure diagram of the processing unit of function curve in the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram of computer equipment in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
It illustrate only part related to the present invention rather than entire infrastructure in description, attached drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the processing method for function curve that the embodiment of the present invention one provides, and the present embodiment can fit
Situation for the shape for needing to change function curve, this method can be by the processing of function curve provided in an embodiment of the present invention
Device performs, which can be realized by the way of software and/or hardware.With reference to figure 1, this method can specifically include as follows
Step:
At least one point on S110, the function curve for determining currently to show in preset coordinate system is as dragging point.
Optionally, the coordinate system for the function curve that preset coordinate system currently shows for adaptation, wherein, the letter of preset coordinate system
Breath can include:Correspondence between the unit length of coordinate system, function curve and coordinate system and according to current display page
And the value of coordinate system that coordinate system unit length determines.
Specifically, function curve is made of several points, in a specific example, determine in preset coordinate system
At least one point on the function curve currently shown, which is used as, pulls point, wherein, it can be any on function curve to pull point
Point, specific selection standard can be determined according to the demand of user.For example, worked as application scenarios for teacher's upper class hour, it is bent with function
Exemplified by line is quadratic function curve, if teacher wishes to pull point by dragging and change parabolical shape, deepen to learn with this
The raw understanding to influences of the secondary term coefficient a to parabolic shape in quadratic function curve, then in this specific example, drag
The selection dragged a little can be determined according to the demand of teacher.It is in correspondence to pull point and drag operation, it is determined that after pulling point, root
Drag operation is carried out according to the dragging point;Or after detecting drag operation, determined to pull point according to the drag operation, specifically,
Can be by the coordinate of the coordinate as dragging of dragging identifier during detection dragging come the real time position of definite dragging.
Wherein, the number pulled a little can be set according to the demand of user.If function curve is straight line, can select
A point is taken as dragging point;If function curve is parabola, and it is when pulling point, to be then accomplished that throwing to choose vertex of a parabola
The translation of thing line, parabolical shape do not change;If function curve is inverse proportion function curve, one can be chosen
Point is as dragging point.
S120, put according to the drag operation control dragging and moved in the preset coordinate system, keeps the function bent
The position of at least one reference point is constant on line.
Specifically, continuing with drag operation, pull point and moved in preset coordinate system, kept on function curve at least
The position of one reference point is constant, wherein, the number of reference point can be determined according to the type of specific function curve.If letter
The type of number curve is straight line, then the number of reference point can be one;If the type of function curve is parabola, reference point
Number can be one.Wherein, keep the position of at least one reference point on function curve is constant to refer to:The reference point
Coordinate is constant, namely the object function curve after renewal passes through the reference point all the time.The mode for determining reference point can examined
When measuring drag operation, there is provided a reference point input frame, user manually input the coordinate of reference point, or automatic prompting can
The reference point coordinates of choosing is for selection by the user.
S130, according to the curve type of the function curve, the coordinate of the reference point and it is described pull point a moving process
In real-time coordinates, determine and show renewal after object function expression formula and the corresponding target letter of the object function expression formula
Number curve.
Specifically, the abscissa and ordinate for pulling point in moving process are obtained in real time, then according to function curve
The abscissa and ordinate of curve type, the coordinate of reference point and dragging point in moving process, to determine the target after renewal
Function expression and the corresponding curve of object function expression formula, and the object function expression formula after renewal and object function are expressed
The corresponding curve of formula corresponds to preset coordinate system and is shown in current display page.
In a specific example, if the scene of current application is being taught for teacher in teaching using electronic whiteboard,
The real-time coordinates then pulled in point moving process can be realized by function module built-in in electronic whiteboard touch screen.
In the embodiment of the present invention, it is first determined at least one point on the function curve currently shown in preset coordinate system is made
To pull point, then moved according to the drag operation control point that pulls in the preset coordinate system, and keep the function
The position of at least one reference point is constant on curve, according to the curve type of the function curve, the reference point coordinate and
The real-time coordinates pulled in point moving process, determine and show the object function expression formula after renewal and the object function
The corresponding object function curve of expression formula.Change the shape of function curve by independently pulling the point of the dragging on function curve,
Realize the real-time update to function curve and display.
Optionally, it is described to be moved according to the drag operation control point that pulls in the preset coordinate system, including:
Moved according to the drag operation control point that pulls according to the drag path of setting in the preset coordinate system.
Specifically, the drag path set include according to standard function curve formed to pull starting point dragging as starting point
Drag path;With pull point for starting point into preset coordinate system X-axis positive direction, X-axis negative direction, Y-axis positive direction and Y-axis losing side
To mobile path;Further include and moved with pulling point for starting point into preset coordinate system with each reference axis direction in a certain angle
Dynamic path.
In a specific example, the path of setting can be stored in local storage or high in the clouds in the form of a list
In memory, during specific pull, the path of setting is included in phantom in preset coordinate system to prompt to use
Family is pulled with which kind of path, for example, the path of setting has 5 kinds, then during dragging, 5 kinds of drag paths are respectively with void
The form of line is shown, if user have selected path A, the dotted line in remaining 4 kinds of path shows automatic disappearance.For dragging for user
Drag operation and provide multiple choices, facilitate user.
Based on the above technical solutions, it is described to determine and show the object function expression formula after renewal and the target
The corresponding object function curve of function expression, including:Put when the dragging and exceed preset duration in the first position residence time,
Then determine and show the object function expression formula and the corresponding object function curve of the object function expression formula at current time.
Specifically, when detecting that dragging point exceedes preset duration in the first position residence time, wherein, preset duration can be with
It is 30 milliseconds, it is determined that and show that the object function expression formula at current time and the corresponding object function of object function expression formula are bent
Line.In this specific example, if being detected during whole pull, the position that the residence time exceedes preset duration is 3
Place, then determine the object function expression formula of the position at 3 and the corresponding object function curve of object function expression formula simultaneously respectively
Display.Realize and contrasted multiple object function expression formulas of diverse location, and multiple target letters by diverse location
The corresponding object function curve of number expression formula is contrasted so that user is more apparent from function curve during pulling
Influence of the parameter to function curve shape.
Embodiment two
Fig. 2 a are a kind of flow chart of the processing method of function curve provided by Embodiment 2 of the present invention, and the present embodiment is upper
On the basis of stating embodiment, to " being moved according to the curve type of the function curve, the coordinate of the reference point and the point that pulls
Real-time coordinates during dynamic, determine and show that the object function expression formula after renewal and the object function expression formula are corresponding
Object function curve " is optimized.With reference to figure 2a, this method specifically may include steps of:
At least one point on S210, the function curve for determining currently to show in preset coordinate system is as dragging point.
S220, put according to the drag operation control dragging and moved in the preset coordinate system, keeps the function bent
The position of at least one reference point is constant on line.
S230, according to the curve type of the function curve, the coordinate of the reference point and it is described pull point a moving process
In real-time coordinates determine and show renewal after object function expression formula.
Specifically, obtain the curve type of current function curve, in a specific example, the curve of function curve
Type includes straight line, quadratic function curve, trigonometric function curve and inverse proportion function curve etc..According to different type function,
Diverse location or reference point of different nature can be chosen, wherein, the property of reference point includes vertex, the border of curve of curve
Any other point in addition to vertex and boundary point on point and curve.Optionally, the boundary point of curve can be function
Point on domain border on corresponding curve.Existed according to the curve type of function curve, the coordinate of reference point and dragging point
Real-time coordinates during dragging determine and show the object function expression formula after renewal.
S240, gather point of the object function expression formula correspondence in the preset coordinate system, by the coordinate value of the point
Set as draw point set.
Specifically, after definite object function expression formula, several values are determined to the independent variable in object function expression formula,
Each independent variable corresponds to a dependent variable, and the combination of every group of independent variable and dependent variable is the abscissa and ordinate of a point.
Optionally, object function expression formula correspondence is gathered in the point of preset coordinate system, the horizontal stroke of the setting according to the abscissa interval of setting
Coordinate interval can be 1/10th of abscissa least unit.Using the set of the coordinate value all put collected as drafting
Point set, in a specific example, 50 collection points can be included by drawing point set.
In a specific example, can by cyclotom collection point, the specific implementation process is as follows:Set function sampling site
Minimum interval, largest interval and threshold value.From origin, respectively along X-axis positive direction and the line segment on negative direction calculating border
For initial matching line segment, several Along ents of initial matching line segment, more each Along ent are taken, while respective function point is in Y
Whether the distance on direction is less than threshold value, if, then it is assumed that the initial matching line segment can be with matched curve, otherwise, with each etc.
The respective function point of branch, builds multi-line section matched curve, and each line segment matched curve repeats the above steps, and completion passes through cyclotomy
Collection of the method to point.Adaptive sampling site interval is realized, ensures to reduce inessential sampling site on the premise of Function feature is realized, carries
Rise efficiency.
S250, determine according to the drafting point set and show the corresponding object function curve of the object function expression formula.
Specifically, after drafting point set is got, matched curve is built using the point set, in a specific example,
Curve matching can be realized by least square method (also known as least squares method).Least square method is by minimizing the flat of error
Side and the optimal function matching for finding data, unknown data can be easily tried to achieve using least square method, and cause these
The quadratic sum of error is minimum between the data and real data tried to achieve, can be used for curve matching.According to the drafting point set
Determine and show the corresponding object function curve of object function expression formula including drawing point set.
In the embodiment of the present invention, first according to the curve type of the function curve, the coordinate of the reference point and described
Pull the real-time coordinates in point moving process to determine and show the object function expression formula after renewal, then gather the target letter
Point of the expression formula correspondence in the preset coordinate system is counted, and using the set of the coordinate value of the point as point set is drawn, according to institute
Drafting point set is stated to determine and show the corresponding object function curve of the object function expression formula.According to the object function collected
Expression formula determines simultaneously display target function curve in the point of corresponding preset coordinate system, realizes to the real-time of object function curve
Update and show, and then user can analyze drag operation according to the object function expression formula after renewal and object function curve
Influence to object function expression formula and object function curve.
Based on the above technical solutions, curve type, the seat of the reference point according to the function curve
Mark and the real-time coordinates pulled in point moving process determine and show that the object function expression formula after renewal can specifically lead to
Cross in the following manner realization:Real-time coordinates in the coordinate of the reference point and the dragging point moving process determine the mesh
The function expression parameter of offer of tender number curve;The function expression parameter is updated to function corresponding with the curve type
Expression formula come determine and show renewal after object function expression formula.
Wherein, the letter of object function curve is determined according to the coordinate of reference point and the real-time coordinates pulled in point moving process
Number expression argument, type function is different, and the number of the parameter of expression formula may be different.In a specific example, with two
Secondary function curve y=ax2Exemplified by+bx+c, it is assumed that when dragging pulls point, vertex position is constant, that is, by vertex as reference
Point, it is assumed that apex coordinate is (x0,y0), with reference to apex coordinate formula y=(4ac-b2)/4a, then can obtain y0=(4ac-b2)/
4a, and y0=ax0 2+bx0+c.According to above-mentioned formula and coordinate of the point at current time is pulled, quadratic function can be calculated
New parameter, uses a1、b1And c1Represent, by new a1、b1And c1Update in current display page, at the same according to renewal after
a1、b1And c1Calculate new object function expression formula and draw object function curve.Such as during teacher teaches, allow student
More intuitive understanding is to the relation between function curve and function expression parameter.
In a specific example, Fig. 2 b show that a kind of quadratic function curve pulls front and rear schematic diagram, and 260 be to drag
Former quadratic function curve before dragging, 261 be the target quadratic function curve after dragging, pulls point and is moved to B points by A points, meanwhile,
Former quadratic function expression formula and target quadratic function expression formula is shown in current display page, and the expression formula of corresponding display is y
=0.24x2+ 0.96x+0.96 and y=0.04x2+0.16x+0.16。
Based on the above technical solutions, the drawing process of function curve is illustrated by a specific example, it is first
Choosing needs the expression formula of character string being converted into expression formula and the drafting that can mathematically calculate, and a point renewal function is pulled in dragging
, it is necessary to which parameter when uploading character string again in notifying program parameter, such as linear function y=ax+b is a during curve
With the value of b, according to the linear function expression formula, then computer program can directly construct a mathematic(al) representation and be calculated.
Then the collection and the drafting of curve put, two adjacent points in the point collected are connected, and form a very little
Line segment, a function curve may finally be constructed by then putting all the points of concentration, which is drawn.
Based on the above technical solutions, if the function curve is periodic function, it is determined that including the dragging point
The function curve in the curved section of a cycle be the first curved section;Determine the abscissa and described first for pulling point
The distance between abscissa of starting point of curved section is the first distance, determines the abscissa and the described first song of the dragging starting point
The distance between abscissa of terminal of line segment is second distance, calculates first distance and the ratio of the second distance;
Object function function curve after renewal is determined according to the curve type and the ratio.It is specifically, true according to the ratio
Relative position in the fixed object function curve for pulling point after the renewal, wherein, the relative position is at one
The position of function cycle;The target week of the object function curve is determined according to the cycle of the reference point and the function curve
Phase;According to the target period and the location determination object function curve for pulling point in the object function curve.
Specifically, Fig. 2 c show that a kind of the tracks of line voltage pulls front and rear schematic diagram, periodic function is with SIN function y
Exemplified by=sin (2 π x), cycle T=1 of the SIN function, then 270 be the first distance, is represented with L1, and 271 be second distance, is used
L2 is represented, then calculates the ratio L of L1 and L2, is determined to pull the relative position D in the object functions of point C in the updated according to L,
280 for pull before former the tracks of line voltage, 281 for pull after target the tracks of line voltage, the week of former the tracks of line voltage
Phase is 1, and the cycle of target the tracks of line voltage is not shown in figure 2 c.It is it should be noted that default in the embodiment of the present invention
The unit length of coordinate system is not shown in Fig. 2 b and Fig. 2 c.
Embodiment three
Fig. 3 is a kind of structure diagram of the processing unit for function curve that the embodiment of the present invention three provides, which fits
A kind of processing method for the function curve being supplied to for performing the embodiment of the present invention.As shown in figure 3, the device can specifically wrap
Include:
A point determining module 310 is pulled, at least one on the function curve that determines currently to show in preset coordinate system
Point is as dragging point;
Mobile module 320, for being moved according to the drag operation control point that pulls in the preset coordinate system, keeps
The position of at least one reference point is constant on the function curve;
Display module 330, for the curve type according to the function curve, the coordinate of the reference point and the dragging
Real-time coordinates in point moving process, determine and show the object function expression formula after renewal and the object function expression formula pair
The object function curve answered.
Further, display module 330 includes:
Expression formula determination sub-module, for the curve type according to the function curve, the coordinate of the reference point and institute
The real-time coordinates pulled in point moving process are stated to determine and show the object function expression formula after renewal;
Submodule is gathered, for gathering point of the object function expression formula correspondence in the preset coordinate system, by described in
The set of the coordinate value of point is as drafting point set;
Curve determination sub-module, for being determined according to the drafting point set and showing that the object function expression formula is corresponding
Object function curve.
Further, the expression formula determination sub-module is specifically used for:
Real-time coordinates in the coordinate of the reference point and the dragging point moving process determine the object function
The function expression parameter of curve;
The function expression parameter is updated to function expression corresponding with the curve type to determine and show
Object function expression formula after renewal.
Further, mobile module 320 is specifically used for:
Moved according to the drag operation control point that pulls according to the drag path of setting in the preset coordinate system
It is dynamic.
Further, display module 330 is specifically used for:
When the point that pulls exceedes preset duration in the first position residence time, it is determined that and show the target at current time
Function expression and the corresponding object function curve of the object function expression formula.
The processing unit of function curve provided in an embodiment of the present invention can perform the function that any embodiment of the present invention provides
The processing method of curve, possesses the corresponding function module of execution method and beneficial effect.
Example IV
Fig. 4 is a kind of structure diagram for computer equipment that the embodiment of the present invention four provides.Fig. 4 is shown suitable for being used for
Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 4 is shown is only one
Example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in figure 4, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to:One or more processor or processing unit 16, system storage 28, connects different system component
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift
For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile medium, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not
Movably, non-volatile magnetic media (Fig. 4 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 4, can with
The disc driver being used for moving non-volatile magnetic disk (such as " floppy disk ") read-write is provided, and to removable non-volatile
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
Module and routine data, may include the realization of network environment in each or certain combination in these examples.Program mould
Block 42 usually performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making
Obtain any equipment that the computer equipment 12 can communicate with one or more of the other computing device (such as network interface card, modulatedemodulate
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As shown in the figure, network adapter 20 is led to by bus 18 and other modules of computer equipment 12
Letter.It should be understood that although not shown in Fig. 4, computer equipment 12 can be combined and use other hardware and/or software module, bag
Include but be not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive
Device and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, thus perform various functions application and
Data processing, such as realize the processing method for the function curve that the embodiment of the present invention is provided:
That is, the processing unit is realized when performing described program:Determine the function song currently shown in preset coordinate system
At least one point on line is as dragging point;Moved according to the drag operation control point that pulls in the preset coordinate system,
Keep the position of at least one reference point on the function curve constant;According to the curve type of the function curve, the ginseng
The coordinate of examination point and it is described pull point moving process in real-time coordinates, determine and show renewal after object function expression formula and
The corresponding object function curve of the object function expression formula.
Embodiment five
The embodiment of the present invention five provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey
The processing method of the function curve provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, the program is realized when being executed by processor:Determine on the function curve that is currently shown in preset coordinate system
At least one point is as dragging point;Moved according to the drag operation control point that pulls in the preset coordinate system, keep institute
The position for stating at least one reference point on function curve is constant;According to the curve type of the function curve, the reference point
Coordinate and the real-time coordinates pulled in point moving process, determine and show the object function expression formula after renewal and the mesh
The corresponding object function curve of scalar functions expression formula.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated
Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate
The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more conducting wires, just
Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey
The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium beyond computer-readable recording medium, which can send, propagate or
Transmission be used for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion
Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer.
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service
Pass through Internet connection for business).
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. processing method of function curve, it is characterised in that including:At least one point on function curve for determining currently to show in preset coordinate system is as dragging point;Moved, kept at least one on the function curve in the preset coordinate system according to the drag operation control point that pulls The position of a reference point is constant;According to the curve type of the function curve, the coordinate of the reference point and the real-time seat pulled in point moving process Mark, determines and shows object function expression formula and the corresponding object function curve of the object function expression formula after renewal.
- It is 2. according to the method described in claim 1, it is characterized in that, the curve type according to the function curve, described The coordinate of reference point and the real-time coordinates pulled in point moving process, determine and show the object function expression formula after renewal Object function curve corresponding with the object function expression formula, including:According to the curve type of the function curve, the coordinate of the reference point and the real-time seat pulled in point moving process Mark determines and shows the object function expression formula after renewal;Gather point of the object function expression formula correspondence in the preset coordinate system, using the set of the coordinate value of the point as Draw point set;Determined according to the drafting point set and show the corresponding object function curve of the object function expression formula.
- It is 3. according to the method described in claim 2, it is characterized in that, the curve type according to the function curve, described The coordinate of reference point and it is described pull point moving process in real-time coordinates determine and show renewal after object function expression formula, Including:Real-time coordinates in the coordinate of the reference point and the dragging point moving process determine the object function curve Function expression parameter;The function expression parameter is updated to function expression corresponding with the curve type to determine and show renewal Object function expression formula afterwards.
- 4. according to the method described in claim 1, it is characterized in that, described exist according to the drag operation control point that pulls Moved in the preset coordinate system, including:Moved according to the drag operation control point that pulls according to the drag path of setting in the preset coordinate system.
- 5. according to the method described in claim 1, it is characterized in that, described determine and show the object function expression formula after renewal Object function curve corresponding with the object function expression formula, including:When the point that pulls exceedes preset duration in the first position residence time, it is determined that and show the object function at current time Expression formula and the corresponding object function curve of the object function expression formula.
- A kind of 6. processing unit of function curve, it is characterised in that including:A point determining module is pulled, at least one point on the function curve that determines currently to show in preset coordinate system as dragging Drag a little;Mobile module, for being moved according to the drag operation control point that pulls in the preset coordinate system, keeps the letter The position of at least one reference point is constant on number curve;Display module, is moved for the curve type according to the function curve, the coordinate of the reference point and the point that pulls During real-time coordinates, determine and show renewal after object function expression formula and the corresponding mesh of the object function expression formula Offer of tender number curve.
- 7. device according to claim 6, it is characterised in that the display module includes:Expression formula determination sub-module, for the curve type according to the function curve, the reference point coordinate and described drag The real-time coordinates in a moving process are dragged to determine and show the object function expression formula after renewal;Submodule is gathered, for gathering point of the object function expression formula correspondence in the preset coordinate system, by the point The set of coordinate value is as drafting point set;Curve determination sub-module, for being determined according to the drafting point set and showing the corresponding target of the object function expression formula Function curve.
- 8. device according to claim 7, it is characterised in that the expression formula determination sub-module is specifically used for:Real-time coordinates in the coordinate of the reference point and the dragging point moving process determine the object function curve Function expression parameter;The function expression parameter is updated to function expression corresponding with the curve type to determine and show renewal Object function expression formula afterwards.
- 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the processor realizes the side as described in any in claim 1-5 when performing described program Method.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711346341.4A CN108037877A (en) | 2017-12-15 | 2017-12-15 | Processing method, device, equipment and the storage medium of function curve |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711346341.4A CN108037877A (en) | 2017-12-15 | 2017-12-15 | Processing method, device, equipment and the storage medium of function curve |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108037877A true CN108037877A (en) | 2018-05-15 |
Family
ID=62103162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711346341.4A Pending CN108037877A (en) | 2017-12-15 | 2017-12-15 | Processing method, device, equipment and the storage medium of function curve |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108037877A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108847189A (en) * | 2018-06-25 | 2018-11-20 | Oppo广东移动通信有限公司 | Backlight setting method, electronic device and computer readable storage medium |
CN109388773A (en) * | 2018-09-14 | 2019-02-26 | 北京金双狐油气技术有限公司 | A kind of figure coordinate operation method and device |
CN110427140A (en) * | 2019-07-03 | 2019-11-08 | 平安科技(深圳)有限公司 | Lines modification method, device, computer equipment and storage medium |
CN111145890A (en) * | 2019-12-30 | 2020-05-12 | 深圳开立生物医疗科技股份有限公司 | Tracing curve editing method and device, ultrasonic diagnostic equipment and readable storage medium |
CN112861308A (en) * | 2020-12-31 | 2021-05-28 | 中国人民解放军63791部队 | Trajectory curve translation judgment method based on time sequence |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1139501A (en) * | 1997-04-04 | 1999-02-12 | Microsoft Corp | Parameter function curve editing method and system |
CN1735873A (en) * | 2002-09-30 | 2006-02-15 | 卡西欧计算机株式会社 | Graphic display control apparatus and program |
CN102841781A (en) * | 2011-06-23 | 2012-12-26 | 汉王科技股份有限公司 | Method and system for constructing function curves based on electronic whiteboard |
CN103150456A (en) * | 2013-03-29 | 2013-06-12 | 北京经纬恒润科技有限公司 | Method and system for manufacturing graphical user interface (GUI) under matrix laboratory (MATLAB) environment |
US20140098142A1 (en) * | 2012-10-09 | 2014-04-10 | School Yourself, Inc. | System and method for generation and manipulation of a curve in a dynamic graph based on user input |
-
2017
- 2017-12-15 CN CN201711346341.4A patent/CN108037877A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1139501A (en) * | 1997-04-04 | 1999-02-12 | Microsoft Corp | Parameter function curve editing method and system |
CN1735873A (en) * | 2002-09-30 | 2006-02-15 | 卡西欧计算机株式会社 | Graphic display control apparatus and program |
CN102841781A (en) * | 2011-06-23 | 2012-12-26 | 汉王科技股份有限公司 | Method and system for constructing function curves based on electronic whiteboard |
US20140098142A1 (en) * | 2012-10-09 | 2014-04-10 | School Yourself, Inc. | System and method for generation and manipulation of a curve in a dynamic graph based on user input |
CN103150456A (en) * | 2013-03-29 | 2013-06-12 | 北京经纬恒润科技有限公司 | Method and system for manufacturing graphical user interface (GUI) under matrix laboratory (MATLAB) environment |
Non-Patent Citations (1)
Title |
---|
高鹤: "基于知识分类的中学数学认知工具设计研究", 《中国优秀硕士学位论文全文数据库 社会科学II辑》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108847189A (en) * | 2018-06-25 | 2018-11-20 | Oppo广东移动通信有限公司 | Backlight setting method, electronic device and computer readable storage medium |
CN109388773A (en) * | 2018-09-14 | 2019-02-26 | 北京金双狐油气技术有限公司 | A kind of figure coordinate operation method and device |
CN110427140A (en) * | 2019-07-03 | 2019-11-08 | 平安科技(深圳)有限公司 | Lines modification method, device, computer equipment and storage medium |
CN110427140B (en) * | 2019-07-03 | 2023-04-18 | 平安科技(深圳)有限公司 | Line correction method, line correction device, computer equipment and storage medium |
CN111145890A (en) * | 2019-12-30 | 2020-05-12 | 深圳开立生物医疗科技股份有限公司 | Tracing curve editing method and device, ultrasonic diagnostic equipment and readable storage medium |
CN111145890B (en) * | 2019-12-30 | 2023-10-24 | 深圳开立生物医疗科技股份有限公司 | Tracing curve editing method, tracing curve editing device, ultrasonic diagnostic equipment and readable storage medium |
CN112861308A (en) * | 2020-12-31 | 2021-05-28 | 中国人民解放军63791部队 | Trajectory curve translation judgment method based on time sequence |
CN112861308B (en) * | 2020-12-31 | 2023-03-24 | 中国人民解放军63791部队 | Trajectory curve translation judgment method based on time sequence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108037877A (en) | Processing method, device, equipment and the storage medium of function curve | |
US20190273660A1 (en) | Network topology self-adapting data visualization method, device, apparatus, and storage medium | |
CN109300179B (en) | Animation production method, device, terminal and medium | |
CN107545057A (en) | Show method, apparatus, equipment and the storage medium of mind map | |
CN109448137B (en) | Interaction method, interaction device, electronic equipment and storage medium | |
CN107281753B (en) | Scene sound effect reverberation control method and device, storage medium and electronic equipment | |
CN107506300A (en) | A kind of ui testing method, apparatus, server and storage medium | |
JP2022100248A (en) | Text error correction method, apparatus therefor, electronic device therefor, and readable storage medium | |
CN107608619A (en) | Person's handwriting curve generation method, device, equipment and storage medium for touch screen | |
CN106463119A (en) | Modification of visual content to facilitate improved speech recognition | |
CN112287698B (en) | Chapter translation method and device, electronic equipment and storage medium | |
JP7435951B2 (en) | Floating point number generation method, apparatus, electronic device, storage medium and computer program for integrated circuit chip verification | |
CN115131476A (en) | Bone binding migration method, device, equipment and storage medium of virtual object | |
EP4123594A2 (en) | Object detection method and apparatus, computer-readable storage medium, and computer program product | |
CN108008876A (en) | A kind of display methods of suspension windows, device, equipment and storage medium | |
JP2022166215A (en) | Method for training text positioning model and method for text positioning | |
CN110850982A (en) | AR-based human-computer interaction learning method, system, device and storage medium | |
CN110782504A (en) | Curve determination method, device, computer readable storage medium and equipment | |
CN107391015A (en) | A kind of control method of Intelligent flat, device, equipment and storage medium | |
CN109697083A (en) | Fixed point accelerated method, device, electronic equipment and the storage medium of data | |
CN110069195B (en) | Image dragging deformation method and device | |
US11521353B2 (en) | Automated processing for determination of a volume of an object in a digital environment | |
US11205287B2 (en) | Annotation of digital images for machine learning | |
TW202223920A (en) | Method and device for determining stem cell density, computer device and storage medium | |
CN110471961A (en) | A kind of product demand acquisition methods, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180515 |
|
RJ01 | Rejection of invention patent application after publication |