필터 지우기
필터 지우기

2D surface plot

조회 수: 3 (최근 30일)
Sami
Sami 2011년 6월 16일
[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
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?
Sami
Sami 2011년 6월 20일
Actually I want to plot a planar surface that shows me, in the correct y and z position how many rows I have in each cell of the m*n matrix, witha color map. SO if in the 1st cell I have a matrix with 3 rows, I want that on the map there is a color 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.
hope that is more clear now
thanks

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2011년 6월 21일
Please do not create duplicate questions. I have deleted your newer version.

카테고리

Help CenterFile Exchange에서 Geometric Geodesy에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by