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: One strange thing when I use subplot, did I do anything wrong? or is it a bug?
Replies: 5   Last Post: Aug 18, 2014 1:36 AM

Advanced Search

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

Posts: 2
Registered: 2/16/10
One strange thing when I use subplot, did I do anything wrong? or is it a bug?
Posted: Feb 16, 2010 6:16 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

When I run the following code, the axes keeps shinking;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
figure
while 1
subplot(2,1,2)
imagesc(rand(100))
colorbar
title('Click Enter, the axes will shrink')
pause
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

It won't happen if I did not call colorbar and title.

I use the version 2009a.
Does it happen on your machine?

Any idea about it? Thanks!



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.