[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scilab-users
Subject:    Re: [Scilab-users] Antwort: Re: more than 3 y axis which are not plotted one above the other
From:       Samuel Gougeon <sgougeon () free ! fr>
Date:       2014-08-22 9:18:08
Message-ID: 53F70AD0.4070301 () free ! fr
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le 22/08/2014 11:01, stefan.rau@conducta.endress.com a écrit :
>
> thanks, that helps a bit. But can you please show me an simple example 
> how I can add 3 axes. I tried to manipulate an axe position by 
> a=gca();a.margins=[...] but the result wasnt what I want.
>
Try again. As previously written, you must modify the (say right) margin 
of ALL superimposed axes. Then, it should be rendered as expected.
>
>
> Additional question: how can i force that a y axis begins by 0 and the 
> plotted curve is automatically fitted to my scale?
>
by setting gca().data_bounds(2) to 0.
http://help.scilab.org/docs/5.5.0/en_US/axes_properties.html

Samuel


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 22/08/2014 11:01,
      <a class="moz-txt-link-abbreviated" \
href="mailto:stefan.rau@conducta.endress.com">stefan.rau@conducta.endress.com</a> a \
&eacute;crit&nbsp;:<br>  </div>
    <blockquote
cite="mid:OF11263E41.6D5979B5-ONC1257D3C.00313D7B-C1257D3C.0031962F@endress.com"
      type="cite">
      <p><font size="2" face="sans-serif">thanks, that helps a bit. But
          can you please show me an simple example how I can add 3 axes.
          I tried to manipulate an axe position by
          a=gca();a.margins=[...] but the result wasnt what I want.</font><font
          size="3" face="serif"> </font><br>
      </p>
    </blockquote>
    Try again. As previously written, you must modify the (say right)
    margin of ALL superimposed axes. Then, it should be rendered as
    expected.<br>
    <blockquote
cite="mid:OF11263E41.6D5979B5-ONC1257D3C.00313D7B-C1257D3C.0031962F@endress.com"
      type="cite">
      <p>
        <br>
        <font size="2" face="sans-serif">Additional question: how can i
          force that a y axis begins by 0 and the plotted curve is
          automatically fitted to my scale?</font><font size="3"
          face="serif"> </font><br>
      </p>
    </blockquote>
    by setting gca().data_bounds(2) to 0.<br>
    <a class="moz-txt-link-freetext" \
href="http://help.scilab.org/docs/5.5.0/en_US/axes_properties.html">http://help.scilab.org/docs/5.5.0/en_US/axes_properties.html</a><br>
  <br>
    Samuel<br>
    <br>
  </body>
</html>



_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic