NCL Home> Application examples> Plot techniques || Data files for examples

Adding NCAR Logo

Both ngezlogo and nglogo are available from NCL version 4.2.0.a024
logo_1.ncl: Demonstrates how to add a quick NCAR logo to the right bottom corner of a plot.

Note that when viewed in X11 or ncgm mode the logo is black and white. The postscript version that created the png image below displays the logo in color. This occurs because X11 and ncgm can not contain two colormaps (the logo contains its own 254 colors).

ngezlogo is the procedure that adds the logo.
logo_2.ncl: Places a large UCAR star on the plot

nglogo is the procedure that allows the user to select the type and location of the logo.

Arguments are: (workstation name, xcoord, ycoord, size in ndc coord, type, colorindex, colorindex for type=5)

types:
1 = NCAR logo
2 = UCAR logo (Star symbol)
3 = The text "NCAR" in Bell Gothic Black font
4 = The text "UCAR" in Bell Gothic Black font
5 = UCAR star logo plus "UCAR" text
logo_3.ncl: Demonstrates type 5 logo (UCAR star and text)