Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail From: Hermann Peifer Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Major and minor ticks artifact Date: Sun, 16 Mar 2014 01:54:09 +0100 Organization: albasani.net Lines: 15 Message-ID: <5324F631.8070005@gmx.eu> References: <53244732.8080404@gmx.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net oXpcZR+3/0HcYUmwmottjlJqmzOeKTFyBFHz/1HOdN37IqECfleNf/iV4FAgTUws8uRb0Q1vT/dX70cYdTFMLaXga0qbz0hWGkGkeCt41SyGQsXuWf3Cg9IMUk0OnyHT NNTP-Posting-Date: Sun, 16 Mar 2014 00:54:10 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="OpOryl8c+D4ip+5/W7ZV5XSlIWxos/17O4vzojWGNWDxhUBRsNbURSsqqrXig7iW6GQFquVlwNffq+zFLq3Ji7rq+kOwqCrGDASR0A8q2FiHHg5ZIyHnVFC51yZXEcTG"; 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 In-Reply-To: Cancel-Lock: sha1:YOeKOBV+snx0QvRwXoOwd94ehME= Xref: csiph.com comp.graphics.apps.gnuplot:2350 On 2014-03-15 23:02, Janis Papanagnou wrote: > You would better iterate over an _integer_ range, the number > of tics[**] - this is also the value that you already have available, BTW -, > and multiply for every tic the counted integer number with the FP increment. > To illustrate in a fragment of pseudo-code > > ## example range [ 0.0 .. 1.0 ], with inc=0.1 Thanks for explaining and illustrating the issue. Increments of 0.1 are indeed a pain. People should simply change their thinking and coding to inc=0.125, or apply the integer method you described. Hermann