Helge Avlesen wrote:
unintuitive. Maybe we could find better names than 'equal' and
'scaled', for example. Even with the docstrings, I have a hard time
keeping track of which is supposed to do what.
Hi,
I think it would be nice if pylab "semantics" were kept close to matlab.
Maybe for instance axis('scaled') could be renamed to axis('image'), and
use similar wording as mathworks documentation in the docstrings?
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/axis.html
Helge
Helge,
I understand the sentiment, but I don't always agree with it; while I don't want to do things differently from Matlab just for the sake of being different (except insofar is it may be necessary to avoid violating copyright), neither do I want to slavishly follow Matlab. Pylab/matplotlib can and should be better than Matlab. (And is in many respects.)
In the case of Matlab's axis command, the Matlab documentation makes my head spin, and the whole command strikes me as too complicated for anyone's good. I don't think every possible capability should go into the pylab interface; past a certain point, it is better to simply call axis methods, etc.
For now, I have added an axis('image') mode, which is not quite the same as 'scaled', and I have tried to improve the descriptions of the options. Please try out the various axis modes, and see if you think both the behavior and the descriptions make sense.
Eric
···
On 3/22/06, Eric Firing <efiring@...229...> wrote: