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


Groups > comp.graphics.apps.gnuplot > #2055 > unrolled thread

3D line changing color

Started byfedefras@gmail.com
First post2013-10-01 17:51 -0700
Last post2013-10-02 15:18 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  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

#2055 — 3D line changing color

Fromfedefras@gmail.com
Date2013-10-01 17:51 -0700
Subject3D line changing color
Message-ID<51a0a65b-58a1-4367-9796-e1319faf5d8c@googlegroups.com>
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

[toc] | [next] | [standalone]


#2057

FromEthan A Merritt <sfeam@users.sourceforge.net>
Date2013-10-02 15:18 -0700
Message-ID<l2i63r$j90$1@dont-email.me>
In reply to#2055
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web