title: Gnuplot grid with alternate line styles
body: <p>Using Gnuplot I plot the following graph -</p>
  
  <p>Now, as you can see in the image, it is difficult between the lines, to identify the block at its end. So I will like to color the grid alternately with a different color, or style.</p>
  
  <p>The code right now I use to color the grid is - </p>
  
  <pre><code>set style line 12 lc rgb '#808080' lt 0 lw 1
  set grid back ls 12
  </code></pre>
  
  <p>However, I am not able to find any way to get the grid and set it alternately to another style. Is it even possible in Gnuplot?</p>
  
  <p>What I mean is that, is it possible to have different line style for major and minor tics in grid of gnuplot?</p>
  
  <p>Thanks !</p>
  
  <p><img src="https://i.stack.imgur.com/mN4bi.jpg" alt="enter image description here"></p>