Contents Previous Next Subchapters

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

Description
Returns the Tecplot zone number for the zone name specified by the character row vector name in the current data set. If the return value zone is less than 1 then the specified zone name does not exist in the current data set.

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