Re: SAMPLES, values at ticmarks

Hans-Bernhard Bröker <[email protected]> Fri, 11 Jul 2025 18:55:36 +0200
Newsgroups gmane.comp.graphics.gnuplot.bugs
Message-ID <[email protected]>
Am 11.07.2025 um 16:58 schrieb Erik Luijten:
> Hi,
> 
> I hope this is not sacrilege, but would it be possible to consider changing
> the default value of SAMPLES in gadgets.h?  I understand that this was set
> to this value in a time when the calculation was costly and screens had
> much lower resolution, but nowadays there doesn't seem to be a good reason
> to not set it to, say, 500. 

Computational cost is not the only reason.  It helps people understand 
the fact that the sampling is, in fact, discrete if the first few curves 
they see, as absolute newbies, show some visible sampling right off the 
bat.  It keeps them from forming an incorrect mental image of what this 
program will do.

> Related to that particular demo: I noticed that the values at tics marks
> are not located exactly where one would expect them. 

That depends, as always, on what one expects.  I think you'll understand 
better if you replace the default tic format with "%+h" and re-do your 
exercise.



_______________________________________________
gnuplot-bugs mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs