Home »
Public Forums »
archive »
Moving Axes
Moving Axes [message #58508] |
Wed, 30 January 2008 06:52 |
chloesharrocks
Messages: 16 Registered: January 2008
|
Junior Member |
|
|
Dear all
I'm plotting data which has both +ve and -ve x and y values and
possesses a linear relationship which crosses the xaxis at a value
> 0. At the moment my x-axis is 'sitting' at y= -5, which makes it
very hard to notice that the xintercept is positive when just looking
at the graph (I do have an xyout output telling me the xintercept
value, but it would be nice if just a quick glance at the graph made
this obvious). Is there any way for me to move the x-axis up so it
sits on y=0 (and similarly moving the y-axis so its at x=0) but so
that my negative value data is still plotted? I presume there must be
an easy way to do this in IDL - at the moment I'm just overplotting
lines corresponding to y=0 and x=0 just so I can clearly see the
xintercept's positive.
Thanks
ChloƩ
PS. I'm a complete IDL novice, so the simpler the better please!
|
|
|
Current Time: Wed Oct 08 19:05:37 PDT 2025
Total time taken to generate the page: 0.00550 seconds