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

Home » Public Forums » archive » ytickname
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
ytickname [message #77025] Tue, 26 July 2011 06:41
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
I'm sure I've used this method successfully before, but today it stubbornly won't go...

ytickv=indgen(8)-4
ytickname='10!u'+strtrim(ytickv,2)
yticks=n_elements(ytickv)
plot,[0],ytickv=ytickv,yticks=yticks,ytickname=ytickname,/no data

I want labels like 10^1, 10^2 on the y-axis. I get them fine, but underneath the 10^0 label, there's an extra 0, so that it looks like 100^0. (This is DG, by the way). Can anyone tell me what I'm doing wrong?

Greg
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Someone can help me please?
Next Topic: Re: ytickname

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

Current Time: Wed Oct 08 09:08:59 PDT 2025

Total time taken to generate the page: 0.11065 seconds