2D surface plot
3 ビュー (過去 30 日間)
古いコメントを表示
[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 件のコメント
Anthony Smith
2011 年 6 月 17 日
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?
回答 (1 件)
Walter Roberson
2011 年 6 月 21 日
Please do not create duplicate questions. I have deleted your newer version.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!