|
From: Thomas S. <t.s...@fz...> - 2008-06-05 08:43:21
|
some remarks: there's no need to specify xrange in seconds, use the time format of the data instead: #set timefmt "%s" #set xrange ["1206853200":] set timefmt "%B %d %Y" set xrange ["April 1 2008":*] your xtics are far off the axis range - all at the position of "January 01 2000" (insert a 'show xrange' line into your current script file and you will see it). this works: set xtics ( "7.1.0 Release" "April 7 2008" ,"April 14 2008","April 21 2008","April 28 2008","May 5 2008","May 13 2008","May 20 2008","May 27 2008","June 3 2008") even when plotting time data each string separated by space, tab, ... counts, that means that for a data file like this April 7 2008, 15, 61, -24, 0, 0, 0, 0 plotting the 2nd value (here: '15') vs. time needs a command like this: plot .... us 1:4 and not 'us 1:2' with the above changes i got a nice plot using the following command: plot "/tmp/condor-nmiplots-cYynkG.data" using 1:5 with boxes ls 5 title "Good Downloads", "" using 1:4 with boxes ls 9 title "Good Source Downloads", "" using 1:6 with boxes ls 7 title "Bad Downloads", "" using 1:7 with boxes ls 3 title "Good Downloads/20", "" using 1:8 with boxes ls 8 title "Bad Downloads/20", "" using 1:9 with boxes ls 1 title "Good Downloads/200", "" using 1:10 with boxes ls 2 title "Bad Downloads/200" more information you will get when reading the manual or the output of the commands: help timefmt help time/date help xtics help datafile -- View this message in context: http://www.nabble.com/Can%27t-get-labeling-via-xtics-to-work-tp17656272p17664963.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |