a small question on GNUPlot
Posted
by Robert
on Stack Overflow
See other posts from Stack Overflow
or by Robert
Published on 2010-05-04T19:24:07Z
Indexed on
2010/05/04
19:28 UTC
Read the original article
Hit count: 249
gnuplot
Dear Guys,
I have used the following statement to get the GNUPlot plot a grah for me:
plot "force.dat" using 1:2 title "Detroit" with lines, \ "force.dat" u 1:3 t "US Avergae" w linepoints
and the "force.dat" looks like
2005 0 0 2006 104 51 2007 202 101
It draws nice graph for me.However,I don't like the X-axis,because it is labelled as 2005,2005.5,2006,2006.5,2007..etc. However,those are year identifiers,I only want the 2005,2006,2007 etc,how could I get rid of the 2005.5,2006.5 etc labels in my GNUPlot graph?
Thank you very much for your ideas.
© Stack Overflow or respective owner