Talk About Network

Google





Graphics > Gnuplot interactive function plotter > Adding labels a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3510 of 3655
Post > Topic >>

Adding labels above bars in histogram

by ErnstB <ernst.blaauw@[EMAIL PROTECTED] > Sep 17, 2008 at 07:45 AM

Hi,

I've made a graph using the following script:

set terminal postscript enhanced color
set output 'Aantal leden.ps'
set boxwidth 0.9 absolute
set style fill   solid 1.00 border -1
set style histogram clustered gap 1 title  offset character 0, 0, 0
set datafile missing '-'
set style data histograms
set xtics border in scale 1,0.5 nomirror rotate by -45  offset
character 0, 0, 0
set xtics  ("2001-2002" 0.00000, "2002-2003" 1.00000, "2003-2004"
2.00000, "2004-2005" 3.00000, "2005-2006" 4.00000, "2006-2007"
5.00000, "2007-2008" 6.00000, "2008-2009" 7.00000)
set title "Ledenontwikkeling Nassau vanaf seizoen 2001-2002"
set autoscale y
set yrange [0:] noreverse nowriteback
plot 'Statistiekenleden.csv' u 2:xtic(1) ti col

Now, I want to add labels with actual values above the bars, so it is
possible to see the exact height of the bars. However, using thge
following plot command:

plot 'Statistiekenleden.csv' u 2:xtic(1) ti col, ''					 u
0:2:2:xtic(1) with labels notitle

the whole graph isn't correctly anymore; the labels (x-axe and labels)
are ****fted a place to the right, and the latest bar is'nt visible
anymore.
Can someone help me with this problem?
 




 2 Posts in Topic:
Adding labels above bars in histogram
ErnstB <ernst.blaauw@[  2008-09-17 07:45:31 
Re: Adding labels above bars in histogram
ErnstB <ernst.blaauw@[  2008-09-19 05:10:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
localhost-V2008-12-19 Wed Jan 7 23:24:03 PST 2009.