Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2953
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: auto caluclation for data display |
| Date | 2015-06-22 22:58 +0200 |
| Organization | solani.org |
| Message-ID | <mm9sua$e4$1@solani.org> (permalink) |
| References | (1 earlier) <mlv6o7$6hf$1@dont-email.me> <mm8c4v$iqg$1@newsserver.rrzn.uni-hannover.de> <mm9208$q3t$2@solani.org> <mm9fbn$stp$1@dont-email.me> <mm9s9j$tov$1@solani.org> |
Am 22.06.2015 um 22:47 schrieb Karl Ratzsch:
> Am 22.06.2015 um 19:08 schrieb Jörg Buchholz:
>> If I use set format y "%.b %BB" I've get 10kiB, 20kiB ....
>> Is it possible to change the "i"?
.
>
> ... you cannot get lost of the "i" for binary magitudes. You can use the
> format string "%s %c" for kilogramms or computer salespeople's
> gigabytes. Which are not gigabytes. ;-)
Or, if you really want 1 kByte to be 1024 Bytes, build you own format
function :
fstring(x) = sprintf("%.f ",\
x<2**10 ? (ps="",x) :\
x<2**20 ? (ps="Ki", x/2**10) : \
x<2**30 ? (ps="Mi", x/2**20) :\
(ps="Ti", x/2**30)).ps."Byte"
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
auto caluclation for data display Syed Jahanzaib <aacable79@gmail.com> - 2015-06-18 05:01 -0700
Re: auto caluclation for data display Jörg Buchholz <bookwood4new@freenet.de> - 2015-06-18 21:40 +0200
Re: auto caluclation for data display Jörg Buchholz <bookwood4new@freenet.de> - 2015-06-22 09:06 +0200
Re: auto caluclation for data display Karl Ratzsch <mail.kfr@gmx.net> - 2015-06-22 15:19 +0200
Re: auto caluclation for data display Jörg Buchholz <bookwood4new@freenet.de> - 2015-06-22 19:08 +0200
Re: auto caluclation for data display Karl Ratzsch <mail.kfr@gmx.net> - 2015-06-22 22:47 +0200
Re: auto caluclation for data display Karl Ratzsch <mail.kfr@gmx.net> - 2015-06-22 22:58 +0200
Re: auto caluclation for data display Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-06-22 22:54 +0200
Re: auto caluclation for data display Jörg Buchholz <bookwood4new@freenet.de> - 2015-06-23 08:53 +0200
csiph-web