Modern IDL by Michael Galloy

API documentation for example code

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

objectgraphics/

mg_show_axes.pro


Demonstrates changing attributes of axis' text so they are always facing the viewer.

Routines

result = mg_show_axis_updir(transform, axis_dir)
mg_show_axes_event, event

Handle all events.

mg_show_axes_cleanup, tlb

Cleanup resources.

mg_show_axes [, /no_switch] [, renderer=long]

Demonstrates changing attributes of axis' text so they are always facing the viewer.

Routine details

top source mg_show_axis_updir

result = mg_show_axis_updir(transform, axis_dir)

Parameters

transform
axis_dir

top source mg_show_axes_event

mg_show_axes_event, event

Handle all events.

Parameters

event in required type=structure

any event generated by widget program

top source mg_show_axes_cleanup

mg_show_axes_cleanup, tlb

Cleanup resources.

Parameters

tlb in required type=long

widget identifier of the top-level base

top source mg_show_axes

mg_show_axes [, /no_switch] [, renderer=long]

Demonstrates changing attributes of axis' text so they are always facing the viewer.

Keywords

no_switch in optional type=boolean

set to not switch the text baseline to face the viewer

renderer in optional type=long

set to 0 for hardware rendering, 1 for software rendering

File attributes

Modification date: Thu Jan 12 16:04:54 2012
Lines: 188
Docformat: rst rst