Bonjour
j'utilise pour la premiere fois un script et ça ne fonctionne pas
et ça donne
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 #! /bin/sh if [ $# -lt 2 ] then echo "usage: $0 <fic-histogramme> <titre> [<sortie>]" exit 1 fi if [ $# -eq 3 ] then output="$3" else output="|display gif:-" fi gnuplot <<- EOF set terminal gif size 800,600 set title "$2" set output $output' # Echelle logarithmique en ordonnee set logscale y 10 # Afficher le contenu du fichier plot [] [0.1:] "$1" notitle with boxes # Attendre click de souris pause mouse EOF
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 [makavelli@fibonacci Historigramme_Maker]$ ./afficher-histogramme.sh\ \ histo.txt "Ti" gnuplot> set output |display gif:-' ^ line 0: invalid character GIF87a X@Ai @0`@ԥ**@333MMMfff22U݂d"".Wp͇PErz挽k ܠ ݠݐP@Uk/@@``@@`pͷ|@ ___???, X H*\ȰÇ#JHŋ3jȱǏ CIɓ(S\ɲ˗0cʜI͛8sB gOt JtUPBG*]4SҦPJuԫXVW[+3,ٳhQM˶ǵnwݻ LÈ+^̸ǐ#KL˘3k̹ϠCMӨS^ͺװc˞MJe4&1a;p/b6 U}v셾wNi1zZ?H J 20 r `NU`t'pNXw3uW# XV!(ZŢ -4a\8Ȇ؈ODiH&L6PF)TViXf\v`)Mß٠h2X #\5S'3w.왌z|~ߡGgJC1F,Iǝv]#*0B3k/+*Fq2\rG,U>.23-ӆSm-Ғ,rO n|Zn=(ok{k/?l'W ;Uo0W|g-w|q?{, !{:Fqʣl+0r4kⲲ5%<В-.H# V'2>etT{5ف=6jmkv4)D]x7}0Z܊8x?.11[0k+,{kFz.~YԪ~2녺tMGRW ƵWN{߮--
Partager