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


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

Re: Creating 3D Surface Plots From a Series of 2D Graphs

Date 2014-05-04 12:53 +0200
From Karl <ratzsch@kit.edu>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Creating 3D Surface Plots From a Series of 2D Graphs
References <32a7fe13-79a5-4bba-bfb9-492b525f46a6@googlegroups.com>
Message-ID <53661c32$0$6713$9b4e6d93@newsspool2.arcor-online.net> (permalink)
Organization Arcor

Show all headers | View raw


Hi Fred,

just write all 2D datasets to a single file, with a blank line
between each, so pm3d knows knows how to construct the grid.

Then

  splot "fname" using 1:(column(-1)*z_increment):2 with pm3d

for explanations see

 help pseudocolumn
 help pm3d

I your 2D datasets don´t have the same number of points (or they´re
not sampled evenly), pm3d´s "interpolate" option might be of interest.

  Karl


On 04.05.2014 10:10, Frederick Brown wrote:
> Hi,
> 
> I'd like to create a smoothed 3D surface plot from a series of 2d graphs.
> 
> Here is a link to a 2d graph that shows a number of line graphs.  
> 
> http://i.imgur.com/a2AUGFb.png
> 
> Each line graph has a unique and constant z coordinate.  I want to use these to create a nifty looking 3d surface graph.  There will be more line graphs than are shown here to complete the surface.
> 
> I have scidavis, octave, and gnuplot, and have used them a little bit, scidavis the most because it's so quick and easy for 2d stuff.  Any ideas as to how I could accomplish this 3D plot?
> 
> Best regards,
> 
> Fred B
> 

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


Thread

Creating 3D Surface Plots From a Series of 2D Graphs Frederick Brown <frederick.brown@gmail.com> - 2014-05-04 01:10 -0700
  Re: Creating 3D Surface Plots From a Series of 2D Graphs Karl <ratzsch@kit.edu> - 2014-05-04 12:53 +0200
  Re: Creating 3D Surface Plots From a Series of 2D Graphs Frederick Brown <frederick.brown@gmail.com> - 2014-05-05 09:30 -0700
  Re: Creating 3D Surface Plots From a Series of 2D Graphs Frederick Brown <frederick.brown@gmail.com> - 2014-05-05 11:14 -0700

csiph-web