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

Home » Public Forums » archive » Re: double tick marks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: double tick marks [message #42184 is a reply to message #42181] Thu, 06 January 2005 04:08 Go to previous message
Chris Lee is currently offline  Chris Lee
Messages: 101
Registered: August 2003
Senior Member
In article <8366b20f.0501060336.4be4ae1e@posting.google.com>, "Lasse
Clausen" <lbnc@lbnc.de> wrote:


> Hello again.
> I have the following code to produce yet another boring plot
> A=FINDGEN(100)
> PLOT, A
> AXIS,/YAXIS,YRANGE=[0,350],/YSTYLE
> END
> Now the secondary y-axis produced by the AXIS-call has not only minor
> and major tick marks according to the range of [0,350] but also all the
> tick marks from the primary y-axis. Which is quite annoying since there
> are now tick marks all over the place. Is there a way to get rid of the
> tick marks of the primary axis? Thank you again
> Lasse Clausen

Hi,

YSTYLE is your friend here. YSTYLE=8 (or 9) will remove the right Y axis from
the plot. other numbers do other things (9 forces the left Y axis into
the data range, 8 doesn't).

Have a look at the [X|Y|Z]STYLE in the help file for what the other
numbers do, but it's something like
1: force axis range
2: extend axis range
4: suppress both axis
8: suppress box (i.e right axis)
16: same is /ynozero

Add them together to get combinations (i.e. option 9= option 8 + option
1)

Chris.
[Message index]
 
Read Message
Read Message
Previous Topic: How to set the 50 pins expansion header to 5.0V from default 3.3V
Next Topic: Re: How to add standard gaussian noise to a image pixel

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

Current Time: Sun Oct 12 13:08:48 PDT 2025

Total time taken to generate the page: 2.79993 seconds