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

Home » Public Forums » archive » Re: fit image to logarithmic color bar
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: fit image to logarithmic color bar [message #62400 is a reply to message #62399] Mon, 08 September 2008 08:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
maffie writes:

> Hum, for some reason, things doesn't seem to work.
>
> I have added the Plot keyword as follows:
>
> PLOT, X, /nodata,/normal,POSITION=[0.14,0.57,1,0.58]
>
> But still I can't see any axis when putting the following after the
> keyword:
>
> myticklen=-0.01
> myticks=['C','A','N','NE','E','SE','S','SW','W','NW']
> myticks1=['P0','Rain','SWD','Tmax','Tmin','RH','F010','D010' ,'CC']
> mytickvals=[X1+9.8, X1+(9.8*2), X1+(9.8*3), X1+(9.8*4), X1+(9.8*5),
> X1+(9.8*6), X1+(9.8*7), X1+(9.8*8), X1+(9.8*9), X1+(9.8*10)]
> mytickvals1=[0.1,0.3,0.6,0.8,0.9]
> AXIS, XAXIS=0,TICKLEN=myticklen,XTITLE='Weather type',$
> XTICKS=9, XTICKNAME=myticks, XTICKV=mytickvals,color=black,
> CHARTHICK=3, CHARSIZE=1.3
> AXIS, YAXIS=0, TICKLEN=myticklen,YTICKS=8, YTICKNAME=myticks1,
> YTICKV=mytickvals1,color=black,CHARTHICK=3, CHARSIZE=1.3
>
> Any more ideas??

Get rid of the NORMAL keyword and add some LOG keywords.
Set some ranges on your axes. Spend a couple of minutes
thinking about what you are trying to do. :-)

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
Previous Topic: converting a string to an IDL command
Next Topic: :-) bug during envi 4.5 installation

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

Current Time: Fri Oct 10 21:57:45 PDT 2025

Total time taken to generate the page: 1.28318 seconds