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

Home » Public Forums » archive » Re: (simple question) PLOT, YTICKS in /YLOG AXIS
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: (simple question) PLOT, YTICKS in /YLOG AXIS [message #59491 is a reply to message #59490] Fri, 28 March 2008 13:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> This happens when there is a mismatch between the number
> of values returned by LOGLEVELS and the number you use
> for YTICKS. This is why I think you should look at the
> *REVISED* web page article and use the code you find there:
>
> ticks = LOGLEVELS([0.22,0.55])
> nticks = N_Elements(ticks)
> Plot, data, /YLOG, YRANGE([0.22,0.55])YTICKS=nticks-1, $
> YTICKV=Reverse(ticks)

Oh, hell, I should never have reversed those damn axes!!
This will lead to another five questions. Sigh...

ticks = LOGLEVELS([0.22,0.55])
nticks = N_Elements(ticks)
Plot, data, /YLOG, YRANGE([0.22,0.55])YTICKS=nticks-1, $
YTICKV=ticks

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: triangulating over undefined space in irregular grids
Next Topic: Re: emacs, fedora 8, idlwave and IDL7

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

Current Time: Fri Oct 10 20:35:20 PDT 2025

Total time taken to generate the page: 0.88159 seconds