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


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

assigning specific colors with a pseudocolumn(-2) and linecolor variable?

Newsgroups comp.graphics.apps.gnuplot
Date 2013-09-16 20:00 -0700
Message-ID <840b29be-7641-41a6-ac5a-970fbbebf9f6@googlegroups.com> (permalink)
Subject assigning specific colors with a pseudocolumn(-2) and linecolor variable?
From TonyG <tgozdz@gmail.com>

Show all headers | View raw


When I use gnuplot v.4.6.3 (Win7) to plot multiple data sets separated by double blank lines via

pl 'Data.out' i 0:300:5 u ($1):($2):(column(-2)) t 'profiles' w l lc variable lw 2 

I get a chart with a suboptimal sequence of colors (for example, blue, yellow and green) for subsequent data sets.

How to assign specific colors, such as 'black', 'red' or 'blue' to various data sets?

Also, how to assign different labels for the various colors?

Thanks for any help.

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


Thread

assigning specific colors with a pseudocolumn(-2) and linecolor variable? TonyG <tgozdz@gmail.com> - 2013-09-16 20:00 -0700
  Re: assigning specific colors with a pseudocolumn(-2) and linecolor variable? sfeam <sfeam@users.sourceforge.net> - 2013-09-17 09:02 -0700
    Re: assigning specific colors with a pseudocolumn(-2) and linecolor variable? TonyG <tgozdz@gmail.com> - 2013-09-17 18:17 -0700
      Re: assigning specific colors with a pseudocolumn(-2) and linecolor variable? sfeam <sfeam@users.sourceforge.net> - 2013-09-19 16:50 -0700

csiph-web