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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
| gnuplot> clear
gnuplot> reset
gnuplot> unset key
gnuplot> set terminal png font arial 8 size 1024,768
Terminal type set to 'png'
Options are 'nocrop font "arial,8" fontscale 1.0 size 1024,768 '
gnuplot> set output 'blabla.png'
gnuplot> set key inside right top vertical Right noreverse noenhanced autotitles box
gnuplot> set title "blabla"
gnuplot>
gnuplot> # grid
gnuplot> set grid
gnuplot>
gnuplot> # y axe
gnuplot> set ytics 1
gnuplot>
gnuplot>
gnuplot> # x axe
gnuplot> set xtics 1
gnuplot> set xtics rotate by -45 out nomirror
gnuplot> set xrange [0:62]
gnuplot> # Select histogram data
gnuplot> set style data linespoints
gnuplot> # Give the bars a plain fill pattern, and draw a solid line around them.
gnuplot> set style fill solid border
gnuplot> set style histogram clustered
gnuplot> set datafile separator ","
gnuplot>
gnuplot> # labels will appended here
gnuplot> # labels will appended here
gnuplot> # labels will appended here
gnuplot> # labels will appended here
gnuplot>
gnuplot> set label "2013-07-09" at 1,1.5 rotate by 90
gnuplot> set label "2013-07-10" at 2,1.5 rotate by 90
gnuplot> set label "2013-07-13" at 3,1.5 rotate by 90
gnuplot> set label "2013-07-24" at 4,2.5 rotate by 90
gnuplot> set label "2013-07-26" at 5,1.5 rotate by 90
gnuplot> set label "2013-07-29" at 6,5.5 rotate by 90
gnuplot> set label "2013-08-02" at 8,1.5 rotate by 90
gnuplot> set label "2013-08-07" at 9,1.5 rotate by 90
gnuplot> set label "2013-08-30" at 10,1.5 rotate by 90
gnuplot> set label "2013-09-06" at 12,2.5 rotate by 90
gnuplot> set label "2013-09-16" at 13,1.5 rotate by 90
gnuplot> set label "2013-09-19" at 14,1.5 rotate by 90
gnuplot> set label "2013-09-23" at 15,1.5 rotate by 90
gnuplot> set label "2013-09-25" at 16,1.5 rotate by 90
gnuplot> set label "2013-10-14" at 18,1.5 rotate by 90
gnuplot> set label "2013-10-16" at 19,1.5 rotate by 90
gnuplot> set yrange [0:8.5]
gnuplot> unset key
gnuplot> show xrange
set xrange [ 0.00000 : 62.0000 ] noreverse nowriteback
gnuplot> show xtics
xyplane ticslevel is 0.5
x-axis tics are OUT, major ticscale is 1 and minor ticscale is 0.5
x-axis tics: on border
labels are justified automatically, format "% g" rotated by -45 in 2D mode, terminal permitting,
offset ((character units) 0, 0, 0)
series by 1
x2-axis tics are IN, major ticscale is 1 and minor ticscale is 0.5
x2-axis tics: OFF
gnuplot> plot for [COL=2:4] 'blabla.data' using COL:xticlabels(1) title columnheader
gnuplot>
gnuplot> |
Partager