colored labels
Question:
How do I specify the color of text labels?
Example:
Try this:
! a sample plot
go fland 60 black basemap
! a standard black label (pen=1 default -- same as using "@P1")
label 50 -60 -1 0 .2 Here is a label in black
! a red label
label 50 -80 -1 0 .2 @P2Here is a label in red
! a white label -- redefine pen 6 to be white (100% on R,G, and B)
ppl color 6 100,100,100
label 50 -80 -1 0 .2 @P6Here is a label in white
Solution:
Use "@Pn" in your label string to select among the 6 predefined line/text
colors as in the examples above. Try
yes? GO line_samplesto see the choices.
If the color you need is not among the default choices you can redefine any of
them using the "PPL COLOR" command (see PPL COLOR in the Ferret documention, chapter PLOT+ Enhancements Guide). The color
settings will be applied on the hard copy, too.