Plotting a line over a surface/contour plot

5 vues (au cours des 30 derniers jours)
Willow Miller
Willow Miller le 25 Mar 2014
Hi there,
I'm currently working on a project that involves plotting the temperature distribution over a plate (just a bit of background). I would like to label the graphs I have with lines plotted at various locations. How would I go about this? I don't want to use the annotate function as it creates various extra problems!
Thanks!!! xxx
The code I've used to plot the graphs is pasted below
figure(1)
contourf(temp , 25, 'LineColor', 'none') colormap 'autumn' colorbar view (0, 270) xlabel 'Plate Length' ylabel 'Plate Height' title 'Temperature Distribution of a Plate'
figure(2)
surfplot = surf(temp) colormap 'autumn' colorbar view (135 , 40) xlabel 'Plate Length' ylabel 'Plate Height' zlabel 'Temperature' title 'Temperature Distribution of a Plate' lighting phong

Réponses (0)

Catégories

En savoir plus sur Contour 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!

Translated by