colorbar and [XY]tickname [message #39383] |
Wed, 12 May 2004 04:17 |
einareinar
Messages: 4 Registered: May 2004
|
Junior Member |
|
|
Hello
I was wondering if somone (David?) knows why I can't use the
[xy]tickname keyword to Davids Fannings colorbar 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',$
font=1, $
ycharsize=1.3, $
ytickname=names,$
format='(A2)'
Here is the print/help output:
0 1 2 3 4 5 10
15 20
NAMES STRING = Array[9]
And the result can be found on: http://www.os.is/~or/test/png/A13.png
I belived that the _extra keyword would take care of this! Or like you
guys see i want the scale to be irregular, do you maybe know some
better method to do this? or do I just have to modify the colorbar
program myself?
Einar
|
|
|