home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!cs.utexas.edu!tamsun.tamu.edu!abgen.tamu.edu!vamsee
- From: vamsee@abgen.tamu.edu (Vamsee Lakamsani)
- Newsgroups: comp.graphics.gnuplot
- Subject: bar plots, multiple graphs and label control
- Date: 29 Dec 1992 07:40:07 GMT
- Organization: Center for Macromolecular Design, Texas A&M University.
- Lines: 77
- Distribution: world
- Message-ID: <1hovcnINNe6e@tamsun.tamu.edu>
- NNTP-Posting-Host: abgen.tamu.edu
-
- How does one do bar plots using gnuplot ? Is it possible to fill up the
- bars with different patterns or just plain black ?
-
- As an example, suppose I have the following values,
-
- a 20
- b 30
-
- My bar plot should look somewhat like (with the bars filled with some pattern),
- __
- | __ | |
- | | | | |
- | | | | |
- | | | | |
- | | | | |
- -----------------------------
- a b
-
- Is it possible to do one pattern for bar "a" and another for bar "b" ?
- Suppose I have a1,a2 and b1,b2 such that a1,b1 belong to one data set and
- a2,b2 belong to another data set and I want compare the corresponding
- data items by plotting them together. So we have
-
- |
- |
- |
- -------------------
- a1 a2 b1 b2
-
- It would be nice if a1,b1 had one pattern and a2,b2 had another pattern in
- their respective bars.
-
-
- Here is another plotting problem that I have. I have two data sets.
-
- Data set 1
-
- 52Y 10
- 63K 12.3
- 54Z 8.4
- .....
- .....
- .....
-
-
- Data set 2
-
- 12R 3.4
- 13L 4.3
- 25P 8.9
- .......
- .......
- .......
-
-
- My plot should look approximately like,
-
- Data Set 1 Data Set 2
- |
- | .'. '`
- | / . ' `
- | .' . ......' \
- | .
- |
- | |<---x--->|
- ------------------------------------------
- 52Y 63K 54Z .. 12R 13L 25P ..
-
-
- Is it possible to adjust "x" in the above plot? Is it possible
- to draw the same plot such that, the graph for data set 2 is below
- (instead of being adjacent as shown above) the graph for data set 1 ?
- How can I adjust the separation then ? I suppose all gnuplot has all
- these capabilities. Its just that I don't seem to be able to find the
- right command.
-
- Vamsee
-