Contents Previous Next Subchapters

Obtaining a Zone Name from Zone Number
Syntax name = tpzonename(zone)
See Also tpvarnum , tpvarname , tpzonenum

Description
Returns the Tecplot zone name for the given zone number. The argument zone must be a positive integer scalar. The return value name is a character row vector that specifies the name of the requested zone. If the return value name equals " " then the requested zone does not exist in the current data set.

Examples
If you enter the following,
   fName = [OM_INSTALL,"\example\tecplot\rainfall.plt"] 
   tpopen(fName)
   tpzonename(2)
O-Matrix will open the rainfall sample data file from your distribution and display the zone name, for zone number 2.
ZONE 2