<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello Samuel,<br>
      <br>
      With your example, I don't see any difference on the various
      computers I have.<br>
      I think I used anti_aliasing in the past but I cannot find back a
      script where I used it.<br>
      I think I used it on 3D plots (surf?), maybe for the export to
      graphic files but I am not sure.<br>
      If I can find something I'll let you know.<br>
      <br>
      Antoine<br>
      <br>
      <br>
      Le 07/05/2018 à 14:36, Samuel Gougeon a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:3e7e61f7-ff70-62d5-9a15-ab4a772e3ec0@free.fr">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <p>Hello,</p>
      <p>The gcf().anti_aliasing figure property was implemented many
        years ago (in the early Scilab 5.x versions).</p>
      <p>It aims to reduce the "staircase effect" for lines drawn very
        close to vertical or horizontal directions.<br>
      </p>
      <p>Yet, has anyone ever seen an actual effect on graphic
        rendering, as expected and described in the <a
href="http://gitweb.scilab.org/?p=scilab.git;a=blob;f=SEP/SEP_016_anti_aliasing.odt;h=e267088c7ed7e5a4cd0ae29b744616332423224e;hb=HEAD"
          moz-do-not-send="true">related SEP#16</a> ? <br>
        I never did, whatever were the computer and its graphic card i
        used.<br>
        Still now with Scilab 6.0, i don't see any effect.<br>
        <br>
        The staircase effect can easily be seen with the following code:<br>
      </p>
      <pre class="bz_comment_text" id="comment_text_2" style="font-size: small; font-family: monospace; white-space: pre-wrap; width: 786.4px; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">x = [0 1];
y = (0:0.02:1)';
y = [y y+0.02]';
clf
plot2d(x,y)
f = gcf();
f.anti_aliasing  // should display "off" (by default)

f = scf();
f.anti_aliasing = "8x";
plot2d(x,y)
</pre>
      Then compare both figures.<br>
      I get the following, whatever is the .anti_aliasing value.<br>
      <img src="cid:part2.D2DDADB8.35700FE5@laas.fr" alt="" class=""><br>
      <br>
      Does anyone get anything else, closer to the expected "dithered"
      rendering?<br>
      Either it will be possible to better document the effect of this
      property,<br>
      as requested in the <a
        href="http://bugzilla.scilab.org/show_bug.cgi?id=6777"
        moz-do-not-send="true">bug report 6777</a>, or to reopen the <a
        href="http://bugzilla.scilab.org/show_bug.cgi?id=11311"
        moz-do-not-send="true">bug 11311</a> reporting <br>
      that it is out of work.<br>
      <p>Thanks<br>
        Samuel<br>
        <br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 Antoine Monmayrant LAAS - CNRS
 7 avenue du Colonel Roche
 BP 54200
 31031 TOULOUSE Cedex 4
 FRANCE

 Tel:+33 5 61 33 64 59
 
 email : <a class="moz-txt-link-abbreviated" href="mailto:antoine.monmayrant@laas.fr">antoine.monmayrant@laas.fr</a>
 permanent email : <a class="moz-txt-link-abbreviated" href="mailto:antoine.monmayrant@polytechnique.org">antoine.monmayrant@polytechnique.org</a>

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

</pre>
  </body>
</html>