How can I refresh input data and update plot in MATLAB GUI? -


i working matlab gui. problem plots not updated when change input data. code long here plotting function using:

axes(handles.diagram1) hold i=1:6:numel(t)     plot(rn,e(i,:)/1000000)   end set(axeshandle,'diagram1','diagram1'); 

the tag of axis plot "diagram1!

how can fix this?

matlab plots not permanently linked data display, if change data after plotting, plot not automatically updated. need update plot after changing data reexecuting plot command.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -