How can I plot a 2D plot from a 3D plot?
4 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
KSSV
2016-9-27
when you run this model, the required output variables are stored in workspace. They are structures, the desired result can be extracted from here.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!