How to plot a surf-plot with out data extrapolation?

1 回表示 (過去 30 日間)
Philippe Corner
Philippe Corner 2020 年 12 月 3 日
編集済み: Philippe Corner 2022 年 1 月 30 日
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.
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.

回答 (1 件)

Tarunbir Gambhir
Tarunbir Gambhir 2020 年 12 月 22 日
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.

カテゴリ

Help Center および File ExchangeGrid Lines, Tick Values, and Labels についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by