Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?J=c3=b6rg_Buchholz?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Issue with columnstacked histogram and fill colors Date: Thu, 5 Jan 2017 19:16:00 +0100 Organization: A noiseless patient Spider Lines: 38 Message-ID: References: <472cdd3a-62c6-4ab6-993b-2a11a6d521c6@googlegroups.com> <2c11c310-cf4c-4085-b2dc-012dc8815f43@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 5 Jan 2017 18:14:28 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="79f9b1cf87f54fb3c96fe14e05cd016b"; logging-data="4562"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cu2n3+kFtlheMnNlqJTasLksU5ZxdSuI=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 In-Reply-To: <2c11c310-cf4c-4085-b2dc-012dc8815f43@googlegroups.com> Cancel-Lock: sha1:Bhm31xB4aY50YUbbnxz/e2vZfs8= Xref: csiph.com comp.graphics.apps.gnuplot:3518 On 04.01.2017 05:25, Ben Olson wrote: > On Tuesday, January 3, 2017 at 3:50:21 PM UTC-5, Jörg Buchholz wrote: >> On 03.01.2017 19:39, benbenolson@gmail.com wrote: >> Do you want to change only the color in the first stack? Then have look >> to the following code: >> >> plot newhistogram '' lt 1, \ >> 'histocolor.dat' using "def", \ >> '' using "" , \ >> newhistogram 'avrora' at 1 lt 5, \ >> 'histocolor.dat' using "01", \ >> '' using "02" , \ >> '' using "05" , \ >> '' using "10" , \ >> '' using "20" ,\ > > That works! Yes, but I don't have a good day at that day. This code is more clear: plot newhistogram '' lt 1,\ 'newhisto.txt' u "def",\ newhistogram 'avrora' at 1 lt 5,\ '' u "01",\ '' u "02",\ '' u "05",\ '' u "10",\ '' u "20" >Incrementing the value that I use with `at`, I am able to plot multiple clusters with >one stack being a different color. It works perfectly, and I'm now using it in my publication. Where can we found your publication? Jörg