<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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">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.0BFFFD1E.6E5DEB40@free.fr" alt=""><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">bug report
6777</a>, or to reopen the <a
href="http://bugzilla.scilab.org/show_bug.cgi?id=11311">bug 11311</a>
reporting <br>
that it is out of work.<br>
<p>Thanks<br>
Samuel<br>
<br>
</p>
</body>
</html>