3D plot problem related to surface plot

조회 수: 3 (최근 30일)
tusu
tusu 2012년 10월 27일
Hello
I have a plot that looks like this http://s16.postimage.org/6emj8t791/3d_plot.jpg
Now i want a mat like surface not this peak ,I like a just surface plot though I have used surfc command but getting this peak style image ..which command shal I use?

답변 (1개)

Walter Roberson
Walter Roberson 2012년 10월 27일
I am confused about what you are looking for. See
mesh()
contour()
meshc();
surf()
  댓글 수: 3
Walter Roberson
Walter Roberson 2012년 10월 27일
Your data has local differences that are large compared to the difference in range between the lowest and highest value, whereas the image you show as ideal has only small local differences compared to the range between the lowest and highest value.
With the relative data values you happen to have, the cost of getting rid of the peaks will be flattening out your surface plot to very nearly flat. If that is your goal, you might as well use pcolor().
If you do not want to do that, then zlimit to change the upper bound of plotting to be a number of times larger, which will have the effect of having the actual data occupy a smaller portion of the plot, with the result that the peaks will be less prominent.
tusu
tusu 2012년 10월 30일
thank you Walter
I used pcolor() but that I did not want Sorry but I am not getting u properly,can u kindly give me the suggestion what should I do if I need that kind of graph shown in in the URL or what the hurdles in my data that preventing me from getting such a surface

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

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by