View previous topic :: View next topic |
Author |
Message |
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Wed Aug 17, 2005 9:37 pm Post subject: Troubles specifying extents for logx/lineary graph |
|
|
Just wanted to thank you again for the copious help and support you've already given me. Unfortunately, I still have some questions. I am feeding dplot some manualscale info for a logarithmic x/linear y graph, but dplot ignores the scaling info. I can go in after the fact and specify the extents manually, but it isn't working programatically. Any suggestions?
Thanks again,
Arthur |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Wed Aug 17, 2005 10:05 pm Post subject: |
|
|
Hi Arthur,
Thanks for your comments.
I tried an example using logarithmic x, linear y just now and it worked fine. Couple of questions:
After you create your plot using [ManualScale(...)], select Options>Extents/Tick Marks/Size and see if "Specify extents" is checked. If it is not, then yes, DPlot really did ignore the command, probably indicative of an error in the command. If it is checked, how are the shown extents different than those you specified?
And please show me the exact sequence you're using in your program with the ManualScale command. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Thu Aug 18, 2005 7:40 pm Post subject: |
|
|
This is the command string I am feeding to Dplot...
D.Version = DPLOT_DDE_VERSION
D.DataFormat = DATA_XYXY
D.MaxCurves = NumCurves
D.MaxPoints = MaxRows - HasHeading
D.NumCurves = NumCurves
D.ScaleCode = SCALE_LOGX_LINEARY
D.Title1 = "Geometric Distortion"
D.Title2 = lensname
D.XAxis = "Focal Length"
D.YAxis = "Distortion as percent of frame width"
[Caption("Geometric Distortion")][ManualScale(0,-2,300,2)][NumberFormat(0,0)][NumberFormat(1,0)][NumTicks(1,4,4)][Color(1,255,75,25)][Color(2,75,125,205)][SetPluginImageDims(500, 425, 8)][TextFont(1,8,400,0,0,0,0,"Arial")][TextFont(2,10,700,0,0,0,0,"Arial")][TextFont(3,9,400,0,0,0,0,"Arial")][TextFont(4,8,700,0,0,0,0,"Arial")][TextFont(5,8,700,0,0,0,0,"Arial")][TextFont(6,8,400,0,0,0,0,"Arial")][TextFont(7,1,400,0,0,0,0,"Arial")][TextFont(8,1,400,0,0,0,0,"Arial")]
After passing this command string to Dplot, the specify extents checkbox is still not checked. When I check it, I can modify the extents and the changes I enter are reflected in the graph. However, the numticks command only seems to have an effect on the y axis tick marks. Manually modification of the x-axis ticks doesn't seem to have an effect, either. Is there some kind of option I inadvertantly checked? Any ideas?
Thanks again,
Arthur |
|
Back to top |
|
|
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Thu Aug 18, 2005 8:05 pm Post subject: |
|
|
Also, the axes at zero option doesn't seem to work. Are these related? |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Thu Aug 18, 2005 9:53 pm Post subject: |
|
|
Quote: | Also, the axes at zero option doesn't seem to work. Are these related? |
Yes, but probably not in the way you mean. With the ManualScale command you're trying to set the low X extent to 0 on a logarithmic scale. This is physically impossible. The code that parses command strings checks against either extent being < 0 and simply ignores the command if that's the case.
"Axes at zero" should work for the Y axis in this case but doesn't - it's ignored for both X and Y if either axis uses logarithmic scaling. I'll correct that next time out. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Fri Aug 19, 2005 2:33 pm Post subject: |
|
|
Thanks! |
|
Back to top |
|
|
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Fri Aug 19, 2005 8:41 pm Post subject: |
|
|
Is it possible to specify the y extents, but allow Dplot to scale the x extents? |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Fri Aug 19, 2005 9:09 pm Post subject: |
|
|
Not in the current version. In the next release many parameters will be optional, including those used in ManualScale. For example
[ManualScale(,ylo,,yhi)]
will set the Y extents and use the actual data extents (or previously set X extents) for X. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Fri Aug 19, 2005 9:23 pm Post subject: |
|
|
Any idea when that will be released? Just want to know if I should kill myself writing scaling into my code, or just wait a couple days.
Thanks again,
Arthur |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Fri Aug 19, 2005 9:26 pm Post subject: |
|
|
Quote: | Any idea when that will be released? Just want to know if I should kill myself writing scaling into my code, or just wait a couple days. |
More than a couple of days. Most likely around the end of August. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Fri Aug 19, 2005 9:46 pm Post subject: |
|
|
Ok, sounds good. |
|
Back to top |
|
|
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Mon Aug 29, 2005 8:14 pm Post subject: |
|
|
I don't want to bother you with this, but are you still thinking this will get worked in the end of this month?
Thanks
Arthur |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Wed Aug 31, 2005 5:01 pm Post subject: |
|
|
Arthur,
Sorry, but my schedule has been pushed back a bit by events. I'll get the new release out as soon as possible. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
arthur_etchells
Joined: 15 Jul 2005 Posts: 30
|
Posted: Thu Sep 22, 2005 2:56 pm Post subject: |
|
|
Hey, I noticed the updated revision. In order to access the new optional extents functionality from excel, will I have to install a new dplotlib.xla file?
Thanks,
Arthur |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Thu Sep 22, 2005 3:45 pm Post subject: |
|
|
No, that's handled within the updated dplot.exe (or dplotjr.exe), not the Add-In or DPLOTLIB.DLL. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|