2D surface plot
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
[EDIT: 20110621 11:03 CDT - merge duplicate - WDR]
hallo,
i have an m*n cell matrix that contains a x*4 matrix in each cell.
i want to draw a surface plot, a contourf to be precise, in which the color value is the number of the rows of which are composed the matrixes in the cells,according to the value of the y and z coordinates, that are unique for each cell in thee big m*n cell matrix. the y and z coordinates are written in the 2nd and 3d column of each x*4 matrix (in easy terms, a map of the x value all around the cell matrix acording to the y and z of the cells )
hope that somebody can help me, and hope that the message was clear enough.
thanks in advance.
Sam
[Material from duplicate question]
hallo,
i have an m*n cell matrix that contains a x*4 matrix in each cell.
i want to create a 2d color surface in which the color value is the number of the rows of which are composed the matrixes in the cells,according to the value of the y and z coordinates, that are unique for each cell in thee big m*n cell matrix. the y and z coordinates are written in the 2nd and 3d column of each x*4 matrix (in easy terms, a map of the x value all around the cell matrix acording to the y and z of the cells )
So if in the 1st cell I have a matrix with 3 rows, I want that on the map a certain color is shown and if in another cell I have a matrix with 54 rows I want another color on the map. the map will be an y z planar surface according to the values of the 2nd and 3rd column of the x*4 matrix contained in each cell.
thanks
2 commentaires
Anthony Smith
le 17 Juin 2011
To clarify: you want to go into the m*n cell matrix; "the number of the rows" is equal to the x value in each x*4 matrix; and you want to plot unique (x,y,z) sets? Or just unique x values regardless of y and z?
Réponses (1)
Walter Roberson
le 21 Juin 2011
Please do not create duplicate questions. I have deleted your newer version.
0 commentaires
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!