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

Home » Public Forums » archive » Labeling logarithmic axes
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: Labeling logarithmic axes [message #92786 is a reply to message #92734] Sat, 27 February 2016 11:50 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Thursday, February 18, 2016 at 7:16:10 PM UTC-6, Laura H. wrote:
> The problem is that as soon as I add the ytickname option, the tick marks go back to linear spacing. Does anyone know how to fix this? I should point out that the plotted lines are not affected by the changes to the axis, only the axis markings are.
>
> Thanks much,
>
> Laura H.

Hi Laura-

You're going to want to suppress the minor ticks for this:

p=plot(/test, /ylog, yrange=[1000, 100])
ticks = [1000, 500, 200, 100]
p.ytickvalues = ticks
p.yminor=0

For kicks and giggles:
ticks2 = REVERSE((FINDGEN(10)+1)*100)
p.ytickvalues = ticks2
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Segmentation fault (core dumped)
Next Topic: Harris website down?

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

Current Time: Wed Oct 08 11:36:08 PDT 2025

Total time taken to generate the page: 0.00469 seconds