Bonsoir

Excuse mais au faite j'utilise d'un script gnuplot afin de traverse des histogramme de pourcentage pour la valeur de x sur la meme verticale. en cherchant je susi tombé sut cette page
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
http://gnuplot.sourceforge.net/demo_4.2/histograms.html
que j'ai adapté au donnée que j'ai comme indiqué ci-dessous donnée et scripte:
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
24
25
 
# set terminal png transparent nocrop enhanced font arial 8 size 420,320 
# set output 'histograms.5.png'
set border 3 front linetype -1 linewidth 1.000
set boxwidth 0.75 absolute
set style fill   solid 1.00 border -1
set grid nopolar
set grid noxtics nomxtics ytics nomytics noztics nomztics \
 nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics
set grid layerdefault   linetype 0 linewidth 1.000,  linetype 0 linewidth 1.000
set key outside right top vertical Left reverse enhanced autotitles columnhead nobox
set key invert samplen 4 spacing 1 width 0 height 0 
set style histogram rowstacked title  offset character 0, 0, 0
set datafile missing '-'
set style data histograms
set xtics border in scale 1,0.5 nomirror rotate by -45  offset character 0, 0, 0 
set xtics  ("5" 0.00000, "10" 1.00000, "15" 2.00000, "20" 3.00000, "25" 4.00000, "30" 5.00000)
set noytics
set title "Distribution of type packet type" 
set ylabel "% of total number of packet transmitted" 
set yrange [ 0.00000 : 100.000 ] noreverse nowriteback
plot 'percent.dat' using (100.*$2/$6):xtic(1) title column(2), \
'' using (100.*$3/$6) title column(3), \
'' using (100.*$4/$6) title column(4), \
'' using (100.*$5/$6) title column(5)
donnee
percent.data
5 6 89 5
10 19 70 21
15 34 50 16
20 29 60 11
25 32 57 11
30 40 45 15

Mais des que je compile j'ai un message soit :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
 
Cannot open load file 'prr.txt' est fichier scripte
line 0: util.c: No such file or directory
J'aimerai biena voir l'aide si quelqu'un vois ou se mon problème.
Merci.