Modern IDL by Michael Galloy

API documentation for example code

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

objectgraphics/

mg_ogscene_example.pro

includes main-level program

Routines

Routines from mg_ogscene_example.pro

result = mg_ogscene_example_createview( [z] [, datax=fltarr(m)] [, datay=fltarr(n)] [, model=object] [, location=fltarr(2)] [, dimensions=fltarr(2)] [, /isotropic])

Create view containing a the surface object.

mg_ogscene_example [, z] [, x] [, y] [, /isotropic]

Example of using a scene to show multiple views.

Routine details

top source mg_ogscene_example_createview

result = mg_ogscene_example_createview( [z] [, datax=fltarr(m)] [, datay=fltarr(n)] [, model=object] [, location=fltarr(2)] [, dimensions=fltarr(2)] [, /isotropic])

Create view containing a the surface object.

Return value

view object

Parameters

z in optional type=fltarr(m, n)

surface data to show

Keywords

datax in optional type=fltarr(m)

x-coordinate values

datay in optional type=fltarr(n)

y-coordinate values

model out optional type=object

model created to contain the surface

location in optional type=fltarr(2) default=[0.0, 0.0]

property of IDLgrView

dimensions in optional type=fltarr(2) default=[1.0, 1.0]

property of IDLgrView

isotropic in optional type=boolean

set to use an isotropic scale, otherwise each dimension will be scaled to fill the display range

top source mg_ogscene_example

mg_ogscene_example [, z] [, x] [, y] [, /isotropic]

Example of using a scene to show multiple views.

Parameters

z in optional type=fltarr(m, n)

surface data to show

x in optional type=fltarr(m)

x-coordinate values

y in optional type=fltarr(n)

y-coordinate values

Keywords

isotropic in optional type=boolean

set to use an isotropic scale, otherwise each dimension will be scaled to fill the display range

File attributes

Modification date: Sat Jan 31 21:16:34 2015
Lines: 69
Docformat: rst rst