comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Moving Axes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Moving Axes [message #58508] Wed, 30 January 2008 06:52
chloesharrocks is currently offline  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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl 6.3 bus error during tv
Next Topic: Re: error with ARROW

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:05:37 PDT 2025

Total time taken to generate the page: 0.00550 seconds