octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #35985] subplot resets the plot when changing


From: Rik
Subject: [Octave-bug-tracker] [bug #35985] subplot resets the plot when changing axes position
Date: Wed, 04 Sep 2013 22:05:55 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Follow-up Comment #7, bug #35985 (project octave):

bug #39874 is separate from this bug #35985.

The '874 bug is about switching back and forth between identical subplots. 
When doing so the axis should not be cleared.

the '985 bug is about switching to a subplot where the axis has been shifted. 
In this case, a previous reporter has said that Matlab clears the axis.

Here is code that should work on Matlab for verification.  It doesn't use a
command line function which is Octave-only syntax.


subplot (211)
plot (1, 2,'*r')
subplot (211) % up to here no problem
p = get (gca, 'Position');
p(1) = p(1) + 0.1;
set(gca, 'Position', p);
subplot(211) % here the plot is cleared!




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35985>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]