Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1407
| Received | by 10.224.223.14 with SMTP id ii14mr5400687qab.3.1350200670142; Sun, 14 Oct 2012 00:44:30 -0700 (PDT) |
|---|---|
| Received | by 10.224.59.83 with SMTP id k19mr1613142qah.9.1350200669787; Sun, 14 Oct 2012 00:44:29 -0700 (PDT) |
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!l8no50996472qao.0!news-out.google.com!r17ni28369079qap.0!nntp.google.com!l8no50138126qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Sun, 14 Oct 2012 00:44:29 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=212.64.23.126; posting-account=poSZNwoAAAD-bB3bvWeCkAYhwwvRp74N |
| NNTP-Posting-Host | 212.64.23.126 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <25fddf89-54f7-4aae-95bc-b53b854ebe88@googlegroups.com> (permalink) |
| Subject | inconsistent user defined colors in column-stacked histogram |
| From | Danielle de Man <deman.danielle@gmail.com> |
| Injection-Date | Sun, 14 Oct 2012 07:44:29 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Received-Bytes | 2628 |
| Xref | csiph.com comp.graphics.apps.gnuplot:1407 |
Show key headers only | View raw
I am trying to create a column-stacked histogram and because there are more than 9 different caterogies I would like to use user defined colors for the histrogram. When I don't use user defined colors, the color scheme is correct beside the fact that it of course repeats after 9 categories. When I implement user defined colors most colors shift up one category and the first color seem like it has been randomly selected. The keys in the caption are the correct colors but the bars are not. Is this a bug?
code:
set title "Deletions in gene regulatory network" font "Verdana,16"
set xrange [0:40]
set yrange [0:100]
set auto x
set ylabel "% changed" font "Verdana,12"
unset style
set style data histogram
set style histogram columnstacked
set style fill solid border -1
set style line 1 linecolor rgb "dark-green"
set style line 2 linecolor rgb "green"
set style line 3 linecolor rgb "cyan"
set style line 4 linecolor rgb "dark-blue"
set style line 5 linecolor rgb "blue"
set style line 6 linecolor rgb "dark-magenta"
set style line 7 linecolor rgb "purple"
set style line 8 linecolor rgb "pink"
set style line 9 linecolor rgb "dark-pink"
set style line 10 linecolor rgb "red"
set style line 11 linecolor rgb "brown"
set style increment user
set key top right spacing 0.9 width 4 height 0.5 font "Verdana,12" box lw 1
set boxwidth 0.7
unset xtics
set xtics nomirror rotate by -90 font ",8"
plot "deletions.stat" using 2 title col,\
for [i=3:39] "" using i title col,\
"" using 40:key(1) title col
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
inconsistent user defined colors in column-stacked histogram Danielle de Man <deman.danielle@gmail.com> - 2012-10-14 00:44 -0700
Re: inconsistent user defined colors in column-stacked histogram Danielle de Man <deman.danielle@gmail.com> - 2012-10-17 11:36 -0700
Re: inconsistent user defined colors in column-stacked histogram sfeam <sfeam@users.sourceforge.net> - 2012-10-17 17:09 -0700
Re: inconsistent user defined colors in column-stacked histogram thierry.daucourt@gmail.com - 2012-11-10 15:17 -0800
csiph-web