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


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

Re: inconsistent user defined colors in column-stacked histogram

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: inconsistent user defined colors in column-stacked histogram
Followup-To comp.graphics.apps.gnuplot
Date Wed, 17 Oct 2012 17:09:40 -0700
Organization gnuplot development team
Lines 35
Message-ID <k5nhc6$r05$1@dont-email.me> (permalink)
References <25fddf89-54f7-4aae-95bc-b53b854ebe88@googlegroups.com> <f2904817-bcc2-4607-94f6-a88474d12de3@googlegroups.com>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Thu, 18 Oct 2012 00:09:43 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="8e86a57dfa599721f116da4577f3d1af"; logging-data="27653"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19PBS6fT309sucyORhmtPBY"
User-Agent KNode/4.4.9
Cancel-Lock sha1:oGJdvJwj9tjH9XT+8H6QrqpFT7Q=
Xref csiph.com comp.graphics.apps.gnuplot:1417

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


Danielle de Man wrote:

> A solution would be very much appreciated.
> 

You don't give any version information and sample data, so I can 
only offer suggestions.

1) There was a stacked histogram color fix in 4.6.1,
   so if you are using 4.6.0 maybe that would take care of it.

2) Related to the bug mentioned in (1), it may help to start with
   a "newhistogram" command that specifies the first line type/style
   to be used.   Specify "0" so that it corrects for the offset of
   one color that you describe.
     plot newhistogram lt 0, \
     "deletions.stat" using 2 title col,\
     for [i=3:39] "" using i title col,\
     "" using 40:key(1) title col

3) "set style increment user" is deprecated in version 4.6,
   so it hasn't seen much testing.
   You might try instead:

   set linetype 1 linecolor rgb "dark-green"
   set linetype 2 linecolor rgb "green"
   ...
   set linetype N linecolor rgb "whatever"
   set linetype cycle N


If that doesn't help, please file a bug report on SourceForge
and include full version information and a copy of a script
and data file so that the problem can be reproduced and fixed.

	Ethan

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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