How can you plot from a saved contour?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have run the contour function on a very large data set, and the structure file saved and a graph appeared. This however takes a VERY long time given the size of the file. Is there a way to plot the contour from the saved file rather than have to run the whole contour function again? Thanks.
1 comentario
Respuestas (1)
Walter Roberson
el 31 de Mayo de 2013
If you are looking to plot from a contour matrix returned by contour(), then I do not see any routine to do that. MATLAB does not use an kind of obvious routine for that internally. There might be one in the File Exchange.
Have a look at the source code for contour3() as that has the code for the old (-v6) method of producing patch objects.
The current method involves internal magic with a hggroup and a hidden undocumented property. When the property is set, something internal takes the zdata matrix of the hggroup and builds the contour matrix and patch objects; then contour() fetches the contour matrix from the resulting hggroup and returns it. There must be some plotting routine involved, but Some Things Man Is Not Intended To Know.
0 comentarios
Ver también
Categorías
Más información sobre Contour Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!