CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Tecplot (
-   -   How to plot a 3D XY line? (

sunset December 9, 2013 02:55

How to plot a 3D XY line?
Can someone help me to plot a picture like this?
I don't know how to prepare the data format.

scott_rumage December 10, 2013 14:37

Plotting a 3D line in Tecplot
Your question is a basic one, and the answer depends on what you are really trying to achieve. So I will show a simple Tecplot format, and refer you to the user manual here: to makes plots of increasing complexity.

The 3-D plot you show would have six zones in Tecplot – one for each line. To create one of the lines (or zones) you would have a data file similar to what is found on page 128 of the Tecplot data format manual located here: .

Here is an example for the creation of one of the six lines.

TITLE = "Example: Simple 3D Line"
VARIABLES = "X", "Y", "Z", "Density"
1.0 2.0 1.0 2.21
2.0 2.1 1.0 5.05
3.0 2.2 1.0 7.16
4.0 3.0 1.0 3.66

This data file is in a Tecplot ASCII format (*.dat), and can be directly loaded in Tecplot via the Tecplot data loader.

The next step would be to sequentially load in the remaining 5 lines (or data sets) into Tecplot 360 and create the plot.

BTW … the default view for Tecplot 360 for 3-D plots is to not have the XYZ axis show for a volume plot. To show the XYZ axis go to Plot>>Axis and click on “Show Axis” for each dimension.

All times are GMT -4. The time now is 16:50.