help-octave
[Top][All Lists]
Advanced

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

Re: moving graphic objecs


From: Andy Buckle
Subject: Re: moving graphic objecs
Date: Fri, 15 Oct 2010 18:05:18 +0100

On Fri, Oct 15, 2010 at 5:09 PM,  <address@hidden> wrote:
> Hi, is there a way to move one graphic
> object in front of another, say a line
> object in front of a patch object?
> In MATLAB one can do this with the
> uistack command, but there is no equivalent
> in Octave. Is there a workaround?
>
> Someone mentioned changing the children
> property, but how exactly does that work?
> --
> Mayer

I think Ben meant something like this. I had not tried this before,
but it did not work for me

octave-3.2.4.exe:15> kids=get(gca(),'children')
kids =

  -4.7675
  -5.3755

octave-3.2.4.exe:16> kids=kids([2 1])
kids =

  -5.3755
  -4.7675

octave-3.2.4.exe:17> set(gca(),'children',kids)
error: set: new children must be a permutation of existing children

-- 
/* andy buckle */


reply via email to

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