* Bug #14731 fixed: Demos Graphics=>complex: Re+Im rotations synchronized
[scilab.git] / scilab / modules / graphics / demos / cmplxfunc / demo_atan.dem.sce
1 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 // Copyright (C) 2008 - INRIA
3 //
4 // This file is released under the 3-clause BSD license. See COPYING-BSD.
5
6 // =============================================================================
7 // atan
8 // =============================================================================
9
10 function demo_atan()
11
12     exec("SCI/modules/graphics/demos/cmplxfunc/MacCmplx.sci", -1);
13     R     = 2;
14     theta = -110;
15     alpha = 75;
16
17     PlotCmplxFunc(R,0.001,"Square","Oy",41,"atan",theta,alpha,[-R,R]);
18     demo_viewCode("demo_atan.dem.sce");
19
20 endfunction
21
22 demo_atan()
23 clear demo_atan;