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

CW_STRIPCHART

CW_STRIPCHART

Name


      CW_STRIPCHART

Purpose


      Strip chart compound widget.

Category


Calling Sequence


      id = cw_stripchart( parent, nx, ny)

Inputs


      parent = Widget ID of parent base. in
      nx = Max number of samples to be plotted.
      ny = Number of channels.

Keyword Parameters


Keywords


        X_SCROLL=x_sc Size in X on screen (pixels, def=100).
        XWIDTH=xwid Width in x units of visible section (def=10).
          This is not exact, usually more is covered.
        XRANGE=xran Total range in X (def=[0,100]).
        /NO25 means do not use multiples of 2.5 for axis ticks.
        KEY=key Optional 24-bit image to display as a legend.
          May later set a new key by sending the image as a new
          value using widget_control,id,set_val=key.
        YSIZE=ys Size in Y (pixels, def=100).
        YRANGE=yran Range in Y (def=[0,1]).
        YTITLE=yttl Y axis title (def=none).
        /YFIXED include a fixed Y axis.
        /NOMINOR suppress y axis minor ticks.
        UVALUE=uval User value (def=none).
        /FRAME frame around widget (def=one).
        TITLE=ttl Main title (def='Strip Chart').
        RPOS=[x1,y1,x2,y2] Offset from window sides:
          [left,bottom,right,top]. Def=[30,30,-10,-10].
        CHARSIZE=csz Character size (def=1).
        C_BACK=c_bak Background color (def=white).
        C_AXES=c_ax axes color (def=black).
        C_PLOT=c_plt Plot color(s) (def=red, green, blue).
          May give an array of plot colors, one ofr each channel.

Outputs


Common Blocks


Notes


      Note: May have multiple plot channels. May specify colors
        for each, default are set up if none given. Use
        widget_control, wid, set_val=val to plot new data points,
        val is [x, val1, val2, ..., valn] where x is
        the x value, val1, ... are the plot values.
        May plot less than # channels set, but not more.

Modification History


      R. Sterner, 2002 Nov 01
      R. Sterner, 2003 Mar 05 --- Minor help text change.
      R. Sterner, 2003 Mar 14 --- Major upgrades, zoom, ...
      R. Sterner, 2003 Mar 17 --- Fixed scaling bug.
      R. Sterner, 2003 Mar 24 --- Allowed key to be set at a later time.
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
  Copyright (C) 2002, 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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us