|
From: Thomas S. <t.s...@fz...> - 2007-09-21 14:11:41
|
maybe your VALUEs were too small? VALUE in this case is in seconds, your data are monthly data. a VALUE of 60*60*24*30 = 2592000 gives rotated time labels. but it's better to let the algorithm for positioning the time labels do its work automatically (no VALUE). _freak_ wrote: > > I am trying to rotate my xtic labels by 45 degrees. I can > do this fine when xdata is not set to "time". If "set > xdata time" I cannot get the labels to rotate. I am not > sure what to set xtics equal to for time. > > set xdata time > set timefmt "%Y/%m" > set xtics [VALUE] rotate by 45 > plot "c:\\junk\\plot.dat" using 1:3 with lines > > I've tried various numbers for VALUE but it just crashed > gnuplot. Any tips as to what I am doing wrong? > > c:\junk\plot.dat below... > > 2006/8 29 20 9 68.97% > 2006/9 27 21 6 77.78% > 2006/10 35 32 3 91.43% > 2006/11 39 22 17 56.41% > 2006/12 28 12 16 42.86% > 2007/1 33 16 17 48.48% > 2007/2 28 28 0 100.00% > 2007/3 26 21 5 80.77% > 2007/4 30 23 7 76.67% > 2007/5 36 28 8 77.78% > 2007/6 18 17 1 94.44% > 2007/7 29 26 3 89.66% > 2007/8 19 17 2 89.47% > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/problem-using-%22set-xtics-x-rotate-by-45%22-when-%22set-xdata-time%22-tf4496121.html#a12822425 Sent from the Gnuplot - User mailing list archive at Nabble.com. |