Contents Previous Next Subchapters

Setting and Retrieving Current Frame Plot Type
Syntax type = tpplottype()
type = tpplottype(type)
See Also tpopen , tpdims , tpmacrostring

Description
Determines and optionally sets the plot type for the current frame. The value type is a character row vector that equals "CARTESIAN2D", "CARTESIAN3D", "XYLINE", "SKETCH", or "POLARLINE". If the type is not given as an argument, the tpplottype function returns the current plot type without changing it.

Examples
If you enter,
   tpopen
   print tpplottype()
O-Matrix will echo
   SKETCH
which is the default plot type for new frames. If you continue the example by entering
   tpcontour(rand(10,12))
   tpplottype("CARTESIAN3D")
Tecplot will create a contour plot and change the plot type to 3D.