Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Thrashing is just virtual crashing.


computers / comp.graphics.apps.gnuplot / SET FORMAT default

SubjectAuthor
* SET FORMAT defaultlayzarc
`* Re: SET FORMAT defaultHans-Bernhard_Bröker
 `* Re: SET FORMAT defaultlayzarc
  `* Re: SET FORMAT defaultKarl Ratzsch
   `* Re: SET FORMAT defaultlayzarc
    `* Re: SET FORMAT defaultKarl Ratzsch
     `- Re: SET FORMAT defaultEthan Merritt

1
Subject: SET FORMAT default
From: layz...@aol.com
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 10 Oct 2019 18:29 UTC
X-Received: by 2002:a37:b985:: with SMTP id j127mr11351868qkf.337.1570732146113;
Thu, 10 Oct 2019 11:29:06 -0700 (PDT)
X-Received: by 2002:a9d:7cc6:: with SMTP id r6mr8630896otn.235.1570732145853;
Thu, 10 Oct 2019 11:29:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder7.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!o24no5508759qtl.0!news-out.google.com!x7ni1520qtf.0!nntp.google.com!o24no5508735qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 10 Oct 2019 11:29:05 -0700 (PDT)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:500:c280:30:a112:f76:3c9:b39;
posting-account=R1FlGgkAAACT4qWBRQlFZVvqWzeWlXEN
NNTP-Posting-Host: 2601:500:c280:30:a112:f76:3c9:b39
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a52f4ed4-4619-4985-acd2-efd22ab00dd4@googlegroups.com>
Subject: SET FORMAT default
From: layz...@aol.com
Injection-Date: Thu, 10 Oct 2019 18:29:06 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1311
X-Received-Body-CRC: 2085912357
View all headers
The manual says the default for SET FORMAT is "% h".  Not being a C programmer, can someone give me a brief explanation of what this format does?

Al


Subject: Re: SET FORMAT default
From: Hans-Bernhard_Bröke
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 10 Oct 2019 18:56 UTC
References: 1
Path: i2pn2.org!i2pn.org!weretis.net!feeder7.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From: HBBroe...@t-online.de (Hans-Bernhard_Bröker)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: SET FORMAT default
Date: Thu, 10 Oct 2019 20:56:07 +0200
Lines: 7
Message-ID: <7c57ce13-c713-6ef3-3690-18d4a35c7efe@t-online.de>
References: <a52f4ed4-4619-4985-acd2-efd22ab00dd4@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news.dfncis.de 8wPjjmLkEONTnh98iaqppQ5a65T4yosos4Uyvl/oHjjju2RCd7gZZT/1tK
Cancel-Lock: sha1:jJJvbzGlCoMjVYzjboqdsJpuV5M=
Openpgp: preference=signencrypt
Autocrypt: addr=HBBroeker@t-online.de; keydata=
mQINBFu0018BEAC34KXenx8N+WV5OOk0YGkpMbnplVar2DFCNTIDEYA6d8S84mD2IB6/R29G
gmE0NNKwt5C0vFvETkF1K8iZlI6TxzmtmTMqQk5lGWnxbv02EsSJu4drIwQssCfYoZ0y3XhL
gUlZa2PrLvrEDI4HHeYCd87xagdsDX2+fBjMMBqnvYgyAU5UOhhG+R6s/8UtHlzyeJTLYXQQ
zYcOFpcX3Q7BsDQukVAhh8RW2ss44TrNmyxbd63dWlG7ZgW525PaA02PsHVSLQz7uIg38S/a
/wtB6VqzudvYwcekMyM/XSn/bxaUCHcGGfW81Nd2YtxH5HuqGddHuuQF2vFuVrF+8dA/rPdS
xUd8EN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wVlf+K3Qow3Y6iRaP4k7Pjyo2Z6xpn8JzoK9Tpm28H
wozW4LR5xEOVJkifAdy62Ofjsmr9MF2+I0pbBBs3zw8JHLuKOZQQNA1ARmYK49Ri6cW6kSLy
1pfDGzlgbpFhaV8bPiZotoWcQQUh3PbuMwVV3/mFHo2PfwxrMd/DD9TuxSF+XRq2Map0CI7B
rag74AUOXLTrn7FOFVPuEsNSUJhNNv+MWtNpH6JA85TRdePFgsoOZPtKxPl5ABW1Y8uE1h0t
iGGvWoEkJ1nPBl1eI4wwnkTMGSjiatAbsRMZVDxpr4gCzKLx5xNFeEYYXkz22iCK7xKy9LzW
fwuRH+vXIsv9PYpcooGL+Sn/T+fU+7L9xDvycflVrNmR05iDiOUYIE2X4dY6ox1X/wwxnMAy
1hcBLXn4PIzvApxfyt1xlXY0WATpyi+GqLagzDya0eXdCSoM8awgpKe+n8/aWQetF4WWhDPI
mZFJJ7pa0jlUvkUH2raS7XOiOJWn9/ZjYoCQMfdY76Wk8L1TBmSHAN0vu9dC5jZfl/pVsspo
fbK0pZZq45gj
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.9.0
In-Reply-To: <a52f4ed4-4619-4985-acd2-efd22ab00dd4@googlegroups.com>
Content-Language: de-DE
View all headers
Am 10.10.2019 um 20:29 schrieb layzarc@aol.com:
The manual says the default for SET FORMAT is "% h".  Not being a C programmer, can someone give me a brief explanation of what this format does?

The documentation already does that for us.  Right below where you found
the above information, there's (a link to) the documentation section
"format specifiers", which see.



Subject: Re: SET FORMAT default
From: layz...@aol.com
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 10 Oct 2019 19:16 UTC
References: 1 2
X-Received: by 2002:ad4:4449:: with SMTP id l9mr11948086qvt.81.1570735000478;
Thu, 10 Oct 2019 12:16:40 -0700 (PDT)
X-Received: by 2002:aca:d954:: with SMTP id q81mr8790278oig.161.1570735000263;
Thu, 10 Oct 2019 12:16:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder7.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!o24no5632609qtl.0!news-out.google.com!q23ni193qtl.1!nntp.google.com!o24no5632601qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 10 Oct 2019 12:16:40 -0700 (PDT)
In-Reply-To: <7c57ce13-c713-6ef3-3690-18d4a35c7efe@t-online.de>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:500:c280:30:a112:f76:3c9:b39;
posting-account=R1FlGgkAAACT4qWBRQlFZVvqWzeWlXEN
NNTP-Posting-Host: 2601:500:c280:30:a112:f76:3c9:b39
References: <a52f4ed4-4619-4985-acd2-efd22ab00dd4@googlegroups.com> <7c57ce13-c713-6ef3-3690-18d4a35c7efe@t-online.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7be2c3cf-1da7-4e8d-aaf5-672c0acb3ada@googlegroups.com>
Subject: Re: SET FORMAT default
From: layz...@aol.com
Injection-Date: Thu, 10 Oct 2019 19:16:40 +0000
Content-Type: text/plain; charset="UTF-8"
View all headers
I saw that but what causes SET TABLE for example to print only 6 significant digits? I'm guessing because its printing a single precision "float".  Is there anyway to get more precision in the TABLE from SPLOT contours?

Al


Subject: Re: SET FORMAT default
From: Karl Ratzsch
Newsgroups: comp.graphics.apps.gnuplot
Organization: solani.org
Date: Thu, 10 Oct 2019 20:26 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mail....@gmx.net (Karl Ratzsch)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: SET FORMAT default
Date: Thu, 10 Oct 2019 22:26:24 +0200
Organization: solani.org
Lines: 15
Message-ID: <qno459$3ic$1@solani.org>
References: <a52f4ed4-4619-4985-acd2-efd22ab00dd4@googlegroups.com>
<7c57ce13-c713-6ef3-3690-18d4a35c7efe@t-online.de>
<7be2c3cf-1da7-4e8d-aaf5-672c0acb3ada@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: solani.org 1570739177 3660 127.0.0.43 (10 Oct 2019 20:26:17 GMT)
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Thu, 10 Oct 2019 20:26:17 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.9.0
Content-Language: de-DE-1901
X-User-ID: eJwFwYEBwCAIA7CXBCzCORu1/59ggkjLOTuRG4KKzhlNtNg/Ufc77parBFzzqAxtwqTp1XwwxxF3
In-Reply-To: <7be2c3cf-1da7-4e8d-aaf5-672c0acb3ada@googlegroups.com>
Cancel-Lock: sha1:FLaMFqQSfXCWEnoCwX5X4llDPQw=
View all headers
Am 10.10.2019 um 21:16 schrieb layzarc@aol.com:
I saw that but what causes SET TABLE for example to print only 6 significant digits? I'm guessing because its printing a single precision "float".  Is there anyway to get more precision in the TABLE from SPLOT contours?

very simple, e.g.

   set format ".12f"
   set table
   plot <your function>

"% h" has some automagic that switches between fp and exponential
notation, which isnt really meant to be used to print out numerical
data, but for labelling axis tics.

hth, Karl



Subject: Re: SET FORMAT default
From: layz...@aol.com
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 10 Oct 2019 21:19 UTC
References: 1 2 3 4
X-Received: by 2002:a0c:f9c6:: with SMTP id j6mr12413987qvo.40.1570742358947;
Thu, 10 Oct 2019 14:19:18 -0700 (PDT)
X-Received: by 2002:a05:6830:18e4:: with SMTP id d4mr9969072otf.171.1570742358657;
Thu, 10 Oct 2019 14:19:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder7.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!o24no5953277qtl.0!news-out.google.com!x7ni1529qtf.0!nntp.google.com!o24no5953262qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 10 Oct 2019 14:19:18 -0700 (PDT)
In-Reply-To: <qno459$3ic$1@solani.org>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:500:c280:30:b050:cac4:8fd0:76f;
posting-account=R1FlGgkAAACT4qWBRQlFZVvqWzeWlXEN
NNTP-Posting-Host: 2601:500:c280:30:b050:cac4:8fd0:76f
References: <a52f4ed4-4619-4985-acd2-efd22ab00dd4@googlegroups.com>
<7c57ce13-c713-6ef3-3690-18d4a35c7efe@t-online.de> <7be2c3cf-1da7-4e8d-aaf5-672c0acb3ada@googlegroups.com>
<qno459$3ic$1@solani.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8c14ccc8-def2-4ed9-8c41-392fb3f76ae3@googlegroups.com>
Subject: Re: SET FORMAT default
From: layz...@aol.com
Injection-Date: Thu, 10 Oct 2019 21:19:18 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1651
X-Received-Body-CRC: 3766780042
View all headers
But does that really help if the value being printed comes from a single precision "float"?  I guess what I'm asking does Gnuplot use "double" floating point thoughout the SPLOT contour calculation and its printing to the TABLE?

Al


Subject: Re: SET FORMAT default
From: Karl Ratzsch
Newsgroups: comp.graphics.apps.gnuplot
Organization: solani.org
Date: Thu, 10 Oct 2019 21:57 UTC
References: 1 2 3 4 5
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mail....@gmx.net (Karl Ratzsch)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: SET FORMAT default
Date: Thu, 10 Oct 2019 23:57:34 +0200
Organization: solani.org
Lines: 9
Message-ID: <qno9g6$6u6$1@solani.org>
References: <a52f4ed4-4619-4985-acd2-efd22ab00dd4@googlegroups.com>
<7c57ce13-c713-6ef3-3690-18d4a35c7efe@t-online.de>
<7be2c3cf-1da7-4e8d-aaf5-672c0acb3ada@googlegroups.com>
<qno459$3ic$1@solani.org>
<8c14ccc8-def2-4ed9-8c41-392fb3f76ae3@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: solani.org 1570744646 7110 127.0.0.43 (10 Oct 2019 21:57:26 GMT)
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Thu, 10 Oct 2019 21:57:26 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.9.0
In-Reply-To: <8c14ccc8-def2-4ed9-8c41-392fb3f76ae3@googlegroups.com>
X-User-ID: eJwFwQkBACAIBLBKHK/EQYT+EdxMHN6hbq62trc02O0yncpJtPQ+JDEViHu0Iz1OvwmCgD8VgxCQ
Content-Language: de-DE-1901
Cancel-Lock: sha1:fVLBBQg+oVc5TWuJkLb59Av2wXM=
View all headers
Am 10.10.2019 um 23:19 schrieb layzarc@aol.com:
But does that really help if the value being printed comes from a single precision "float"?  I guess what I'm asking does Gnuplot use "double" floating point thoughout the SPLOT contour calculation and its printing to the TABLE?

gnuplot has been using double precison fp math since some time in
the last century I think.

If the contour calculation doesnt, that would constitute a bug. Do
you have evidence for that?



Subject: Re: SET FORMAT default
From: Ethan Merritt
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Sat, 12 Oct 2019 00:06 UTC
References: 1 2 3 4 5 6
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: eamerr...@gmail.com (Ethan Merritt)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: SET FORMAT default
Date: Sat, 12 Oct 2019 00:06:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <qnr5e0$9m$1@dont-email.me>
References: <a52f4ed4-4619-4985-acd2-efd22ab00dd4@googlegroups.com>
<7c57ce13-c713-6ef3-3690-18d4a35c7efe@t-online.de>
<7be2c3cf-1da7-4e8d-aaf5-672c0acb3ada@googlegroups.com>
<qno459$3ic$1@solani.org>
<8c14ccc8-def2-4ed9-8c41-392fb3f76ae3@googlegroups.com>
<qno9g6$6u6$1@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 12 Oct 2019 00:06:25 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="13dbbf4819688b526b181ef42d4e1476";
logging-data="310"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18stgYDpK9j+BFUsLQlq/vX"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:Kz8QTGmVyLMEe0PnHLxJi1R8fPY=
View all headers
On Thu, 10 Oct 2019 23:57:34 +0200, Karl Ratzsch wrote:

Am 10.10.2019 um 23:19 schrieb layzarc@aol.com:
But does that really help if the value being printed comes from a single precision "float"?  I guess what I'm asking does Gnuplot use "double" floating point thoughout the SPLOT contour calculation and its printing to the TABLE?

gnuplot has been using double precison fp math since some time in
the last century I think.

If the contour calculation doesnt, that would constitute a bug. Do
you have evidence for that?

There is one exception that I know of.
If a binary matrix is read in, it is stored as (float) rather than (double).
There's no good reason for that, but the binary input code is quite tangled
so fixing it would require some disentangling. It would be a good project
for someone (hint hint).

          Ethan


1
rocksolid light 0.7.2
clearneti2ptor