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

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

[Octave-bug-tracker] [bug #39529] graphics functions: unneeded new axis


From: Rik
Subject: [Octave-bug-tracker] [bug #39529] graphics functions: unneeded new axis when parent is specified as prop/val
Date: Fri, 19 Jul 2013 21:40:57 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

Follow-up Comment #1, bug #39529 (project octave):

Can someone with access to Matlab run the following code?


hf1 = figure (1)
hax1 = axes
hf2 = figure (2)
hax2 = axes
gca
plot (hax1, 1:5)
gca
gcf
plot (5:-1:1, 'parent', hax1)
gca
gcf


I'm trying to see if Matlab saves and restores the current figure and axis.

Right now Octave uses unwind_protect blocks to do saving/restoring but it
might be simpler to switch gca to the named axis (like hax1 in the example)
and just leave it there.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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