CGEN.New()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Curve classes > class CGEN >

CGEN.New()

Description

Create a new object of the class CGEN class.

 

The type of real-time plot is defined when the object is created. There are two plot types, one for y-versus-x data, and one for y- and y'-versus-x. The second plot type is used for data with two dependent variables, such as Rp- and Eoc-versus-time plots.

 

Type

CLASS FUNCTION

 

Usage

Cgen = CGEN.New(Tag, PlotView)

 

Tag

STRING

Object Tag used when printing the object.

PlotView

INDEX

VIEW_NONE = No Curves are displayed.

VIEW_SINGLE = Defines two axes, X_AXIS and Y_AXIS. One Curve per plot (as in Potentiodynamic).

VIEW_DOUBLE = Defines three axes, X_AXIS, Y_AXIS (lower y-axis), and Z_AXIS (upper y-axis). Two Curves per plot (as in Galvanic Corrosion).

Cgen

CGEN

The new object.