Y=f(X,Y1,Y2,...) command

Q&A for C, C++, and/or C# developers using DPlot
Post Reply
Pabjr
Posts: 5
Joined: Thu Jan 19, 2006 10:28 pm

Y=f(X,Y1,Y2,...) command

Post by Pabjr »

I was wondering if it is possible to execute the Generate Y=f(X,Y1,Y2,...) command from inside a program.

Also, I was curious if it was possible to request the value of a point from within a program.

Thanks,

Paul
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

I was wondering if it is possible to execute the Generate Y=f(X,Y1,Y2,...) command from inside a program.
Only a subset of it: AddCurves, SubtractCurves, DivideCurves, MultiplyCurves. Off the top of my head I can't think of a reason not to have full support for that command; I'll add this to my to-do list.
Also, I was curious if it was possible to request the value of a point from within a program.
No, sorry. You can retrieve all points in a curve with DPlot_Request(DocNum,'CurveXX',value,&maxcount), where XX=01 through 99. X and Y values will be tab-separated, every point followed by <CR><LF>.

I'll add another command to get an interpolated Y value for a given X.
Visualize Your Data
support@dplot.com
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

If you missed it both of these are included in the last update (2.0.1.2)
Visualize Your Data
support@dplot.com
Post Reply