we lose half our xtics (in date format)



GNUplotters:

This is with a freshly built GNUplot 4.2.2.

When we run the attached script, the last data point does not have its (rotated!) label.

When we run with live data, over 2 years, only the first half of the xtics display - the rest are missing.

The general point is a walking statistic of 2 week intervals, so wildly alternate display techniques will also be entertained. Boss said no boxen, however... (-;

--
Phlip

set xdata time
set timefmt "%Y-%m-%d"
set yrange [0:30]
set xrange ['2005-01-03':'2005-02-01']
set output 'Kumquat.png'
set terminal png
set size 2.0,1.25
set grid
set bmargin 10
set ytic auto font "arial,8"
set xlabel 'Week' 0.0, 5.0 font 'arial,10'
set ylabel 'Percentage of Kumquats' font 'arial,10'
set xtics rotate by -90
set xtics ('2005-01-03 - 2005-01-09' '2005-01-03','2005-01-10 - 2005-01-16' '2005-01-10','2005-01-17 - 2005-01-23' '2005-01-17','2005-01-24 - 2005-01-30' '2005-01-24')
set xtics font 'arial,7'
plot '-' using 1:2 title 'Percentage of Kumquats' with linespoints
2005-01-03 15
2005-01-10 13
2005-01-17 20
2005-01-24 8
e
.



Relevant Pages

  • set xtics rotate
    ... I try to set xtics to be rotated by -45 degrees, ... The tic labels are not rorated. ... set xtics nomirror rotate by -45; ...
    (comp.graphics.apps.gnuplot)
  • Re: Gnuplot 4.4 - x-axis tics are not showing correctly
    ... This upgrade also included version 4.4 of gnuplot. ... Rotation angles are defined with 0 rotation along the x-axis, ... So "rotate by 90" swings your labels up into the plot. ... If you issue the command "set xtics rotate" with no rotation angle given, ...
    (comp.graphics.apps.gnuplot)
  • Re: C# LOGFONT does not rotate
    ... Whilst I haven't written specifically for the compact framework, I have previously had to draw rotated text via GDI and came up against the same problems that you are facing. ... I found that some Fonts would rotate using LOGFONT but others would not. ... I could instantiate a new Font like this: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Rotate excel object
    ... The font does look bad, ... Right-click, format object, size tab. ... Use this dialogue to rotate. ... Insert "office excel 97-2003 worksheet" object ...
    (microsoft.public.publisher)
  • [FONT][ROTATE] How to rotate a text string ?
    ... I want to rotate text in postcript. ... I see that the font matrix can do ... heigth of the caracter font ...
    (comp.lang.postscript)