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

Home » Public Forums » archive » Re: iplot colorbar label
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: iplot colorbar label [message #68016 is a reply to message #67874] Thu, 10 September 2009 03:11 Go to previous message
Thibault . is currently offline  Thibault .
Messages: 9
Registered: September 2009
Junior Member
Thanks for the routine!

Indeed, I dont want the label to be the color index.
I set my color table to a third variable z ( x and y are the
positions).
my_col = fix(z * 255/(max(z)-min(z))) where z spans the range 50 to
800.
I think that writing this makes the plot that i want, attributing to
each point defined by x and y in position, the appropriate color
according to the z value.
Then, using your pp_colorbar_range.pro routine by setting:

iplot,x,y,/insert_colorbar,rgb_table=39,sym_index=3,/
scatter,vert_colors=my_col
pp_colorbar_range,[min(z),max(z)],font_size=12

it gives something which seems to make sense... I hope it does :)

In which way the keyword colors=colors is useful??

Furthermore, do you have any idea how to save the iplots as postscript
files?
[Message index]
 
Read Message
Read Message
Previous Topic: ROIS
Next Topic: Georefencing MODIS in ENVI batch mode!

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

Current Time: Wed Oct 08 17:28:57 PDT 2025

Total time taken to generate the page: 0.00455 seconds