Plot 3D figure from a pcolor figure
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I have generated a figure by using "pcolor" to see the propagation of laser into plasma (as shown in below figure). The laser is specified by color such as read, blue,... The green color shows the plasma
But the case is I want to plot a 3D figure from this "pcolor" figure to see the real behaviour of laser inside plasma .
Therefore, I wonder is there anyone having any idea on that?
Thank you very much.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/271726/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/271726/image.png)
0 commentaires
Réponses (1)
Sai Bhargav Avula
le 19 Fév 2020
Hi,
This is totally dependent on the data you want to visualize. For 3D visualization of your data, functions like surf is very handy. You can also use https://www.mathworks.com/matlabcentral/fileexchange/37268-3d-volume-visualization , which provides an interactive 3D volume visualization.
Hope this helps!
3 commentaires
Sai Bhargav Avula
le 19 Fév 2020
Modifié(e) : Sai Bhargav Avula
le 20 Fév 2020
can you give more details about what you mean by "I want to plot a 3D figure from this "pcolor" figure to see the real behaviour of laser inside plasma".
If you just want to shift the pcolor in the 3rd dimension for better visulization. This can be achieved by changing the ZData surface property of the pcolor like
plt = pcolor('youdata');
plt.ZData = 'yourvalue';
for other Surface properties you can refer to the link
Voir également
Catégories
En savoir plus sur Discrete Data Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!