Info

This question is closed. Reopen it to edit or answer.

i need help in combining three subplot of fig file.

1 view (last 30 days)
Kelvin
Kelvin on 30 Mar 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi guys,
i am already at my wits and i am not very good in matlab.
i need to combine three 2 by 1 subplots fig file into one with each overlaying another. and thereafter i need to change the line type and colour! could anyone help me with this please? T_T
many many many thanks.
this is what i have done so far.
fig1 = load('graph1.fig');
x_fig1=get(get(gca,'children'),'xdata');
y_fig1=get(get(gca,'children'),'ydata');
fig2 = load('graph2.fig');
x_fig2=get(get(gca,'children'),'xdata');
y_fig2=get(get(gca,'children'),'ydata');
fig3 = load('graph3.fig');
x_fig3=get(get(gca,'children'),'xdata');
y_fig3=get(get(gca,'children'),'ydata');
another question, there is two graph on each of the fig file, what i am doing is only calling out one data of the graph? how do i call out the other data?
PLEASE HELP! thank you people!!!!!!!!!!!!!

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!