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



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.
.



Relevant Pages

  • Re: Difference between randomness and automated selection
    ... be in either the pattern or design sense. ... The information storage mechanism of DNA ...     * DNA Language ...     * What makes a language? ...
    (talk.origins)
  • Re: Interface Delegation or ??
    ... it seems that you're trying to use a Design ... Pattern called the "Strategy Pattern". ...     public void dosomething; ...
    (comp.lang.java.programmer)
  • Re: cease and desist
    ...    As a result of that pattern of conduct, ... made a credible threat with the intent to place the ... any order issued pursuant to Section 527.6 of the Code ...
    (alt.gathering.rainbow)
  • Re: Design pattern
    ... You are merging BLL functionality with Data Access Functionality. ... method type pattern for a BLL pattern. ...     void executeJob ... sealed class blahJob:AbstractJob ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is guitar a poor choice for 1st instrument?
    ... drills. ...    Marking a guitar with the pattern seems to really help my students.. ... Noad introduces the sharps and flats yet only uses the C major pattern ... Here's a site with learning style quiz, ...
    (rec.music.classical.guitar)