[Scilab-users] more than 3 y axis which are not plotted one above the other

Samuel Gougeon sgougeon at free.fr
Fri Aug 22 10:32:03 CEST 2014


Hello Stefan,

To do this, you may
a) cancel drawing the default axis of the related axes, using the 
gca().axes_visible property
b) replace it using drawaxis(..) to draw an extra axis. It can be drawn 
in a margin of the related axes. This works only for a linear axis. 
extra log axis is not supported.

A simple example:
plot2d()
a = gca();
a.axes_visible(2)="off";
drawaxis(tics="r",x=6.7,y=[-2, 2, 8], dir="r", sub_int=5,format_n="%g")



You may also have to tune the margin(s), using the gca().margins 
property. If so, for axes superimposed with newaxes(..), the margin of 
all superimposed axes will have to be adjusted in the same way.

HTH
Regards
Samuel

Le 22/08/2014 08:56, stefan.rau at conducta.endress.com a écrit :
>
> Hello, I want to plot several curves.
>
> The result should look like
>
> Hallo, ich muss mehrere Kurven in einem Diagramm darstellen.
>
> Es soll so aussehen:
>
> _http://www.mathworks.com/matlabcentral/fileexchange/screenshots/43/original.jpg_
>
> Are there any possibility in SciLab to plot the axis like in the picture?
>
> I have only found (in the demo_gui() plotyyy) the options 
> left/middle/right for the location of the axis in the plot2d() function.
>
> But if I have 2 axis on the right, there is one above the other....so 
> its senseless.
>
> Are there any solution for that?
>
> Thank you....regards Stefan
>
>
> _________________________________________________________________________
>
> Endress+Hauser Conducta GmbH+Co.KG
> Amtsgericht Stuttgart HRA 201908
> Sitz der Gesellschaft: Gerlingen
> Persönlich haftende Gesellschafterin:
> Endress+Hauser Conducta
> Verwaltungsgesellschaft mbH
> Sitz der Gesellschaft: Gerlingen
> Amtsgericht Stuttgart HRA 201929
> Geschäftsführer: Dr. Manfred Jagiella
> __________________________________________________________________________
>
> Disclaimer:
>
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited. If you receive
> this in error, please contact the sender and delete the material from any
> computer.
>
> __________________________________________________________________________
>
> http://www.conducta.endress.com/
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140822/76c3d032/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hceadecg.png
Type: image/png
Size: 10567 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20140822/76c3d032/attachment.png>


More information about the users mailing list