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


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

Re: Plotting line graphs in 3D

From Christoph Bersch <usenet@bersch.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Plotting line graphs in 3D
Date 2011-04-20 14:08 +0200
Organization GWDG, Goettingen
Message-ID <iomibs$14h5$1@gwdu112.gwdg.de> (permalink)
References <e52df71e-1581-43fa-a49f-dea420e447e1@v31g2000vbs.googlegroups.com>

Show all headers | View raw


On 20.04.2011 14:02, Durand wrote:
> Hi,
>
> I'm wondering whether it is possible to plot a line on a 3d plane. I
> tried doing splot sin(x) but it made a surface rather than just a
> line. I'm trying to plot an electromagnetic wave, essentially
> something like this: http://en.wikipedia.org/wiki/File:Onde_electromagnetique.svg

Try:

set parametric
splot u, cos(u), 0, u, 0, cos(u)

Christoph

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


Thread

Plotting line graphs in 3D Durand <durand1@gmail.com> - 2011-04-20 05:02 -0700
  Re: Plotting line graphs in 3D Christoph Bersch <usenet@bersch.net> - 2011-04-20 14:08 +0200
    Re: Plotting line graphs in 3D Christoph Bersch <usenet@bersch.net> - 2011-04-20 15:23 +0200

csiph-web