Plotting a line over a surface/contour plot

4 views (last 30 days)
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

Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!