Stacked histogram and label

  • Follow


Hi,

I have plotted a simple stacked histogram using:

set style histogram rowstacked
plot 'mydata.dat' using 2:xticlabels(1) title column(2), \ ... etc

The problem I have is that the title of each bar renders beneath the
bars themselves. So even though the position is fine, the labels are
obscured by the graph data.

Does anyone know how I can instruction GNUPLOT to bring the titles/
labels to the top?

Kind regards,

Steve

0
Reply stephenry (25) 2/25/2010 9:32:06 PM

Steve wrote:

> Hi,
> 
> I have plotted a simple stacked histogram using:
> 
> set style histogram rowstacked
> plot 'mydata.dat' using 2:xticlabels(1) title column(2), \ ... etc
> 
> The problem I have is that the title of each bar renders beneath the
> bars themselves. So even though the position is fine, the labels are
> obscured by the graph data.
> 
> Does anyone know how I can instruction GNUPLOT to bring the titles/
> labels to the top?

If you mean the xticlabels, you can say 
  set tics front

In older gnuplot versions this had to be
  set grid front; unset grid




0
Reply sfeam 2/26/2010 7:48:32 AM


1 Replies
929 Views

(page loaded in 0.038 seconds)

Similiar Articles:












7/24/2012 6:41:50 AM


Reply: