Documentation for pp_lib

Generated by IDLdoc

./

pp_ixyouts.pro


top source pp_ixyouts

pp_ixyouts, str [, location] [, font_size=font_size] [, vnumber=vnumber] [, id=id] [, _ref_extra=_ref_extra]

Similar to xyouts, puts a text into the current itool.

Parameters

str in required

String with the text to put into the itool.

location in optional

Two element array with the x,y coordinates where to place the text, in normalized units ([0.,0.], is in the middle of the itool).

Keywords

font_size in optional default=24.

Font size to use in the text.

vnumber in optional default=1

View number (panel number) in the itool where the text should be placed.

id in out optional

Itool id to use. If not specified, the current is used and its id is returned.

_ref_extra in out optional

Any other properties of the text to set (IDLitVisText properties).

Examples

To make an X axis title with a different font from the tick labels:

iplot,findgen(10),xtickfont_size=12. pp_ixyouts,'X Axis',[0.0,-0.8],font_size=24.,color=[255,0,0]

Author information

Author:

Paulo Penteado (pp.penteado@gmail.com), Sep/2009

Other attributes

Uses:

Statistics

Lines:
21 lines
McCabe complexity:
3

File attributes

Modification date: Thu Jan 31 16:29:45 2013
Lines: 54
Docformat: rst rst