Plotting a line over a surface/contour plot

4 visualizaciones (últimos 30 días)
Willow Miller
Willow Miller el 25 de Mzo. de 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

Respuestas (0)

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!

Translated by