auto/manual extent control

Q&A for C, C++, and/or C# developers using DPlot

Moderator: DPlotAdmin

Post Reply
Mad2Max
Posts: 16
Joined: Wed Jan 03, 2007 9:34 am

auto/manual extent control

Post by Mad2Max »

Hi,
I'm using dPlot Jr to plot some data and it works really fine!
I would like to have the possibility to keep automatic extent on y-axis and specify the extent on the x-axis but it looks to me not possible ...
Is it really not possible?
Thanks and regards,
Max
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

[ManualScale(xlo,,xhi,,)] will set the X extents and leave the Y extents at whatever they currently are. But I think that's probably not what you're asking for: if you want DPlot to figure out on its own what the Y extents should be while setting the X extents yourself - there's not a way to do that.
Visualize Your Data
support@dplot.com
Mad2Max
Posts: 16
Joined: Wed Jan 03, 2007 9:34 am

Post by Mad2Max »

Well, I've made some test ... and I got the desired effect by letting dplot plotting and then issuing a new DPlot_Command with the [ManualScale(xlo,,xhi,,)].
This makes dplot choosing automatically y axis and me manually the x axis.
The only problem is that now closing dplot the graph results modified and dplot ask me for saving.
Any tip to avoid this?
Thanks again!
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

[GeneralOptions(1,0)]
Visualize Your Data
support@dplot.com
Post Reply