Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Can contour surface model be saved to file? Date: Fri, 17 Jun 2011 21:26:14 +0200 Lines: 29 Message-ID: <961o1dFmv7U1@mid.dfncis.de> References: <5fcfa1fb-f678-4d88-887e-57fa4303df99@b3g2000vbm.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de b0cXu2AdPjXp0vFW1KyYeAbdxrinU/oJoS4IY4KvJ6C9edJ7gAJgLaRHtu Cancel-Lock: sha1:ClD96U40pkHgMRTfRTFVlOzHLXs= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: <5fcfa1fb-f678-4d88-887e-57fa4303df99@b3g2000vbm.googlegroups.com> Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:385 On 17.06.2011 07:52, Bengt T 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. No can do, because there is not really any such model. None you would need gnuplot to generate, anyway. Gnuplot draws contours by dead simple interpolation of the input data to find points along the edges between neighboring data points where the contour level might be reached. I.e. the model, if any, is just a simple triangle mesh set up directly by your data points. > 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 Is the actual data gridded (your example could be, but isn't) or do you rely on dgrid3d to do that for you?