Re: still counts from 0

Emanuel Berg <[email protected]> Mon, 27 Jun 2022 22:02:04 +0200
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
theozh wrote:

> if you give only one column for a line plot it will use the
> pseudocolumn 0 as x-value (check "help pseudocolumns") which
> is basically the line number (index zero-based).

Understood, thanks!

> So, instead use:
>
> data="/home/incal/public_html/hits/hits.dat"
>  plot \
>    data u ($0+1):1 w l lc "cyan"    lw 2 t "solene",   ...

You are right, that did it!

Now everything is correct, the days, the weeks (start at
Mondays).

The only thing that is strange is it appears to be a week
starting at day 147 if you look at the image?

  https://dataswamp.org/~incal/hits/hits.png

Source: https://dataswamp.org/~incal/hits/hits.gpi

-- 
underground experts united
https://dataswamp.org/~incal



_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info