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


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

Re: Major and minor ticks artifact

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.albasani.net!.POSTED!not-for-mail
From Hermann Peifer <peifer@gmx.eu>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Major and minor ticks artifact
Date Sat, 15 Mar 2014 13:27:30 +0100
Organization albasani.net
Lines 31
Message-ID <53244732.8080404@gmx.eu> (permalink)
References <levp7j$tvo$1@speranza.aioe.org> <bnhe21F5utsU1@mid.dfncis.de> <lg01bh$dlr$1@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net gUhNQWdZ3iaCZWJUcYMANjiJSi60HxEPXOwLiKdIccLGNTzkOyVbvXufPx2YsJTWjq2PNjWXy7AIWVk4xT6wV0CSas5ADFQ3XE/z85vZ8vgn9whNcdDsFP/G9i8ugG2B
NNTP-Posting-Date Sat, 15 Mar 2014 12:27:32 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="mkJqrrqWJ9zORf8UtYMTc4DRgFscwgSzKar9wHkjNVsa1jPjCcUgWA4XKahuRwuVwDOj+IMGWBmadxshQnk5IrwY6uPRts0C7N5k97syV2Lv0+kWHAbLMhfI36mwhS3N"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
To Janis Papanagnou <janis_papanagnou@hotmail.com>
In-Reply-To <lg01bh$dlr$1@speranza.aioe.org>
Cancel-Lock sha1:GPF2be9DooLtCgXSAlzHUNaYe1E=
Xref csiph.com comp.graphics.apps.gnuplot:2348

Show key headers only | View raw


On 2014-03-14 23:54, Janis Papanagnou wrote:
>
> As said, I used a workaround to adjust the png size so that the rounding
> issues - as far as I suspect - eliminate each other. (Still can't believe,
> though, that this is how such elementary problems are to be countered with
> gnuplot.)
>

I just looked into the source code of axis.c [1], I never did that 
before. As an outspoken non-programmer, I looked more into the comments 
than into the actual code. I hope that I was looking into the right 
piece of code in the first place.

Anyway, a programmer with initials "HBB" (no idea who this could be) 
seems to be well aware of FP issues, s/he uses floor() and ceil() to 
correct potential issues, but eventually states: "getting desperate...", 
etc. All these comments are 12 years old, as it looks like.

So there seems to be no real cure for the issue. IIRC, I occasionally 
defined a png size of something like 600,800.1 or some such to make 
similar issues go away. This is not very elegant and it basically means 
that I was "chasing the devil with the help of Beelzebub", as we say in 
German. But there seems to be little else that one can do.

Hermann

[1] 
http://gnuplot.cvs.sourceforge.net/viewvc/gnuplot/gnuplot/src/axis.c?revision=1.130&view=markup


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


Thread

Major and minor ticks artifact Janis Papanagnou <janis_papanagnou@hotmail.com> - 2014-03-02 18:19 +0100
  Re: Major and minor ticks artifact Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-03-02 20:10 +0100
    Re: Major and minor ticks artifact Janis Papanagnou <janis_papanagnou@hotmail.com> - 2014-03-14 23:54 +0100
      Re: Major and minor ticks artifact sfeam <sfeam@users.sourceforge.net> - 2014-03-14 22:17 -0700
        Re: Major and minor ticks artifact Janis Papanagnou <janis_papanagnou@hotmail.com> - 2014-03-15 10:54 +0100
          Re: Major and minor ticks artifact Karl <mail.kfr@gmx.net> - 2014-03-18 18:38 +0100
            Re: Major and minor ticks artifact Hermann Peifer <peifer@gmx.eu> - 2014-03-20 07:10 +0100
      Re: Major and minor ticks artifact Hermann Peifer <peifer@gmx.eu> - 2014-03-15 13:27 +0100
        Re: Major and minor ticks artifact Janis Papanagnou <janis_papanagnou@hotmail.com> - 2014-03-15 23:02 +0100
          Re: Major and minor ticks artifact Hermann Peifer <peifer@gmx.eu> - 2014-03-16 01:54 +0100
            Re: Major and minor ticks artifact Janis Papanagnou <janis_papanagnou@hotmail.com> - 2014-03-21 05:52 +0100
          Re: Major and minor ticks artifact Dan Luecking <LookInSig@uark.edu> - 2014-03-20 12:24 -0500
            Re: Major and minor ticks artifact Janis Papanagnou <janis_papanagnou@hotmail.com> - 2014-03-21 05:54 +0100

csiph-web