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 #92805 is a reply to message #92786] Wed, 02 March 2016 12:18 Go to previous messageGo to previous message
laura.hike is currently offline  laura.hike
Messages: 87
Registered: September 2013
Member
Thanks!


On Saturday, February 27, 2016 at 2:50:53 PM UTC-5, Phillip Bitzer wrote:
> 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:43:48 PDT 2025

Total time taken to generate the page: 0.00428 seconds