octave-maintainers
[Top][All Lists]
Advanced

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

Re: Proposed 'position' change


From: dbateman
Subject: Re: Proposed 'position' change
Date: Fri, 3 Oct 2008 09:02:53 -0700 (PDT)


Daniel J Sebald wrote:
> 
> Is there an "auto-compute" concept then?  Having an auto-computed (x,y)
> and fixed (width,height) doesn't make sense.
> 

I fully suppport a change something like this, and in fact the colorbar,
plotyy patch I circulated included something like this. Yes some
auto-computation in octave is necessary to get things to line up, and must
include in the calculation

1) tic label size
2) x/y/z label sizes that are font dependent
3) ditto for the title
4) presence and size of the colorbar
5) ActivePositionProperty and feedback from the graphics backend when doing
window resizing

Of course Octave does none of this yet and previously relied on the
automatic scaling of gnuplot. But to get things right that intelligence must
be moved back into Ocatve. In any case the reason my colorbar/plotyy patch
isn't commit are some issue with updating axis properties mixed with
callback functions in the axis code that no one seems to be able to find the
bug. In any case I'd encourage you to work from the base of my patch that I
can send offline if you are interested and with Octave 3.1.51+

As for details on how this calculation should be done for compatibility,see 


http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/creating_plots/f1-32495.html

D.

PS sorry for the partial post previous, as I writing with a baby in my arms
:-)
-- 
View this message in context: 
http://www.nabble.com/Proposed-%27position%27-change-tp19791875p19800792.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

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