Re: is painting with corners2color working incorrectly for Y axis?

Yury <[email protected]> Fri, 12 Apr 2024 07:12:57 +0300
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
Hello Norwid,

On 11/04/2024 11:47, Norwid Behrnd via 
gnuplot-info wrote:
> Option i) retains the pm3d map and offers a smoother visual representation by
> increase of the `isosample` parametre alone

Thank you and everybody for your replies. You 
gave me an idea how to 'put a plaster on it', at 
least.

I have to use BOTH `samples` and `isosamples`, 
set to the same value. The following produces 
just what was intended:
```
set terminal x11 ;
set size square.
set xrange [-3:4]; set yrange [-3:4];
set samples 8 ; set isosamples 8
sigma = 2.0;
f(x,y) = (1/(2*pi*sigma**2)) * 
exp(-(x*x+y*y)/(2*sigma**2)) ;
set grid
set pm3d map corners2color c1;.
splot f(x,y)
```
However, my question stands.
When using my original example (with `samples` 
only), there's an unexpected (?) asymmetry in 
the output, which Dr. Lippert confirms.
AFAIU there shouldn't be.

-Yury


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