hi, try this.....
set style data boxes
plot 'temp.dat' u (0.5*($1+$2+1)):3
This seems to work for the way you have your data set
Hope this works. Gnuplot would appear to want the x
data to be the middle point of the box, not the
boundaries. I've never really used it though, so
someone else might know more.
__________________________________Quote:> Dear holders of gnuplot wisdom,
> I am trying to generate histograms from a file
> using gnuplot. Being a
> gnuplot newbie, I tried usual sources to get the
> Googling across web/groups mostly gave results that
> spoke about "Filled
> histograms". From what I gathered, there are ways to
> get around
> the problem.
> However, what I need is to be able to plot empty
> bars. Example:
> | |
> |-| |
> |-| | |
> | | | |
> Data File contains the following data:
> x-axis classes y axis value (bar peak)
> 0 9 203
> 10 19 0
> 20 29 0
> 30 39 0
> 40 49 0
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
[[[[ to unsubscribe from info-gnuplot, send an email with body