Effacer les filtres
Effacer les filtres

Which is the fastest way to plot several 2D contours on one 3D plot?

3 vues (au cours des 30 derniers jours)
Denis Perotto
Denis Perotto le 14 Mar 2019
I need to plot several 2D rectangle contours on one 3D plot like this:
RESULTS_TEMP.png
To plot these contours I have more than 200000 dots with corresponding X, Y, Z coordinates and vector V with results of my calculations. The color is based on value from V, not on the level of the dot (for this I created a custom non-even colormap). I didn't find a normal way to plot my results, so I did it by cycling fill3() to plot rectangles nearly 50000 times. Even this cost me 70 seconds of plot time, 65GB RAM and wild lags. 20 cores on my workstation didn't help. I succeded in saving the figure, but couldn't rotate or move it.
Can you suggest me another way to solve my problem?

Réponses (0)

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by