octave-maintainers
[Top][All Lists]
Advanced

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

Re: Problem with printing plots


From: Ben Abbott
Subject: Re: Problem with printing plots
Date: Fri, 09 Mar 2012 13:18:02 -0500

On Mar 9, 2012, at 10:49 AM, Michael Goffioul wrote:

> On Fri, Mar 9, 2012 at 3:23 PM, Ben Abbott <address@hidden> wrote:
>> This is not working correctly.
>> 
>> p = get (ht(9), "position")
>> p =
>> 
>>   0.83526   0.75000
>> 
>> set (ht(9), "position", [p, 0])
>> get (ht(9), "position")
>> ans =
>> 
>>   0.83526   0.75000   0.00000
>> 
>> set (ht(9), "position", p)
>> get (ht(9), "position")
>> ans =
>> 
>>   0.83526   0.75000
>> 
>> get (ht, "position") should always return a triplet.
> 
> It returns whatever you assign to it (with the constraint that it has
> to be a vector with 2 or 3 elements). If it can't be a 2D vector,
> fine, we can remove the constraint on 2D vectors in graphics.h.in, but
> I suspect this will break other things, as apparently legend is using
> 2D vectors.
> 
> Michael.

We're still a way from the next release. Perhaps we should try removing the 
constraint on 2D vectors and begin tracking down the bugs ?

Ben


reply via email to

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