View previous topic :: View next topic |
Author |
Message |
xander_P
Joined: 11 Sep 2006 Posts: 10
|
Posted: Tue Nov 07, 2006 7:43 pm Post subject: Replacing the Y Axis |
|
|
I am displaying a contour plot and I need the lower left corner to be 8 and the upper left to be 1, but I don't believe there is a setting in DPLOTLIB to create this reverse order. At least I can't find any documentation on how I might do this.
Anyway as a result I am not displaying the Y axis ([NumberFormat(1,12)] ), and instead am attempting to use the XYLabel command to apply my own reverse order labels to the left y axis. The problem is no matter what I have tried I can't seem to get the labels to show up. I am using the following line to attempt to get just one label to show up: [XYLabel(0,2,0,"1")]. I have attempted many values at the offset position and the XY position, but nothing seems to help, and nothing shows up on the plot.
Is there anything else I need to do to enable this, or something I am doing that might prevent them from showing up? Any help would be appreciated.
xander |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Tue Nov 07, 2006 9:13 pm Post subject: |
|
|
Quote: | I am displaying a contour plot and I need the lower left corner to be 8 and the upper left to be 1, but I don't believe there is a setting in DPLOTLIB to create this reverse order. At least I can't find any documentation on how I might do this. |
On the Contour Options dialog, set the Y scale to a negative number.
The XYLabel command only works with XY plots. I'll add this to my to-do list for 3D, but it may be a while before it is available. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
xander_P
Joined: 11 Sep 2006 Posts: 10
|
Posted: Wed Nov 08, 2006 1:25 pm Post subject: |
|
|
Thank you very much, "[ContourScales(1, -1, 1)]" does exactly what I need. And saved me a day of sending my data in upside down, and then painting axis labels myself. |
|
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
|