[Gllug] Quick Gnuplot Question

Stephen Nelson-Smith sanelson at gmail.com
Thu Mar 27 12:28:52 UTC 2008


On Thu, Mar 27, 2008 at 12:23 PM, - Tethys <tethys at gmail.com> wrote:
> On Thu, Mar 27, 2008 at 12:07 PM, Stephen Nelson-Smith
>  <sanelson at gmail.com> wrote:
>
>  > I'm drowning in documentation - all I want to do is something very
>  >  simple, but I can't seem to find any guidance.
>  >
>  >  I have table like this:
>  >
>  >  # Hour Size Lines
>  >  10 100 3000
>  >  11 110 4000
>  >  12 130 5500
>  >  13 160 6700
>
>  Assuming your data is in file.dat:
>
>  set ylabel "Size"
>  set y2label "Lines"
>  set xlabel "Hour"
>  set y2tics
>  plot 'file.dat' using 1:2 title "Size" axes x1y1 with lines, \
>     'file.dat' using 1:3 title "Lines" axes x1y2 with lines

Perfect.  Thanks.

S.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list