[Top][All Lists]

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

[Octave-bug-tracker] [bug #37645] "set" function not properly working wi

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #37645] "set" function not properly working with prop/val structure input.
Date: Sun, 28 Oct 2012 15:03:56 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0


                 Summary: "set" function not properly working with prop/val
structure input.
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: dim. 28 oct. 2012 15:03:55 GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



Consider the following code that copies the position related properties from
one axes to another:

figure (1); clf
plot (1:10)
legend ('toto')
prp.position = get (gca, 'position');
prp.outerposition = get (gca, 'outerposition');
prp.activepositionproperty = get (gca,'activepositionproperty');
disp (prp)

##set props using a PV structure
figure (2);
ax = axes ();
set (ax, prp);
prpout.position = get (ax, 'position');
prpout.outerposition = get (ax, 'outerposition');
prpout.activepositionproperty = get (ax, 'activepositionproperty');
disp (prpout)

The final position of the clone axes is not properly set: the
"activepositionproperty" are not identical in prp and prpout. 


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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