MATLAB Answers

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

3 views (last 30 days)
Patrick Hammer
Patrick Hammer on 18 Oct 2017
Answered: Nicolas Schmit on 19 Oct 2017
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>

  0 Comments

Sign in to comment.

Answers (1)

Nicolas Schmit
Nicolas Schmit on 19 Oct 2017
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.

  0 Comments

Sign in to comment.


Translated by