|
[Sponsors] |
June 2, 2017, 11:54 |
3D contour plot from matlab vectors
|
#1 |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Hello, I want to create a 3D surface contour plot of a variable. I have around 50K data points (x,y,z co-ordinates of each point) and the value of a variable at each of these points. I want to make a filled contour plot of this variable on the 3d surface that would so be formed by joining all the data points. As an example to clear things up, this is what I want to plot. Can this be done in tecplot?
PS - All the co-ordinate points and the value of the variable are stored as vectors obtained from MATLAB. So [x] = [x1,x2,x3,...,xn] and so on. |
|
June 5, 2017, 13:19 |
|
#2 |
Member
Join Date: May 2013
Posts: 61
Rep Power: 13 |
Hi diggee,
This is defiantly something Tecplot would be great for. The best way to do this is creating an IJ-ordered zone into Tecplot file format. By setting K = 1 it defines it as a surface but can be plotted in 3D. The zone will have a variable list of "X,Y,Z,X1,X2,X3...Xn". Check this webinar out for more information (Particularly the MATLAB logo example). http://www.tecplot.com/blog/2017/06/...-file-formats/ With 50K points performance is likely going to be an issue if you are working in ASCII, so I would give Tecplot TecIO library a shot to write Tecplot binary files. Feel free to contact support@tecplot.com if you have more questions. Devon -Tecplot Product Engineer |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Export/Import data contour plots with Matlab | meangreen | FLUENT | 11 | October 28, 2020 11:06 |
[General] 3D contour plot from matlab matrices | diggee | ParaView | 0 | June 2, 2017 11:41 |
Viewing the 3D plot in matlab | KaranG | Main CFD Forum | 2 | April 10, 2017 08:55 |
generating 2d-planar contour plots from a contour plot on a curved surface | alinik | CFX | 3 | May 21, 2016 07:17 |
Matlab PP: Generating X-vel Contour Error Plot | Bennp2000 | FLUENT | 5 | March 4, 2011 16:58 |