# Thread Subject: surf with 3 vectors

 Subject: surf with 3 vectors From: Octavian Date: 18 May, 2009 17:05:04 Message: 1 of 3 Hello, Is it possible to make a plot with "mesh" or "surf" with 3 vectors that consists of the x-data, y-data and z-data? I've got no ideas how i am suppose to turn my vectors in to the matrices wich those methods ask for. My x- and y-vectors are two parameters extracted from images of people with brain tumors and the z-coordinate is how many times the specific x- and y value shows up. Let's say I manage (with help from you of course) to make the mesh-plot, is it then possible to say that the contour lines projected into the xy-plane should be where for instance 10%,50% and 90% of the total distribution lay within? It would be a nice to visualize several tumors this way; they you can say something about if it is possible to differensiate different groups! I would appreciate if you could help me and/or give me some ideas concerning this problem. All best regards, Octavian
 Subject: surf with 3 vectors From: Octavian Date: 19 May, 2009 14:20:17 Message: 2 of 3 From now on i shall start reading the manuals on mathworks :) This pages gives all the answers together with the function contour. http://www.mathworks.com/support/tech-notes/1200/1212.html :D
 Subject: surf with 3 vectors From: Luigi Giaccari Date: 19 May, 2009 15:10:17 Message: 3 of 3 "Octavian " wrote in message ... > Hello, > > Is it possible to make a plot with "mesh" or "surf" with 3 vectors that consists of the x-data, y-data and z-data? I've got no ideas how i am suppose to turn my vectors in to the matrices wich those methods ask for. > > My x- and y-vectors are two parameters extracted from images of people with brain tumors and the z-coordinate is how many times the specific x- and y value shows up. > > Let's say I manage (with help from you of course) to make the mesh-plot, is it then possible to say that the contour lines projected into the xy-plane should be where for instance 10%,50% and 90% of the total distribution lay within? It would be a nice to visualize several tumors this way; they you can say something about if it is possible to differensiate different groups! > > I would appreciate if you could help me and/or give me some ideas concerning this problem. > > All best regards, > Octavian I don't cleary understad what your problem is but I thing one of this tools can be good: http://giaccariluigi.altervista.org/blog/ http://www.mathworks.com/matlabcentral/fileexchange/22185 http://www.mathworks.com/matlabcentral/fileexchange/22595 http://www.mathworks.com/matlabcentral/fileexchange/23447

### Everyone's Tags:

Separated by commas
Ex.: root locus, bode

### What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.