CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > Tecplot

3D contour plot from matlab vectors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2017, 11:54
Default 3D contour plot from matlab vectors
  #1
Member
 
Join Date: Sep 2016
Posts: 43
Rep Power: 10
diggee is on a distinguished road
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.
diggee is offline   Reply With Quote

Old   June 5, 2017, 13:19
Default
  #2
Member
 
Join Date: May 2013
Posts: 61
Rep Power: 13
novedevon is on a distinguished road
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
novedevon is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 21:23.