Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
legend_string
Writes legend text in plot window.
cafe
legend
str - The string to write.
spacing - The shift in y direction to next line in character sizes. Default is 1.2, i.e. 1 character for next line and 0.2 character for inter line space. charsize - the character size multiplier. Default is !p.charsize (usually 1).
tex - Convert tex strings using TeXtoIDL(). Usefull for mathematican symbols. It is recomended to use this keyword instead of calling textoidl() manually. The latter causes problems when printing into postscript files because the IDL codes for plot fonts (!p.font = -1) and hardware fonts (!p.font = 0) are different.
Writes string given as parameter
Changes plot
> plot, data+model > legend, string[str=Special model] -> creates legend with the text "Special model"
$Id: cafe_legend_string.pro,v 1.6 2004/02/06 08:09:23 goehler Exp $
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]