octave-maintainers
[Top][All Lists]
Advanced

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

Re: proposed changes to legend()


From: Ben Abbott
Subject: Re: proposed changes to legend()
Date: Sat, 06 Jul 2013 12:50:10 -0400

On Jul 6, 2013, at 11:20 AM, Ben Abbott wrote:

> 
> On Jul 6, 2013, at 11:12 AM, Rik wrote:
> 
>> On 07/06/2013 05:18 AM, Ben Abbott wrote:
>>> Rik,
>>> 
>>> I thought I'd address this to you as the you and I have made most of recent 
>>> changes to legend(), and I'd like to hear from someone familiar with 
>>> legend.m before proceeding.
>>> 
>>> Since Octave has no way to reliably determine the tightinset for gnuplot, I 
>>> am proposing implementing a different behavior for gnuplot and opengl.
>>> 
>>> In the case of gnuplot, my thought is to let gnuplot handle the location of 
>>> the keybox and the plotbox (this requires that legend() set the 
>>> activepositionproperty of the plotbox to "outerposition" when the keybox is 
>>> outside the plotbox).
>>> 
>>> For opengl, the goal is full Matlab compatibility.
>>> 
>>> I have three changesets prepared (1) new demos which highlight the 
>>> problems, (2) the new gnuplot behavior.  Which implements a behavior close 
>>> to what was in the 3.2.x series. (3) fixes for opengl.  I've placed them on 
>>> the patch tracker, and will follow up with pdf's of all the demos for both 
>>> gnuplot and opengl shortly.
>> 7/6/13
>> 
>> Ben,
>> 
>> I think what you are proposing is fine.  Supporting two graphics backends
>> is difficult for such a small group of volunteers, and we know that the
>> future for Octave lies with OpenGL and Qt.  Given that, implementing a few
>> kluges for gnuplot, which are eventually going to be ripped out, seems like
>> an expedient tactic.
>> 
>> --Rik
> 
> Ok. I'll proceed.
> 
> Ben

Done.

http://hg.savannah.gnu.org/hgweb/octave/rev/1c4be5dcacd5

http://hg.savannah.gnu.org/hgweb/octave/rev/8f9ed9d8a478

http://hg.savannah.gnu.org/hgweb/octave/rev/8a4e53cf79c9

Ben



reply via email to

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