Plotting a line over a surface/contour plot

4 ビュー (過去 30 日間)
Willow Miller
Willow Miller 2014 年 3 月 25 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by