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


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

Re: Samples, isosamples, and how they affect contour lines

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Samples, isosamples, and how they affect contour lines
Date Thu, 12 Jul 2018 17:18:23 +0200
Organization solani.org
Lines 40
Message-ID <pi7rfv$22d$1@solani.org> (permalink)
References <884eb2ab-a118-41a9-aaa1-bfcdd71f0d0e@googlegroups.com> <pi4igh$v3p$1@solani.org> <31e8c304-ae02-4814-b3f3-48c06a77dded@googlegroups.com> <pi6r9e$cjn$1@solani.org> <5187f490-08b0-4d98-acea-61f0ff158f3f@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1531408703 2125 127.0.0.43 (12 Jul 2018 15:18:23 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Thu, 12 Jul 2018 15:18:23 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
X-User-ID eJwFwYEBgDAIA7CXZECL5wis/59gkg7DMJCIVKqtX+4JNnHNvUxVXugdPHaSHF5tfQioZT8P3xDm
In-Reply-To <5187f490-08b0-4d98-acea-61f0ff158f3f@googlegroups.com>
Cancel-Lock sha1:DTlY4CLBjtHBcQSpNBx1M1tPqhY=
Content-Language en-GB
Xref csiph.com comp.graphics.apps.gnuplot:4007

Show key headers only | View raw


Am 12.07.2018 um 08:50 schrieb nawridlz@gmail.com:
> By y-grid you mean the plane z = 80?
> 
no, the sampling distance between points in direction y.

   set sample 6	
   set isosample 500

gives a grid with 6 points in direction x, times 500 in direction y.
That's the grid you see with

   set view map
   splot $surface

How should the contour routine know what the z values at x=0 are when
there is nothing to interpolate between?

Actually your contour is terrible between [-10:-6] and [6:10] too. It
looks nice and round, but is a very sketchy interpolation, much worse
even in [-6:-2] and [2:6]

  reset
  set samp 100
  set isos 100
  set table $surf200 # this is a well-gridded plot
  splot x**2+y**2

  set samp 6
  set isos 500
  set table $surface # this isn't
  rep
  unset table

  set view map
  set cntrparam levels discrete 20, 40, 60, 80
  set contour
  unset surface   # comment out to see the grid
  splot $surf200 w l title "200x200 grid", \
        $surface w p ps .5 pt 1 title "6x500 grid"

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


Thread

Samples, isosamples, and how they affect contour lines nawridlz@gmail.com - 2018-07-11 00:02 -0700
  Re: Samples, isosamples, and how they affect contour lines Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-11 11:26 +0200
    Re: Samples, isosamples, and how they affect contour lines nawridlz@gmail.com - 2018-07-11 22:39 -0700
      Re: Samples, isosamples, and how they affect contour lines Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-12 08:08 +0200
        Re: Samples, isosamples, and how they affect contour lines nawridlz@gmail.com - 2018-07-11 23:50 -0700
          Re: Samples, isosamples, and how they affect contour lines Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-12 17:18 +0200
            Re: Samples, isosamples, and how they affect contour lines nawridlz@gmail.com - 2018-07-13 00:22 -0700
              Re: Samples, isosamples, and how they affect contour lines Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-13 12:39 +0200
  Re: Samples, isosamples, and how they affect contour lines Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-13 09:53 +0200

csiph-web