Tags:
create new tag
view all tags

.AXIS SET TICK CLR

This subroutine sets the color of the major and/or minor ticks on the "current" axis.


Usage:

      PASS         <color_spec_name>          FIELD            SHARE? N
      *        OR
      PASS         <color_value>              FIELD            SHARE? N
      *
      PASS         <color_spec_name>          FIELD            SHARE? N
      *        OR
      PASS         <color_value>              FIELD            SHARE? N
      GOSUB    0CD .AXIS SET TICK CLR
      *        Check for error
      IF       0CD .AXIS SET TICK CLR         NE

Description:

This subroutine sets the color of the major and/or minor ticks on the "current" axis. This routine can receive one or two optional values specifying either a <color_spec_name> or a <color_value>. You must have selected a "current" axis via .AXIS SET CURRENT before calling this routine.

If a parameter is not received or if the value received is blank, then the tick color is cleared and the default tick color will be rendered. The first color parameter refers to the major ticks and the second parameter refers to the minor ticks.

If a parameter is received, the system first assumes that the value received is a <color_spec_name> and checks to see if a color spec record has been previously initialized with that name. If a color spec record is found, then that color spec record is used as a prototype to create a color spec for the axis color. If a color spec record is not found, then the system assumes that the value received is a literal <color_value> and uses the specified color to create a color spec for the axis color.

After setting the axis color, the axis color spec becomes the "current" color spec.

See ColorSpec for more information on working with colors.

Comments:

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


-- JeanNeron - 2011-11-09

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-25 - 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