how to merge some figures in a same x and y axes?

3 ビュー (過去 30 日間)
Mehdi Alidadi
Mehdi Alidadi 2015 年 8 月 1 日
編集済み: Mic 2015 年 8 月 2 日
Hi. I,ve done cftool and output's are 4 figures, Now I want to come all figures to one, but I don't want subplot. being with the same x axes.

回答 (1 件)

Mic
Mic 2015 年 8 月 2 日
編集済み: Mic 2015 年 8 月 2 日
Do you mean something like this?
figure;
xaxis = 0:0.01:max(v); %max(v) is the maximum value on the x axis
plot(xaxis,FUNCTION1,'r:','LineWidth',2);
hold on;
plot(xaxis, FUNCTION2,'k:','LineWidth',2);
plot(xaxis, FUNCTION3,'b:','LineWidth',2);
plot(xaxis, FUNCTION4,'g:',...
'LineWidth',2)
legend({'FUNCTION1','FUNCTION2', 'FUNCTION3',...
'FUNCTION4'},'Location','SE');
axis ([0 1 0 1]); % dimension of x (0 to 1) and y (0 to 1) axes
hold off;

カテゴリ

Help Center および File ExchangeGraphics Object Identification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by