source: Sophya/trunk/SophyaPI/DemoPIApp/multicurve.pic@ 3436

Last change on this file since 3436 was 2600, checked in by ansari, 21 years ago

ajout de script (.pic) exemple pour (s)piapp - Reza 12 Aout 2004

File size: 584 bytes
Line 
1# ---- multicurve.pic -----
2# Trace de courbes multiples en utilisant les
3# possibilites de boucles et variables de type
4# tableau de l'interpreteur de piapp
5#
6set col ( blue red green yellow violet )
7set a ( 1.0 0.9 0.8 0.7 0.6 )
8setaxesatt 'helveticafont bolditalicfont minorticks intticks'
9zone 1
10func 1.1*sin(1.1*x)/x 0.1 20 50 'black notitle'
11setaxelabels 'Axe X' 'Axe Y = sin(x)/x' 'darkviolet helveticafont bigbolditalicfont'
12for i 0:$#a
13 func $a[i]*sin($a[i]*x)/x 0.1 20.0 50 "same $col[i]"
14end
15
16setinsetlimits 0.5 0.75 0.5 0.75
17func exp(-x*x) -3 3 40 'inset red stdaxes'
Note: See TracBrowser for help on using the repository browser.