| Last change
 on this file since 3484 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 | # | 
|---|
| 6 | set col ( blue red green yellow violet ) | 
|---|
| 7 | set a ( 1.0 0.9 0.8 0.7 0.6 ) | 
|---|
| 8 | setaxesatt 'helveticafont bolditalicfont minorticks intticks' | 
|---|
| 9 | zone 1 | 
|---|
| 10 | func 1.1*sin(1.1*x)/x 0.1 20 50 'black notitle' | 
|---|
| 11 | setaxelabels 'Axe X' 'Axe Y = sin(x)/x' 'darkviolet helveticafont bigbolditalicfont' | 
|---|
| 12 | for i 0:$#a | 
|---|
| 13 | func $a[i]*sin($a[i]*x)/x 0.1 20.0 50 "same $col[i]" | 
|---|
| 14 | end | 
|---|
| 15 |  | 
|---|
| 16 | setinsetlimits 0.5 0.75 0.5 0.75 | 
|---|
| 17 | func exp(-x*x) -3 3 40 'inset red stdaxes' | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.