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

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 2012-10-17 17:09 -0700
Organization gnuplot development team
Message-ID <k5nhc6$r05$1@dont-email.me> (permalink)
References <25fddf89-54f7-4aae-95bc-b53b854ebe88@googlegroups.com> <f2904817-bcc2-4607-94f6-a88474d12de3@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | 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