[scilab-Users] Is there a Angle Histogram in Scilab?

Pierre LANDO pierre.lando at scilab.org
Tue Sep 29 16:42:02 CEST 2009


Lucio Agostinho Rocha says : "Is there a Angle Histogram in Scilab?"

As I know no, but you can use xfarcs

******
function AngleHistogram(R,A,E,C)
  plot2d(0,0,-1,"031"," ",[-1,-1,1,1]);
  arcs=[-R;R;2*R;2*R;(A-E/2)*64;E*64];
  xfarcs(arcs,C);
endfunction


R=[.7,.5,.6]        // radius
A=[12,225,136]    // theta
E=[42,25,36]        // opening angle
C=[3,4,5]        // color


AngleHistogram(R,A,E,C)
******

-- 
-------------------------
Pierre LANDO
Ingénieur de développement
-------------------------
Consortium Scilab
Digiteo
Domaine de Voluceau
Rocquencourt - B.P. 105 
78153 Le Chesnay Cedex France
Tél. : +33.1.39.63.58.21




More information about the users mailing list