Contents Previous Next Subchapters

wtecplot - Writing and Creating Tecplot Files
Syntax
dll dll\tecplot.dll, wtecplot
wtecplot
(fileversiontitlevnameznameezonezcolor, ...
     
imaxjmaxkmaxpointelem)
See Also rtecplot , pltgui

Description
The wtecplot function provides low-level capabilities for writing Tecplot .PLT files in O-Matrix. Arguments use the same conventions as in Tecplot. See your Tecplot documentation for details on the structure and content of .PLT files.

Arguments
All arguments to wtecplot are input values and are not modified by the function. See the documentation for rtecplot for a description of each of the arguments.

Example
The following example demonstrates creating and reading a Tecplot .PLT data file.


clear
dll dll\tecplot.dll, rtecplot, wtecplot
#
x = seq(11) - 5.
y = x^2
z = x^3  
#
rmfile("TEMP.OUT");
#
file = "TEMP.OUT"
title = "Demonstrating Tecplot I/O"
tecVersion = 6.5
vname = {"x", "y", "z"}
zname = "zone 1"
zcolor = "undef "
ezone = false
imax = 11
jmax = 1
kmax = 1
point =  [x, y, z]
elem = fill(0, 0, 8)
wtecplot(file, ...
     tecVersion, ...
     title, ...
     vname, ...
     zname, ...
     ezone, ...
     zcolor, ...
     imax, ...
     jmax, ...
     kmax, ...
     point, ...
     elem ...
);
Version = novalue
Title = novalue
Vname = novalue
Zname = novalue
Ezone = novalue
Zcolor = novalue
Imax = novalue
Jmax = novalue
Kmax = novalue
Point = novalue
Elem = novalue
rtecplot(file, ...
     Version, ...
     Title, ...
     Vname, ...
     Zname, ...
     Ezone, ...
     Zcolor, ...
     Imax, ...
     Jmax, ...
     Kmax, ...
     Point, ...
     Elem ...
);