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

Home » Public Forums » archive » Alternative [XY]ticknames on colorbar
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Alternative [XY]ticknames on colorbar [message #39406] Tue, 11 May 2004 02:58
einareinar is currently offline  einareinar
Messages: 4
Registered: May 2004
Junior Member
Hello

Can someone (David?) tell me how to get alternative labels on David's
colorbar?
I wanted to ask you guys if I could avoid changing his program.

Here is my code:

print, names
help,names

colorbar, /vertical, $
Position = col_pos, $
Range=[0,r_levels(n_elements(r_levels)-1)], $
NColors=n_elements(r_levels)-1, $
Bottom=101, $
Color=!P.color, $
Divisions=n_elements(r_levels)-1,$
/right, $
TITLE='mm/3klst',$
ytickname=names,$
format='(A2)'

And here is the resault from the print/help functions:
0 1 2 3 4 5 10
15 20
NAMES STRING = Array[9]

Isn't the _EXTRA keyword supposed to pass ytickname to the AXIS
procedure? And it it doesn't matter if names are a integer array and
format='(I2)'


best reg.
Einar
[Message index]
 
Read Message
Previous Topic: GET_KBRD()... behavior depends on OS properties?
Next Topic: Maximum Intensity without FOR Loop

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

Current Time: Wed Oct 08 14:58:29 PDT 2025

Total time taken to generate the page: 0.00434 seconds