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

classic Classic list List threaded Threaded
4 messages Options
Carrico, Paul Carrico, Paul
Reply | Threaded
Open this post in threaded view
|

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

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');
 


-----------------------------------------------------------------
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

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.


	
	
	
	
sylvestre sylvestre
Reply | Threaded
Open this post in threaded view
|

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


Le lundi 01 août 2011 à 11:26 +0200, Carrico, Paul a écrit :
> Everything is in the object name !!
> a.anti_aliasing = "16x";
Replace a. by f.

and here is the result

Sylvestre


sinus.gif (19K) Download Attachment
Carrico, Paul Carrico, Paul
Reply | Threaded
Open this post in threaded view
|

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

Thanks

Paul


-----Message d'origine-----
De : Sylvestre Ledru [mailto:[hidden email]]
Envoyé : lundi 1 août 2011 11:45
À : [hidden email]
Objet : Re: [scilab-Users] how to corectly activate anti-aliasing option to "16x" ?


Le lundi 01 août 2011 à 11:26 +0200, Carrico, Paul a écrit :
> Everything is in the object name !!
> a.anti_aliasing = "16x";
Replace a. by f.

and here is the result

Sylvestre

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


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.

Jaundre Venter Jaundre Venter
Reply | Threaded
Open this post in threaded view
|

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

Thanks Paul

is it possible to send you a SCILAB file of my model? i think you will then see better where the problem is as it stil gives me a error.

I dont really understand where my problem was. i am very new to simulation programs.



On Mon, Aug 1, 2011 at 11:48 AM, Carrico, Paul <[hidden email]> wrote:
Thanks

Paul


-----Message d'origine-----
De : Sylvestre Ledru [mailto:[hidden email]]
Envoyé : lundi 1 août 2011 11:45
À : [hidden email]
Objet : Re: [scilab-Users] how to corectly activate anti-aliasing option to "16x" ?


Le lundi 01 août 2011 à 11:26 +0200, Carrico, Paul a écrit :
> Everything is in the object name !!
> a.anti_aliasing = "16x";
Replace a. by f.

and here is the result

Sylvestre

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


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.