plot 3 figures in 1 figure
显示 更早的评论
Hi,
I have 3 figures:
curve1.fig
curve2.fig
curve3.fig
Each figure has a curve. I want to plot these 3 curves in 1 figure.
Can you help me? Thanks
2 个评论
Mahmudur Rahman
2017-1-5
U can plot all three curves in one figure using
plot(x1,y1,'g',x2,y2,'b',x3,y3,'r')
g,b,r are different colors...
lot(x1,y1,'g',x2,y2,'b',x3,y3,'r') Works better
采纳的回答
更多回答(2 个)
Joseph Schey
2017-11-13
For future users, using "hold on" between each plot should keep them in the same graph.
For example
plot(t,x1)
hold on
plot(t,x2)
hold on
plot(t,x3)
will plot the 3 graphs on one.
ES
2013-12-19
0 个投票
2 个评论
Deniz
2013-12-19
ROSHAN MOHAPATRA
2015-4-10
Chocolate Warrior read the question carefully then answer... he is telling how to plot 3 different values in a single figure ..
example-
x=[0.088 0.029 0.0039]
y=[40 34 28]
z=[54 109 212]
xyz plotting should be shown in a single figure not separated figures
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!