Hello,

I have a question that I believe is basic but I can not find answers on the internet and neither on the Gnuplot website.

I have a plot where the y-axis varies from 0 to 10. I would like to put dashed lines only in specific positions of the y-axis, such as positions 1, 4 and 9. If I use the "set grid" command I have lines on all tics of the axis y but this is not what I I would like to have. Does anyone have any idea how to do this?

Thank

 

Last edit: Ana Maria Garcia 2022-03-21