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


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

Re: 3D line changing color

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Ethan A Merritt <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: 3D line changing color
Date Wed, 02 Oct 2013 15:18:34 -0700
Organization gnuplot development
Lines 9
Message-ID <l2i63r$j90$1@dont-email.me> (permalink)
References <51a0a65b-58a1-4367-9796-e1319faf5d8c@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Wed, 2 Oct 2013 22:18:35 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="8e86a57dfa599721f116da4577f3d1af"; logging-data="19744"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vfL2hGcnLTzEC9Qd5fq32"
User-Agent KNode/4.10.5
Cancel-Lock sha1:geOj/ut3z5USjW3QNG0K9LB6+AQ=
Xref csiph.com comp.graphics.apps.gnuplot:2057

Show key headers only | View raw


fedefras@gmail.com wrote:

> Hello,
> I have a file with 4 columns, for example representing the 3 space
> coordinates and the energy of a particle. How to plot in gnuplot the
> trajectory of the particle with splot in a way that the energy is
> represented by a color scale? So I will have a single line in 3D with a
> changing color.  Thanks

  splot 'data' using 1:2:3:4 with lines linecolor palette

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


Thread

3D line changing color fedefras@gmail.com - 2013-10-01 17:51 -0700
  Re: 3D line changing color Ethan A Merritt <sfeam@users.sourceforge.net> - 2013-10-02 15:18 -0700

csiph-web