Hi all,
I need your help in plotting the graph . I am troubled by this problem
from many days. Please help me out.
The data which i need to plot looks like
#Date Mean Max Count 95th_percentile
09/08 29.365 3761 7048 34
09/09 29.291 5507 8245 34
09/10 28.762 3439 8407 35
09/11 30.632 6545 7176 34
09/12 26.426 2720 6210 34
Am plotting the graph like this
gnuplot << EOF
set terminal postscript enhanced color
set output '$GRAPH_PS_FILE'
set title "ACT response times for last $NO_OF_DAYS_DUMMY from Date
$DAY"
set xlabel "Date"
set ylabel "milliseconds(or Count/10)"
set y2label "seconds"
set logscale y
set ytics auto
set y2tics auto
set xdata time
set timefmt "%m/%d"
set format x "%m/%d"
plot '$GRAPH_DATA_FILE'using 1:2 title "Mean" with linespoints,\
'$GRAPH_DATA_FILE' using 1:(\$3/1000) title "Max(right axis)"
axes x1y2 with linespoints,\
'$GRAPH_DATA_FILE' using 1:(\$4/10) title "Count/10" with
linespoints,\
'$GRAPH_DATA_FILE' using 1:5 title "95th percentile" with
linespoints
replot
EOF
I am able to get the required graph. But on the xaxis i am getting
REPEATED DATES which i dont want.
ie. On the xaxis i am getting
09/08 08/08 09/09 09/09 09/10 09/10 09/11 09/11 09/12 09/12 xtics
points.
I want to get rod of these duplicate xtics. Please help.