# coyote: CGOVERPLOT__DEFINE

- coyote/Graphics
- [Source code]

Description

      The purpose of this program is to create a data object that can be plotted or drawn on
      a set of axes set up by another plotting command.

Categories

      Graphics

Examples

      Use, for example, with the cgPlot command::
         oplotObj1 = Obj_New('cgOverPlot', cgDemoData(17), Color='red', PSYM=-1, LINESTYLE=2)
         oplotObj2 = Obj_New('cgOverPlot', cgDemoData(17), Color='blue', PSYM=-2, LINESTYLE=4)
         cgPlot, cgDemoData(17), Color='purple', PSYM=-4, OPLOTS=[oplotObj1, oplotObj2]
         Obj_Destroy, [oplotObj1, oplotObj2]

Author

      FANNING SOFTWARE CONSULTING::
          David W. Fanning
          1645 Sheely Drive
          Fort Collins, CO 80526 USA
          Phone: 970-221-0438
          E-mail: david@idlcoyote.com
          Coyote's Guide to IDL Programming: http://www.idlcoyote.com

History

      Change History::
         Written, 18 July  2012. DWF.
         The THICK keyword was not being set in the INIT method. Fixed. 2 Nov 2012. DWF.

Copyright

      Copyright (c) 2012, Fanning Software Consulting, Inc.
      initialization method of the object. Called automatically when the object
      reated.

Params

      class: out, optional, type=struct
         The class definition as a structure variable. Occasionally useful.

Keywords

      color: in, optional, type=string
         The name of the data color. This is the color of the data line.
      dep: in, optional, type=varies
         A vector of dependent data.
      draw: in, optional, type=boolean, default=0
         If this keyword is set, the data is drawn as soon as the properties are set.
      indep: in, optional, type=varies
         A vector of independent data.
      linestyle: in, optional, type=integer
         The line style for drawing the line.
      psym: in, optional, type=integer
         Any normal IDL PSYM values, plus any value supported by the Coyote Library
         routine cgSYMCAT. An integer between 0 and 46.
      skip: in, optional, type=integer, default=1
         The number of data points to skip when the line is drawn. The default is to
         not skip any data points, but to plot them all.
      symcolor: in, optional, type=string
         The name of the symbol color. By default, the same as the `COLOR` keyword.
      symsize: in, optional, type=float, default=1.0
         The symbol size.
      symthick: in, optional, type=float, default=1.0
         The thickness of the symbol.
      thick: in, optional, type=float, default = 1.0
         The thickness of the line.
      visible: in, optional, type=boolean, default=1
         Set this keyword to determine in the line should be drawn (visible=1), or
         if the line should not be drawn (visible=0).
      class definition module for the object.