On Thu, Jul 23, 2015 at 08:46:30AM +0200, Michael Welle wrote:
> > With two code blocks, use :session foo for one and :session bar for the
> > other.  Does your problem persist?
> yepp, that was the idea. But no success.
>

If I understand the problem correctly, you need to put reset as the
first argument:

#+begin_src gnuplot :var data2015=days_cycling[2:-5] :var 
data2014=days_cycling[3:-4] :var data2013=days_cycling[4:-4,] :var 
data2012=days_cycling[5:-4,]  :file ../images/number_of_days_cycling.png
  reset
  set title 'Number of Days Cycling Each Month.'
  #  set ylabel 'Days' set xlabel 'Speed Mbps' lw2
  set style data histogram
  set style histogram cluster gap 1
  set style fill solid border -1
  set boxwidth 0.9

  set xlabel 'Month'
  set ylabel 'Days'
  plot data2015 u 5:xticlabels(1) title "2015", data2014 u 4:xticlabels(1) 
title "2014", data2014 u 3:xticlabels(1) title "2013", data2014 u 
2:xticlabels(1) title "2012"

#+end_src

I have holes in my foor from using that particular gun.

--
Best wishes,

Ian.

Reply via email to