Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to plot 3D Contours with MATLAB !?

Status
Not open for further replies.

OMID-313

Junior Member level 2
Junior Member level 2
Joined
Dec 27, 2008
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Solar System
Activity points
1,448
Hi everybody

I have a dataset of points (XYZ as the coordinates) and V as the value at each point.
(Each of the above 4 data (X,Y,Z,V) are vectors e.g. 1x1000 vectors.)
I've plotted the 3D surface using patch command. (by the use of faces & vertices)

Now here goes the problem :

How can I plot the contour lines of V (NOT Z) over the 3D surface !?
(Actually the contour3 function plots 3D contour lines of Z ; But I need contour lines of V. )
I want some type of function or command that gets x,y,z and plots contours of V.
Actually I want something like **broken link removed** or even **broken link removed**.

Thanks a billion for your help.
 

Well actually, I recently found out that isosurface function does exactly what I need.
But there is still another problem with this function :

isosurface command needs the V to be a 3D matrix of size (x,y,z)

How can I convert vector V to a 3D matrix !?
( Vector V is not uniform or monotonic at all !! )

Thanks for your upcoming help.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top