Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Re: How to plot...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 3395 of 3637
Post > Topic >>

Re: How to plot both pattern and fill color on a histogram

by merritt@[EMAIL PROTECTED] Jul 10, 2008 at 09:17 AM

In article
<75b4a5db-3b19-4068-8945-320d0e050819@[EMAIL PROTECTED]
>,
Vick  <vparth023@[EMAIL PROTECTED]
> 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
 




 6 Posts in Topic:
How to plot both pattern and fill color on a histogram
Vick <vparth023@[EMAIL  2008-07-10 08:01:13 
Re: How to plot both pattern and fill color on a histogram
merritt@[EMAIL PROTECTED]  2008-07-10 09:17:05 
Re: How to plot both pattern and fill color on a histogram
Vick <vparth023@[EMAIL  2008-07-11 07:47:07 
Re: How to plot both pattern and fill color on a histogram
merritt@[EMAIL PROTECTED]  2008-07-11 08:19:27 
Re: How to plot both pattern and fill color on a histogram
Vick <vparth023@[EMAIL  2008-07-11 10:04:25 
Re: How to plot both pattern and fill color on a histogram
merritt@[EMAIL PROTECTED]  2008-07-11 12:28:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:47:43 CST 2008.