SHARE
TWEET

Untitled

a guest Jan 12th, 2017 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function mergeFigures(baseFigNumber,joinFigNumber)
  2. % Join datasets from one Figure (joinFig) into another different figure (baseFig)
  3.  
  4. baseFig = figure(baseFig);
  5. joinFig = figure(joinFig);
  6. handleLine = findobj(joinFig,'type','line');
  7. figure(baseFig)
  8. hold on
  9. plot(get(handleLine,'XData'), get(handleLine,'YData'), 'Color', get(handleLine,'Color'));
RAW Paste Data
Top