Re: How to plot both pattern and fill color on a histogram
- From: Vick <vparth023@xxxxxxxxx>
- Date: Fri, 11 Jul 2008 07:47:07 -0700 (PDT)
On Jul 10, 12:17 pm, merr...@xxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
In article <75b4a5db-3b19-4068-8945-320d0e050...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Vick <vparth...@xxxxxxxxx> wrote:
Is there a way to plot pattern with a fill color in a histogram?
For example if I would like a bar with color lt rgb "#0000EE" and fs
pattern 1; can it be done simultaneously in GNUplot? Please let me
know.
You can give an explicit fill style and color for each column of data:
set style data histogram
plot 'foo' using 2 lc rgb 'gold' fillstyle solid 1.0 noborder, \
'' using 4 lc rgb 'purple' fillstyle pattern 1
There is a minor bug in version 4.2 that makes the command sensitive to
the order of the plot options; you must specify the color first and
the fillstyle second.
--
Ethan A Merritt
Do you know by chance if using color and fs pattern 1 works in the old
version. I tried to do it and it doesn't work in my system. Do you
know why?
Thank You.
.
- Follow-Ups:
- Re: How to plot both pattern and fill color on a histogram
- From: Ethan Merritt
- Re: How to plot both pattern and fill color on a histogram
- References:
- Prev by Date: Re: more than one figures on one shot
- Next by Date: Re: more than one figures on one shot
- Previous by thread: Re: How to plot both pattern and fill color on a histogram
- Next by thread: Re: How to plot both pattern and fill color on a histogram
- Index(es):
Relevant Pages
|