Slice plot from excel sheet conatining x, y, z and temeprature at each points in volume. the points are not in grid format.
3 views (last 30 days)
Show older comments
I would like to plot volume and slice plot form a excel sheet which has x, y, z and temperature at coordinates in column 1 to 4. the No of rows are 1000 same as no. of points. Please provide your thoughts for generating slice plot at particular z coordinates.
0 Comments
Answers (1)
Image Analyst
on 19 Sep 2014
Edited: Image Analyst
on 19 Sep 2014
You have a bunch of temperatures scattered around a 3D volume. You don't have temperatures for every single x,y,z in that volume, but you'd like to have that, so that you can get a plane in the x-y plane that is at a particular z height. So you need to build your solid 3D volume. For that you can use the scatteredInterpolant() class . This will give you a regular grid - a 3D array with temperatures at every single x,y,z location. Then you can extract a slice at some chosen z value like this:
xy2DSlice = array3d(:,:,z); % You tell it what z you want.
0 Comments
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!