Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2041
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: assigning specific colors with a pseudocolumn(-2) and linecolor variable? |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2013-09-19 16:50 -0700 |
| Organization | gnuplot development team |
| Message-ID | <l1g2l0$sj1$1@dont-email.me> (permalink) |
| References | <840b29be-7641-41a6-ac5a-970fbbebf9f6@googlegroups.com> <l19ue3$jdh$1@dont-email.me> <f9951c85-cb31-44f2-b879-2a11ee3b3190@googlegroups.com> |
Followups directed to: comp.graphics.apps.gnuplot
TonyG wrote: > On Tuesday, September 17, 2013 12:02:09 PM UTC-4, sfeam replied: >> >> Offset = 100 >> >> set linetype Offset lc rgb 'black' >> >> set linetype Offset+1 lc rgb 'red' >> >> set linetype Offset+2 lc rgb 'blue' >> >> ... >> >> plot 'Data.out' ... using ($1):($2):(column(-2) + Offset) ... lc >> variable >> >> > Also, how to assign different labels for the various colors? >> >> DarkCyan = 0x00DDDD # Not sure this works on windows >> >> set linetype Offset+3 lc rgb DarkCyan >> >> but also see "show colors" > > Wonderful! It works perfectly--although, in spite of reading the help > files, I have a bit of a problem understanding exactly why... ;-) I > assume that you set Offset=100 to be outside the probable max number > of data sets? Number of data sets is not a problem. I picked 100 as being large enough so that it probably wouldn't overwrite any previous definitions of linetypes 1, 2, 3, ... used to determine the sequence of colors used for plotting. Ethan
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar | Unroll 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