[Scilab-users] Rotate an xarc figure

2012-12-19 Thread Dang, Christophe
Hello, I think this is a bit the same as http://mailinglists.scilab.org/Plot-overlays-on-images-tt2617675.html but as it was 2,5 years ago, I try again... So, I work on ellipse fitting, and would like to display the regression model superimposed to the experimental points. I extract the paramet

Re: [Scilab-users] Rotate an xarc figure

2012-12-19 Thread CRETE Denis
style=-3) HTH Denis -Message d'origine- De : users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] De la part de Dang, Christophe Envoyé : mercredi 19 décembre 2012 11:51 À : International users mailing list for Scilab. Objet : [Scilab-users] Rotate an xarc figure Hello,

Re: [Scilab-users] Rotate an xarc figure

2012-12-19 Thread Samuel Gougeon
Hello Christophe, Le 19/12/2012 11:51, Dang, Christophe a écrit : Is there an elegant way to do this or do I have to calculate some points and draw with xpoly (ro something else)? rotate() can be used when points defining a 2D curve are available, while the object returned by xarc() is paramet

Re: [Scilab-users] Rotate an xarc figure

2012-12-20 Thread Dang, Christophe
Thanks Denis and Samuel. I personally used the following solution. Feel free to criticize if there is something to improve. function [] = trace_ellipse(xc, yc, a, b, phi) // trace l'ellipse de centre (xc, yc) // de rayons a et b et tournée de phi pas = 0.1; t = 0:pas:%pi/2; X