[Scilab-Dev] plotframe obsoleted
mottelet at dma.utc.fr
mottelet at dma.utc.fr
Sat Jun 28 10:57:08 CEST 2008
Selon François Vogel <fvogelnew1 at free.fr>:
> Hi all,
>
> plotframe has just been tagged as obsolete. Fine.
>
> My question is, what is the replacement for it?
>
> So far I used:
> plotframe([-190,-60,190,100],[1,20,1,17])
>
> The only approaching thing I've found so far without using plotframe
> is to use plot2d to plot nothing (a dummy point at the center):
> plot2d(0,0,rect=[-190,-60,190,100],nax=[1,20,1,17]);
> a=gca();a.box="on";
>
> Any better replacement, perhaps?
>
maybe you can create an empty axes and then turn on everything
at hand :
ax=newaxes();
ax.axes_visible=["on";"on";"on"];
ax.data_bounds=[-190 -60;190 100]
ax.box='on';
Now I am an expert of the new graphics :-) (I've almost
finsished porting the plotlib).
S.
> Thanks,
> Francois
>
-------------------------------------------------
More information about the dev
mailing list