Mercurial > octave-nkf
view .hgsub @ 18570:5ec4b7006b82
copyobj.m: Fix bug when restoring axes to a figure that had no axes to begin with (bug #41849).
* copyobj.m: Get axes using get (cf, "currentaxes") rather than gca to avoid
creating axes when they do not exist. When restoring axes at the end of
function, only do so if ca is not empty.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 13 Mar 2014 13:58:35 -0700 |
parents | 44f30dcd87e0 |
children |