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


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

Re: 3D line changing color

From Ethan A Merritt <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: 3D line changing color
Date 2013-10-02 15:18 -0700
Organization gnuplot development
Message-ID <l2i63r$j90$1@dont-email.me> (permalink)
References <51a0a65b-58a1-4367-9796-e1319faf5d8c@googlegroups.com>

Show all headers | 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