>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  HOR
Libraries

HOR

HOR

Name


      HOR

Purpose


      Plot a horizontal line on a graph at specified y value.

Category


Calling Sequence


      hor, y

Inputs


      y = Y value of horizontal line. Scalar or array. in

Keyword Parameters


Keywords


        /DEVICE means work in device coordinates.
        /NORMALIZED means work in normalized coordinates.
          Default is data coordinates.
        XRANGE=xran Optional X range to use (def=all).
          Give xran=[xmin,xmax] in specified coordinate system.
        SHRINK=f Fraction to reduce vertical range (def=0).
          Useful to keep a grid from covering tick marks.
          Only for data coordinates and an array of single lines.
        LINESTYLE=s. Linestyle (def=!p.linestyle).
        COLOR=c. Line color (def=!p.color).
        THICKNESS=t Line thickness (def=!p.thick).
        FILL=clr Optional color to fill between line pairs.
          Fills between lines 0 and 1, 2 and 3, and so on.
        POINTER=pt Draw arrowhead pointers at left and right
          instead of lines. Arrowhead dimensions may be given as
          fraction of screen or plot window size, the value of
          pt is height, or [height, width]. For /pointer the
          default used is [.03,.03].
        /LEFT used with POINTER to plot left pointers only.
        /RIGHT used with POINTER to plot right pointers only.
        /OUT Keep pointers outside axes (Data coord only).

Outputs


Common Blocks


Notes


      Notes: see ver.

Modification History


      R. Sterner, 2 Aug, 1989.
      R. Sterner, 21 May, 1992 --- fixed for log X axes.
      R. Sterner, 3 Nov, 1992 --- Added /device.
      R. Sterner, 20 Jun, 1993 --- Added /normalized.
      R. Sterner, 1994 Feb 2 --- Added THICK.
      R. Sterner, 1994 Jun 3 --- Added FILL.
      R. Sterner, 1994 Jun 16 --- Added POINTER, /TOP, /BOTTOM.
      R. Sterner, 1997 Jul 11 --- Added /OUT.
      R. Sterner, 2002 Oct 23 --- Added SHRINK=shr
      R. Sterner, 2005 Aug 19 --- Added XRANGE=xran.
      R. Sterner, 2005 Oct 13 --- Made loop indices long.
      R. Sterner, 2010 Jul 13 --- Converted arrays from () to [].
      R. Sterner, 2011 Apr 21 --- Fixed flaw with SHRINK=, new xx value.
  Copyright (C) 1989, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us