Dear all,
I want to bring the plot on the front of the surf, not behind it.
surf(loni, lati, new_precipitation.'); view(2)
hold on
L = plot(p(:,3),p(:,2),'^k','LineWidth',.75,'MarkerFaceColor','k');
I even used
uistack(L,'top')
But it's not worked.
Any Idea?
Thank you

 採用された回答

Walter Roberson
Walter Roberson 2020 年 7 月 23 日

1 投票

Use plot3() with a z value that exceeds the maximum new_precipitation
Alternately, set the axes SortMethod to 'childorder'; see https://blogs.mathworks.com/graphics/2014/11/04/sortmethod/

1 件のコメント

BN
BN 2020 年 7 月 23 日
Thank you so much I set the axes to
ax.SortMethod = 'childorder';
As you said and it worked.
Thanks a million

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

製品

リリース

R2020a

タグ

質問済み:

BN
2020 年 7 月 23 日

コメント済み:

BN
2020 年 7 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by