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: Change xlabel of subplot with already stored figure
Replies: 8   Last Post: Sep 12, 2013 5:59 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Sankalp Dayal

Posts: 4
Registered: 9/11/13
Change xlabel of subplot with already stored figure
Posted: Sep 11, 2013 2:24 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have an already stored figure which has 2 subplots. When I now open it and want to change the xlabel of first plot and use subplot(2,1,1) it creates a new plot.


uiopen('figname.fig');
h = gca;
hold(h);
subplot(2,1,1);
%Here it creates a new plot instead of keeping the old one.
xlabel('Samples at 50 Hz')


I can comfortably do it using the plot browser but cant do it using the commands. I have large number of plots in which I have to change the xlabel, hence I need to write a script to do it.



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.