Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3131

Re: z tics format affected by zrange

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl-Friedrich Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: z tics format affected by zrange
Date Sun, 15 Nov 2015 14:24:34 +0100
Organization solani.org
Lines 30
Message-ID <n2a12k$t3o$1@solani.org> (permalink)
References <9037d736-a759-4d98-9b91-126e859b295d@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-Trace solani.org 1447593876 29816 eJwFwQEBwDAIBDFNFLi+nQLDv4Ql6Rh9gyRyc8tC57rNPuNByybkbI+bBoZvazJBpTg/FXUQ4Q== (15 Nov 2015 13:24:36 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sun, 15 Nov 2015 13:24:36 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
X-User-ID eJwFwQkRADAIAzBL5SlscoAb/iUsoYXEpAfDudyyh4G+i4rdFMDMvd2UK4V7sIejXZPWlPwQeRCE
In-Reply-To <9037d736-a759-4d98-9b91-126e859b295d@googlegroups.com>
Cancel-Lock sha1:U1GEBKPSX/YpyEZm2aumF7HIdxY=
X-NNTP-Posting-Host eJwFwYEBwDAEBMCVJPhnHEX2H6F3rjhoGhzmz19B407dDT0yK6LZAiYJ3dIvbXsYcF9yID8N6xCA
X-Enigmail-Draft-Status N1110
Xref csiph.com comp.graphics.apps.gnuplot:3131

Show key headers only | View raw


Am 15.11.2015 um 12:24 schrieb mario.rguez.riotorto@gmail.com:
> In version 5.0.1, the following piece of code (automatically generated by another program)
> 
> set zrange [8.87e-10:200.0]
> splot x**2+y**2
> 
> writes numbers on the z axis with 10 decimal places. Is this intended behavior?
> 
> In previous versions, numbers were written in a more friendly format.

That's a known problem, although I thought it should have been the
same in the 4.6 series, see also

http://sourceforge.net/p/gnuplot/bugs/1667/ .

gnuplot's default format "% h" tries to adjust itself depending on
the range values, and this goes wrong in some cases.

There's not yet a good idea (i think) how to properly fix this,
because it might change the behaviour of the stable version in other
places.

For the time being, you could switch the format to explicitly use
"%h" (note the missing space), or adjust that other program to give
more sensible range specifications. Something like

set zrange [floor(zmin):zmax]

or similar should do the trick.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

z tics format affected by zrange mario.rguez.riotorto@gmail.com - 2015-11-15 03:24 -0800
  Re: z tics format affected by zrange Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-11-15 14:24 +0100
    Re: z tics format affected by zrange mario.rguez.riotorto@gmail.com - 2015-11-15 08:55 -0800

csiph-web