[Thread Prev][Thread Next][Index]

embedding color in a title using @Cnnn syntax



Hi,
I'm trying to use the "@Cnnn" syntax to embed different colors in a plot title.

let t1="@C000line 1<NL> @C002line 2 @C003rest of line"
plot/symbol/line/title="`t1`" tmx,ghcn_tmax,ghcn_tmax-tmx
!-> plot/symbol/line/title="@C000line 1<NL> @C002line 2 @C003rest of line" tmx,ghcn_tmax,ghcn_tmax-tmx



The title that is produced has the text "line 1" in black but the text "line 2" is "C002line 2" in color black The text "rest of line" is green, which is correct. Why isn't the color of "line 2" getting set to "red"? It seems to be dropping the "@" and thus not interpreting the @C002. If I drop the newline symbol "<nl>" it works.

Thanks for any insights.

Steve


--
Steve Knox
Natural Resource Ecology Laboratory
Colorado State University
Fort Collins, CO 80523-1499
stevek@nrel.colostate.edu



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement