X-Received: by 2002:a6b:1883:: with SMTP id 125-v6mr22336365ioy.35.1537256217750; Tue, 18 Sep 2018 00:36:57 -0700 (PDT) X-Received: by 2002:aca:5557:: with SMTP id j84-v6mr22594oib.3.1537256217632; Tue, 18 Sep 2018 00:36:57 -0700 (PDT) Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!x188-v6no30360ite.0!news-out.google.com!z5-v6ni72ite.0!nntp.google.com!x188-v6no30354ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Tue, 18 Sep 2018 00:36:57 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=140.77.179.238; posting-account=waD_bgoAAAAYwiBo75S9Sxr6xYG7wtA4 NNTP-Posting-Host: 140.77.179.238 References: <452156f4-823d-4c96-822e-0ef8d56b0d81@googlegroups.com> <1b1b4ef8-c458-426a-872b-cba3db812414@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Substract value from contour line to surface From: "laterite@laposte.net" Injection-Date: Tue, 18 Sep 2018 07:36:57 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 69 Xref: csiph.com comp.graphics.apps.gnuplot:4041 Le mardi 18 septembre 2018 07:47:00 UTC+2, Karl Ratzsch a =C3=A9crit=C2=A0: > Am 18.09.2018 um 07:08 schrieb laterite@laposte.net: > > Le lundi 17 septembre 2018 22:25:51 UTC+2, Hans-Bernhard Br=C3=B6ker a = =C3=A9crit=C2=A0: > >> Am 17.09.2018 um 17:17 schrieb laterite@laposte.net: > >>> Hi, > >>> > >>> I have an analytical 2D function G(x,y) and a .dat file giving me the= x0,y0 points solution of the equation G(x0,y0)=3D0 in a .dat file. > >> > >> There is not really such a thing as "the" points that fulfill that=20 > >> criterion --- at least none where that whole set fits into a finite-si= ze=20 > >> data file. So let's say you have some subset of that in a file. > >> > >>> Now, I would like to plot the surface of the function G(x,y0)-G(x0,y0= ). > >> > >> How isn't that the exact same surface as G(x,y) itself? You've just= =20 > >> renamed the second independent variable and subtracted a constant zero= ! > >=20 > >=20 > > Sorry, my bad, I made a mistake in my explanation : > >=20 > > I have an analytical 2D function G(x,y) and a .dat file giving me a sub= set of x0,y0 points solution of the equation dG/dx|_y=3D0 in a .dat file. > >=20 > > And no I want to plot G(x,y0)-G(x0,y0) > >=20 >=20 > What are x0 and y0, i.e. which pair from your solution data file do you > want to use for this plot? >=20 > Or do you want the set of all those curves? I want to plot the surface of those. My set of x0,y0 looks like : # x0, y0, 0 0.73584 9.4 0=20 0.737374 9.48847 0=20 0.739276 9.6 0=20 0.742614 9.8 0=20 0.745882 10 0=20 0.747475 10.0996 0=20 0.749052 10.2 0=20 0.752131 10.4 0=20 And in my plot, I would like to have something like : splot (G(x,1,y,0,0)-G(x0,1,$2,0,0))=20 ------------------------------ I tried to add the x0 values at the end of a data grid in a dat file like : #x,y,G(x,1,y,0,0), u or i, x0 0 0.2 0 u 0.124771 0.010101 0.2 -15064.8 i 0.124771 0.020202 0.2 -11467.5 i 0.124771 0.030303 0.2 -9288.36 i 0.124771 0.040404 0.2 -7684.06 i 0.124771 0.0505051 0.2 -6389.49 i 0.124771 0.0606061 0.2 -5285.68 i 0.124771 and tried the command :=20 splot 'data.dat' u 1:2:(G($1,1,$2,0,0)-G($5,1,$2,0,0)) but it is not working as G(x,y)-G(x0,y0) is not equal to 0 at x0,y0 while i= t should by definition.