Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Extract Subplot and Plot All Again
Replies: 1   Last Post: Aug 12, 2014 2:33 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Barry Williams

Posts: 311
Registered: 6/14/06
Re: Extract Subplot and Plot All Again
Posted: Aug 12, 2014 2:33 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Sharah " <sharahamo@imperial.ac.uk> wrote in message <lscu76$5ku$1@newscl01ah.mathworks.com>...
> Hi,
>
> I have 3x1 subplots, and i want to extract all the data and plot them again in the same subplot.
> can anyone teach me how to do this?
>
> the extraction i might be able to find it but the i have problem to replot it again.


h = findall(gcf,'Type','line');
x = get(h,'XData'); y = get(h,'YData');

Barry



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.