Why does surf print image to screen so much faster than contourf?

2 ビュー (過去 30 日間)
Patrick Hammer
Patrick Hammer 2017 年 10 月 18 日
回答済み: Nicolas Schmit 2017 年 10 月 19 日
Hello, I'm trying to plot a large data set using contourf, but it takes an extremely long time just to show up on my screen. I use surf and it prints to the screen very quickly, however it doesn't render as well. I was wondering why this might be>

回答 (1 件)

Nicolas Schmit
Nicolas Schmit 2017 年 10 月 19 日
Probably because contourf() has to slice the dataset to calculate the coordinates of the contours plots, whereas surf() can directly plot the surface from the coordinates.

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by