.\
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
- UVALUE get set init
- NAME get set init
- COUNT get
- _REF_EXTRA get set
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
- _CG_TRASH obj_new()
- _CG_NAME ''
- _CG_UVALUE ptr_new()
Fields in IDL_OBJECT
- IDL_OBJECT_BOTTOM 0LL
- __OBJ__ obj_new()
- IDL_OBJECT_TOP 0LL
Fields in IDL_CONTAINER
- IDLCONTAINERVERSION 0S
- IDL_CONTAINER_TOP 0LL
- NLIST 0L
- PTAIL ptr_new()
- PHEAD ptr_new()
- IDL_CONTAINER_BOTTOM 0LL
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
File attributes
Modification date: | Fri Mar 27 11:07:36 2015 |
Lines: | 250 |
Docformat: | rst rst |