How can I plot a 2D plot from a 3D plot?
Ältere Kommentare anzeigen
Hello,
I am using the next code to plot the temperature colors in a 2 Dimensional geometry using the pdeplot
if true
figure;
pdeplot(model,'xydata',u(:,end),'contour','on');
axis auto
title (sprintf('Temperature at Final Time (%g seconds)',tfinal))
xlabel 'x (m)'
ylabel 'y(m)'
end
Do you know how I can extract 2D plot from there? I would like to plot 1 dimension vs temperature.
Thank you very much in advance,
L
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Electromagnetics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!