Re: 12M? or 12 000 000? (not 12000000)

Emanuel Berg <[email protected]> Thu, 23 Jun 2022 09:02:04 +0200
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
Norwid Behrnd via gnuplot-info wrote:

> set ytics 10
> set mytics 10
>
> set ytics add ( "1 kb" 1000, \
> "10 kb" 10000, \
> "100 kb" 100000,\
> "1 mb" 1000000, \
> "10 mb" 10000000,\
> "100 mb" 100000000,\
> "1 gb" 1000000000, \
> "10 gb" 10000000000.0,\
> "100 gb" 100000000000.0,\
> "1 tb" 1000000000000.0, \
> "10 tb" 10000000000000.0, \
> "100 tb" 100000000000000.0, \
> "1 pb" 1000000000000000.0, \
> "10 pb" 10000000000000000.0 )

Brilliant,

set format y "%.0f"
set ytics add (0           0, \
               "1M"  1000000, \
               "2M"  2000000, \
               "4M"  4000000, \
               "6M"  6000000, \
               "8M"  8000000, \
              "10M" 10000000, \
              "12M" 12000000, \
              "14M" 14000000)

works!

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

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



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