user interface - Plotting in GUI of Matlab -
until had 1 axis in gui used plot directly using plot command. plus need plot these in loop.
for = 1:length(sig) plot(sig(i).time,sig(i).signal,sig(i).time,updated(i).filter,) hold on end
now have 2 axes in gui, how can make plot appear in 1st axis , in 2nd axis
now example need plot below in 2nd axis
= 1:length(sig) plot(sig(i).time,sig(i).fil,sig(i).time,updated(i).sig,) hold on end
any appriciated
you specify axes hold
, plot
functions. considering have 2 axes, h1
, h2
inside figure, following:
hold(h1, 'on') hold(h2, 'on') = 1:length(sig) plot(h1, sig(i).time,sig(i).signal,sig(i).time,updated(i).filter) plot(h2, sig(i).time,sig(i).fil,sig(i).time,updated(i).sig) end
Comments
Post a Comment