ISCALE, Id [, X[, Y[, Z]]] [, /RESET ] [, TOOL =iToolID] [, X =Value] [, Y =Value] [, Z =Value]
The identifier of the object to scale. If you pass a partial identifier, the IGETID function is called to retrieve the full identifier string.
The scaling factor values for the X, Y, and Z axes.
Set this keyword to reset the scale factors to 1.0 before performing any scaling with supplied X, Y, or Z values.
Set this keyword to the identifer of the iTool in which ID is found. If not supplied, the current iTool is used.
Set this keyword to the scaling factor to apply to the X axis. If this keyword is supplied, the value supercedes the X argument.
Set this keyword to the scaling factor to apply to the Y axis. If this keyword is supplied, the value supercedes the Y argument.
Set this keyword to the scaling factor to apply to the Z axis. If this keyword is supplied, the value supercedes the Z argument.
In the following example, we plot a sine wave and reduce the Y axis by 50%.
; Plot a sine wave
X = 2*!PI/100 * FINDGEN(100)
IPLOT, SIN(X)
; Insert a dialog box to pause the flow of action
result = DIALOG_MESSAGE('Click OK to squish the Y axis by 50%.', $
/INFORMATION)
ISCALE, 'plot', Y = 0.5
7.1 |
Introduced |
IGETID, IROTATE , ITRANSLATE, IZOOM