Documentation for pp_lib

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

pp_ixyouts.pro


Routines

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:
15 lines
Cyclomatic complexity:
5
Modified cyclomatic complexity:
5

File attributes

Modification date: Wed Jun 29 22:15:28 2016
Lines: 15
Docformat: rst rst