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


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

Re: Can contour surface model be saved to file?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!postnews.google.com!bl1g2000vbb.googlegroups.com!not-for-mail
From Bengt T <bengt_tornqvist@hotmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Can contour surface model be saved to file?
Date Fri, 17 Jun 2011 09:08:52 -0700 (PDT)
Organization http://groups.google.com
Lines 47
Message-ID <5d1c19ce-1885-44df-a9c8-fb968d1422d3@bl1g2000vbb.googlegroups.com> (permalink)
References <5fcfa1fb-f678-4d88-887e-57fa4303df99@b3g2000vbm.googlegroups.com> <409ab62a-840a-443d-95d3-6e6e4338bbbc@e35g2000yqc.googlegroups.com>
NNTP-Posting-Host 213.64.58.235
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1308326933 19627 127.0.0.1 (17 Jun 2011 16:08:53 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Fri, 17 Jun 2011 16:08:53 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info bl1g2000vbb.googlegroups.com; posting-host=213.64.58.235; posting-account=rPxKYAkAAACZL9Ia3g3cZHelK-_cv8q3
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order HUALESNKRC
X-HTTP-UserAgent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.16) Gecko/20110319 SUSE/3.6.16-0.2.1 Firefox/3.6.16,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:384

Show key headers only | View raw


On Jun 17, 12:07 pm, Johan B <johan.ba...@gmail.com> wrote:
> On Jun 17, 1:52 am, Bengt T <bengt_tornqv...@hotmail.com> wrote:
>
>
>
> > I have a contour plot (meshed surface) build from file with x-, y- and
> > z-coordinates and wish to save the mathematical model, generated by
> > gnuplot, in some way. The goal is to use the model to generate z-
> > coordinate from new x- and y-coordinates.
>
> > Example of input file (x, y, z):
> > 1 1 1
> > 1 2 2
> > 1 3 3
> > 2 1 2
> > 2 2 4
> > 2 3 1
> > etc.
>
> > After saving the model I wish to be able to generate z-coordinate for
> > any x-/y-coordinates within the surface. For example, x=1.8 and y=1.4.
>
> > Is it possible to save the model generated in a plot or are there any
> > other suggestions?
>
> Hi Bengt!
>
> You can always use the "save" command which saves userdefined
> functions, variables, the set term status, all set options, or all
> of these, plus the last plot (splot) command to the specied file
> with the save command and later reload them with the "load" command.
> All according to the manual athttp://www.gnuplot.info/docs_4.4/gnuplot.pdf
>
> To the best of my knowledge, you would have to use a suitable 2-
> dimensional function, then fit with the fit command as described in:http://gnuplot.sourceforge.net/demo_4.4/fit.html
>
> This was you can use the function with the generated fit parameters to
> later get a z value for any given x and y.
>
> There might be other ways as well, but then beyond my (somewhat
> limited) knowledge.

Thanks for response. I looked into the gnuplot.pdf  file and found
"table", which maybe is what I was searching for.

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


Thread

Can contour surface model be saved to file? Bengt T <bengt_tornqvist@hotmail.com> - 2011-06-16 22:52 -0700
  Re: Can contour surface model be saved to file? Johan B <johan.barne@gmail.com> - 2011-06-17 03:07 -0700
    Re: Can contour surface model be saved to file? Bengt T <bengt_tornqvist@hotmail.com> - 2011-06-17 09:08 -0700
  Re: Can contour surface model be saved to file? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-06-17 21:26 +0200
    Re: Can contour surface model be saved to file? Bengt T <bengt_tornqvist@hotmail.com> - 2011-06-19 00:37 -0700
      Re: Can contour surface model be saved to file? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-06-19 16:00 +0200
        Re: Can contour surface model be saved to file? Ingo Thies <ingo.thies@gmx.de> - 2011-06-19 21:30 +0200
          Re: Can contour surface model be saved to file? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-06-21 00:12 +0200
            Re: Can contour surface model be saved to file? Ingo Thies <ingo.thies@gmx.de> - 2011-06-21 16:00 +0200

csiph-web