Gnuplot grid with alternate line styles -


using gnuplot plot following graph -

now, can see in image, difficult between lines, identify block @ end. color grid alternately different color, or style.

the code right use color grid -

set style line 12 lc rgb '#808080' lt 0 lw 1 set grid ls 12 

however, not able find way grid , set alternately style. possible in gnuplot?

what mean that, possible have different line style major , minor tics in grid of gnuplot?

thanks !

enter image description here

yes, can use different styles minor , major grid lines, see help grid:

set style line 12 lc rgb 'blue' lt 1 lw 2 set style line 13 lc rgb 'red' lt 1 lw 1 set grid xtics ytics mytics mytics ls 12, ls 13 set mxtics 4 set mytics 4 plot x 

the result 4.6.3 is:

enter image description here


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

python - Scapy Dot11ReassoReq -