[Thread Prev][Thread Next][Index]

[ferret_users] Getting at levels and colors used




Does ferret have a means to list the levels and colors used in a color-filled contour plot, given:

fill/lev="(-6000,-1000,1000)(-1000,-100,100)(-100,100,10)(100,1000,100)(1000,6000,1000)"/pal=topo elev

with an accompanying color specification:

! Palette for ocean/terrestrial elevation.
! *jc* 11/00
RGB_Mapping By_Value
! Val    R    G    B
-8000.   0.   0.  10. ! blue-black
-4000.   0.   0.  50.
-2000.   0.   0. 100. ! blue
-300.   40.  70. 100. 
-100.   50. 100. 100.
 -50.   40.  80.  70.
  -0.1  90. 100. 100. ! light green-blue
   0.    0.  20.  00. ! dark green
 100.    0.  70.  30. ! light green
 300.   90. 100.   0. ! light yellow
1200.   60.  30.   0. ! rust
4000.   90.  90. 100. ! ice blue
5000.  100. 100. 100. ! white

I'm aware of 'ppl list levels', which will give the actual levels used in the PLOT command, but is there a way to get at the RGB triples associated with each level?

Thanks!



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement