|
Hi Lev, Well, the short answer is that we just don't have a direct way to access palette colors for line colors. The way the graphics for Ferret works, that doesn't seem to be in the cards. Here is a way to do the kind of thing you suggest, a somewhat tedious method using a series of viewports to reset colors for individual color lines. (if you still have a problem with PPL COLOR, let me know, or mail us at the developers' mail oar.pmel.contact_ferret@noaa.gov ) First for reference plot a standard contour plot. Define a bunch of identical viewports, and in each one plot one contour level, coloring it with a new custom color: use coads_climatology set region/L=1 define view/xlim=0:1/ylim=0:1 full_1 define view/xlim=0:1/ylim=0:1 full_2 define view/xlim=0:1/ylim=0:1 full_3 define view/xlim=0:1/ylim=0:1 full_4 define view/xlim=0:1/ylim=0:1 full_5 ! default contours in black set view full ! the default viewport. contour sst set view full_1; contour/set/nolab/noax/lev=(5,5,10) sst ppl color,1,100,0,75 ppl contour set view full_2; contour/set/nolab/noax/lev=(10,10,10) sst ppl color,1,100,100,0 ppl contour set view full_3; contour/set/nolab/noax/lev=(15,15,10) sst ppl color,1,20,100,0 ppl contour set view full_4; contour/set/nolab/noax/lev=(20,20,10) sst ppl color,1,100,50,0 ppl contour set view full_5; contour/set/nolab/noax/lev=(25,25,10) sst ppl color,1,0,70,100 ppl contour ! Reset color number 1 ! ppl color,1,0,0,0 Lev Tarasov wrote:
|