|
From: Thomas S. <t.s...@fz...> - 2009-04-13 18:15:38
|
a) for your data you should use set timefmt "%m/%d/%Y" b) the xtics are set in a 12h interval automatically, to change this set set xtics 24*60*60 digiplant wrote: > > I am attempting to create a simple plot, in which my x-axis contains date > information. However, when I attempt to do so, each date tick label > appears twice, > ie 04/01, 04/01, 04/02, 04/02, ... instead of 04/01, 04/02/, ... > > My commands to plot this are: >> set xdata time >> set timefmt "%m/%d/%y" >> plot "data.txt" using 1:2 > > I've attached the file "data.txt" to this post. How do I get the date > tick labels to appear only once? > > > Additional info: if I put an x label on the x-axis, without first sending > gnuplot the command "set format x "%m/%d"", I see the time "00:00:00" > below the first label and "12:00:00" below the second. These only appear > if I put a label on x and don't give the x formatting command. > > http://www.nabble.com/file/p23024122/data.txt data.txt > -- View this message in context: http://www.nabble.com/duplicate-date-labels-tp23024122p23026348.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |