Re: time series data over 3 days - how to prevent graph from wrapping/sweeping back over itself




"Hermann Peifer" <peifer@xxxxxx> wrote in message
news:gp6jqa$m49$1@xxxxxxxxxxxxxxxxxxxx
banzai wrote:

I'm guessing not as I just noticed similar post "Crossing midnight
problem"...

This is admittedly a brute-force quick hack, but it works...

--- snip ---
set term png nocrop size 1600,900 font
'/usr/share/X11/fonts/TTF/luximb.ttf,10'
set output 'test.png'
set title 'Solving the Crossing midnight problem'
set xdata time
set timefmt '%d %H:%M:%S'
set format x '%H:%M:%S'
plot [:] [0:20] "<( awk -F: '{print (NR==1||(!$1&&$1!=p)?++c:c),$0;p=$1}'
test.dat)" using 1:3 notitle with lines
--- snip ---

see: http://tinyurl.com/5zl4jr

Hermann

Thanks, what does ' [:] [0:20] ' do ?


.



Relevant Pages

  • Re: change box colors in bar graph
    ... I think we need to see the exact plot command you are using. ... set xtics border in scale 1,0.5 mirror rotate by 90 font "ArialMT,10" ... set output "tmp.ps" ... -the first line contains the column labels ...
    (comp.graphics.apps.gnuplot)
  • Re: font quirk with the png terminal
    ... fonts to switch to the bold font (or any other TTF) is to use a TTF as ... set output 'font_test.png' ... set term png font 'arial' enhanced size 800,600 ...
    (comp.graphics.apps.gnuplot)
  • font quirk with the png terminal
    ... to use one of the standard png terminal fonts for most of the plot but ... switch to a bold font for some of the labels and legend text. ... set output 'font_test.png' ... gif and png terminals can use TTF fonts) ...
    (comp.graphics.apps.gnuplot)
  • Re: font quirk with the png terminal
    ... fonts to switch to the bold font (or any other TTF) is to use a TTF as ... set output 'font_test.png' ... You should probably also set a default font at the same time: ... set term png font 'arial' enhanced size 800,600 ...
    (comp.graphics.apps.gnuplot)
  • Font sizes and positioning of key, label and title?
    ... I'm preparing plots for a latex document, ... set output "graph.tex" ... Now spacings and font sizes are not OK. ... In principle I should be able to scale tics with "set tics scale ..." ...
    (comp.graphics.apps.gnuplot)