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 CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by