|
From: Nikolai H. <nik...@ma...> - 2006-03-07 11:16:48
|
Christopher Barker wrote:
> Nikolai Hlubek wrote:
>
>> Wouldn't another 'axis' option make the
>> whole thing more consistent?
>
>
> <soapbox>
>
> Using the OO interface everywhere would make the whole thing more
> consistent:
>
> fig = pylab.figure(1)
> ax = fig.add_subplot(111)
> ax.set_xlim(-0.25,2.0)
> ax.set_ylim(0.0,1.3)
> ax.set_aspect('scaled', True)
> ax.set_autoscale_on(False)
> ax.plot((0,.2,.3,.4,1.5), (0,.5,.3,.92,.48))
>
> <\soapbox>
> flame(on) ;-)
If a procedural interface is provided whats wrong with using it?
And besides, who uses an interface which reminds of disposal of bodily
wastes? ;-)
> flame(off)
Nikolai
--
"1984" is not a howto!
|