.AXIS SYNC Y AXIS
This subroutine sets a linear formula to synchronize the secondary y-axis scale to the primary y-axis scale.
Usage:
PASS <slope> FIELD SHARE? N
PASS <intercept> FIELD SHARE? N
GOSUB 0CD .AXIS SYNC Y AXIS
* Check for error
IF 0CD .AXIS SYNC Y AXIS NE
Description:
This subroutine sets a linear formula to synchronize the secondary y-axis scale to the primary y-axis scale.
This is usually used if the two y-axes represent the same measurement using different units. Examples including temperature in Celsius and in Fahrenheit, and length in meters and feet.
The formula is :
y2 = y1 * slope + intercept
Both parameters are optional, and if not received, <slope> defaults to 1 and <intercept> default to zero. To "un-synchronize" the 2 axes, pass a blank for <slope>. If neither parameter is received, this will simply duplicate the scale on both the primary and secondary axes.
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2011-12-12