Tags:
create new tag
view all tags

.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.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2011-12-12

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2011-12-14 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback