How to plot a surf-plot with out data extrapolation?
3 views (last 30 days)
Show older comments
I would like to plot the same surf plot but without extrapolating on areas where are not scatter data.
The following script generates the attached figure.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/443043/image.png)
How can I get the same figure but cutted exactly on the highest Z position, which is represented by the black line and bounds the dots positions.
0 Comments
Answers (1)
Tarunbir Gambhir
on 22 Dec 2020
If I understand correcty, you want to set limits to the axes containing your figure. I suggest you use axis function to do the same.
If this is not what you want, do explain further and attach the data files so that we can repliate the results on our end.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!