Coyote Graphics Map Projection Routines

Date: Fri Nov 29 13:44:27 2013

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

.\

cgcoord__define.pro

Object Programming, Graphics


An object for maintaining a coordinate system for data annotation or display. Simply calling the Draw method of the object sets up the data coordinate system.

Class description for cgCoord

Inheritance

All ancestor classes: cgContainer IDL_OBJECT IDL_CONTAINER

Subclasses: cgMap

Properties

Properties in cgContainer

Properties in cgCoord

_EXTRA set
XLOG get set init
XRANGE get set init
POSITION get set init
YRANGE get set init
_REF_EXTRA get init
YLOG get set init

Fields

Fields in cgContainer

Fields in IDL_OBJECT

Fields in IDL_CONTAINER

Fields in cgCoord

_CG_POSITION [0.00000000D, 0.00000000D, 0.00000000D, 0.00000000D]
_CG_YRANGE [0.00000000D, 0.00000000D]
_CG_XRANGE [0.00000000D, 0.00000000D]
_CG_XLOG 0L
_CG_YLOG 0L

Author information

Author

FANNING SOFTWARE CONSULTING:

David W. Fanning 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: david@idlcoyote.com Coyote's Guide to IDL Programming: http://www.idlcoyote.com

Copyright

Copyright (c) 2011, Fanning Software Consulting, Inc.

History

Change History:

Written, by David W. Fanning, 7 November 2011.

Routines

result = cgCoord::INIT( [POSITION=float] [, /XLOG] [, XRANGE=various] [, /YLOG] [, YRANGE=various] [, _REF_EXTRA=various])

The initialization method of the object.

cgCoord::Draw, _EXTRA=_EXTRA

This method sets up the data coordinate space of the object by drawing an "invisible" plot.

cgCoord::GetProperty, POSITION=POSITION, XLOG=XLOG, XRANGE=XRANGE, YLOG=YLOG, YRANGE=YRANGE, _REF_EXTRA=_REF_EXTRA

This method allows the user to get various properties of the object.

cgCoord::SetProperty, POSITION=POSITION, XLOG=XLOG, XRANGE=XRANGE, YLOG=YLOG, YRANGE=YRANGE, _EXTRA=_EXTRA

This method allows the user to set various properties of the object.

cgCoord::CLEANUP

This is the clean-up routine for the object.

cgCoord__Define [, class]

This is the class definition module.

Routine details

top cgCoord::INIT

result = cgCoord::INIT( [POSITION=float] [, /XLOG] [, XRANGE=various] [, /YLOG] [, YRANGE=various] [, _REF_EXTRA=various])

The initialization method of the object.

Keywords

POSITION in optional type=float

The normalized position of the map projection space in the graphics window. The default position is [0.075, 0.075, 0.925, 0.900].

XLOG in optional type=boolean default=0

Set this keyword if you wish the X axis range to be logarithmic.

XRANGE in optional type=various

Set this keyword to the X axis range desired in the data coordinate system. The default os [0,1].

YLOG in optional type=boolean default=0

Set this keyword if you wish the Y axis range to be logarithmic.

YRANGE in optional type=various

Set this keyword to the Y axis range desired in the data coordinate system. The default os [0,1].

_REF_EXTRA in optional type=various

Any keywords appropriate for superclass objects can also be specified.

top cgCoord::Draw

cgCoord::Draw, _EXTRA=_EXTRA

This method sets up the data coordinate space of the object by drawing an "invisible" plot.

Keywords

_EXTRA

top cgCoord::GetProperty

cgCoord::GetProperty, POSITION=POSITION, XLOG=XLOG, XRANGE=XRANGE, YLOG=YLOG, YRANGE=YRANGE, _REF_EXTRA=_REF_EXTRA

This method allows the user to get various properties of the object. In general, the same keywords that are used for the INIT method can be used here.

Keywords

POSITION
XLOG
XRANGE
YLOG
YRANGE
_REF_EXTRA

top cgCoord::SetProperty

cgCoord::SetProperty, POSITION=POSITION, XLOG=XLOG, XRANGE=XRANGE, YLOG=YLOG, YRANGE=YRANGE, _EXTRA=_EXTRA

This method allows the user to set various properties of the object. In general, the same keywords that are used for the INIT method can be used here.

Keywords

POSITION
XLOG
XRANGE
YLOG
YRANGE
_EXTRA

top cgCoord::CLEANUP

cgCoord::CLEANUP

This is the clean-up routine for the object.

top cgCoord__Define

cgCoord__Define [, class]

This is the class definition module.

Parameters

class out optional type=structure

Occasionally, it is useful to have an object class definition as a structure variable. Using this output keyword will allow that.

File attributes

Modification date: Mon Nov 04 16:56:42 2013
Lines: 250
Docformat: rst rst