Talk About Network

Google





Graphics > Gnuplot interactive function plotter > Help Needed for...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3512 of 3655
Post > Topic >>

Help Needed for Date in gnuplot

by loving.achin@[EMAIL PROTECTED] Sep 17, 2008 at 11:47 PM

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.
 




 2 Posts in Topic:
Help Needed for Date in gnuplot
loving.achin@[EMAIL PROTE  2008-09-17 23:47:22 
Re: Help Needed for Date in gnuplot
Juergen Wieferink <wie  2008-09-18 15:53:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 22:51:49 PST 2009.