Contents - Index


NewContourPlot (Macro Command)

 

NewContourPlot  TABLE=PAR1  X=x  Y=y  Z=z  TYPE=Isometric  LEGEND=YES  METHOD=BiQuadratic RESOLUTION=25  XMIN=0  XMAX=1 XINT=0.1 ZINT=0.2 NAME='my Plot'  Rows=1..10

 

This command creates a new contour plot in which contours of variable identified by Z are displayed in one of three ways as a function of variables identified by X and Y.  The keywords are described below and they can be provided in any order.

 

TABLE=

Data for the plot are taken from the Parametric table, Lookup tableArrays Table or Integral Table that has the name following the = sign.  The table name can be provided as a string constant surrounding by single quotes or as a string variable, e.g., TN$.  (If the table name supplied is used in multiple tables, the search order is Parametric table, Lookup table, Arrays table and then the Integral  table.   Note that the table name could also alternatively be identified by entering PARN, LOOKN, ARRN, or INTN where N is the tab number of the Parametric, Lookup, Arrays or Integral table.  In this case, do not place quotes around the table name. You can also use ARR for the first Arrays table or INT for the Integral table.

 

X=   Y=   Z= 

The variables that are to be plotted are identified by the names of the columns following the = signs.  Do not use single quotes.   When plotting variables from the Arrays table,specify the column name as XXX[i], where XXX is the parent name of the array variable.  

 

TYPE=

The type of contour plot is determined by the keyword following TYPE= and it must be: Isometric, Colorbands, or Gradient.  

 

LEGEND=

Either a Yes or No can follow this optional keyword.  

 

METHOD=

Either Radial or Bi-Quadratic can follow this optional keyword which specifies the method used to determine the values of the function over the range of the grid.  This command is optional.

 

RESOLUTION=

A numerical value between 0 and 100 should follow this keyword, which controls the smoothness of the plot.  This command is optional.

 

XMIN=, XMAX=, YMIN=, YMAX=, ZMIN=, ZMax=, XINT=, YINT=, ZINT=

The minimum, maximum and interval values of each axis can optionally be specified with these keywords.  A numerical value or predefined EES variable name must follow the = sign.  

 

NAME=

Sets the name of the tab for this plot window to the string variable following the = sign.  The string variable must be surrounded with single quotes.  This keyword is optional.  If it is not provided, the name will default to Plot N where N is a plot window number.

 

ROWS=

A range of rows  can optionally be provided using numerical values (e.g., 1..10) or predefined variables (e.g., 1..N).  If the row range is not provided, all of the data in the specified table will be used in the plot. 

 

 

See also:  X-Y-Z Plots

               New3DPlot