Sorry,
I think the columns overlap because I have very columns on data file.
#SCRIPT
set size 2,0.8
set encoding iso_8859_1
set term postscript portrait monochrome 10 font "Helvetica,16" enhanced
set datafile missing "-"
set xtics nomirror rotate by -45
set key bmargin center horizontal Left reverse enhanced autotitles
columnhead nobox font "Helvetica,16"
set grid y
set boxwidth 1 absolute
set style fill pattern 1 border 0
set style histogram clustered gap 2 title offset character 0, 0, 0
set style data histograms
set output 'BSDcompare1.eps'
plot for [i=2:12] '1994-2001.dat' using i:xtic(1) title columnhead
#DATA
- Openbsd Netbsd Freebsd Opensolaris Solaris Debian
Ubuntu Redhat Win2000 Win2003 Win2008
Openbsd - 20 18 0 5 0 0 4 1 0 0
Netbsd 20 - 22 0 8 2 0 6 1 0 0
Freebsd 18 22 - 0 11 5 1 12 1 0 0
Opensolaris 0 0 0 - 0 0 0 0 0 0 0
Solaris 5 8 11 0 - 3 0 6 2 0 0
Debian 0 2 5 0 3 - 1 31 0 0 0
Ubuntu 0 0 1 0 0 1 - 1 0 0 0
Redhat 4 6 12 0 6 31 1 - 0 0 0
Win2000 1 1 1 0 2 0 0 0 - 0 0
Win2003 0 0 0 0 0 0 0 0 0 - 0
Win2008 0 0 0 0 0 0 0 0 0 0 -
Thanks
On 11/21/2010 12:52 PM, Hans-Bernhard Bröker wrote:
> On 12.11.2010 18:17, Miguel Garcia wrote:
>
>> So the graphic will be something like, in the first X value(openbsd)
>> will have 5 bars (Netbsd, Freebsd, Solaris, Redhat and win2003), but the
>> problem is that the bars are overlapping instead of being
>> side-by-side...
>
> How do you expect people to know what went wrong if you don't show
> what you actually did?
--
Miguel Garcia
http://homepages.lasige.di.fc.ul.pt/~mhenriques
|