how to corectly activate anti-aliasing option to "16x" ?

Carrico, Paul paul.carrico at esterline.com
Mon Aug 1 11:26:30 CEST 2011


Everything is in the object name !!
Please find herebellow the Scilab code and the resulting picture !
Thanks
Paul
 
#############################################"
mode(0)

omega = 30;
t=linspace(0,1,1000);

function y=sinus(t)
    y = sin(omega*t)
endfunction

y = sinus(t);

scf(1);
drawlater();
f = gcf();
f.background = color(245,245,245);
a = gca();
a.line_style = 1;
a.anti_aliasing = "16x";
// début des courbes
plot(t,y,"b-");
e1 = gce()
p1 = e1.children
p1.thickness = 4  
p1.line_style = 0 
p1.foreground = 2 

drawnow();
xs2gif(1,'sinus.gif');
 
<http://www.esterline.com/advancedsensors/NewsnbspnbspPressCenter/Greetings2011/tabid/2628/Default.aspx> 

 


----------------------------------------------------------------- 
PAUL CARRICO 
Design Engineer / Material expert 
Temperature Department 

Esterline | Advanced Sensors 
5, allée Charles Pathé 
18941 BOURGES cedex 9 
FRANCE 

Phone : +33 (0) 2 48 66 78 50 
Fax     : +33 (0) 2 48 66 78 55 

www.esterline.com <http://www.esterline.com/> 

Featuring AUXITROL, NORWICH, and WESTON Products

Please come and visit us on our stand B242 Hall 5 at Le Bourget Airshow 20th -26th June.

----------------------------------------------------------------- 

P 
Please consider the environment before printing this e-mail 

 

--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110801/f34d7ecc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sinus.gif
Type: image/gif
Size: 4287 bytes
Desc: sinus.gif
URL: <https://lists.scilab.org/pipermail/users/attachments/20110801/f34d7ecc/attachment.gif>


More information about the users mailing list