user688505
user688505

Reputation: 63

Gnuplot horizontal bars on every tic

In gnuplot, how can i draw horizontal bars across the entire graph at every tic mark on the y axis? Just as a sort of visual indicator of where a specific point is.

(apologies if this is simple, but googling was fruitless)

Upvotes: 6

Views: 4536

Answers (1)

Eric Melski
Eric Melski

Reputation: 16790

See the set grid command. For example:

set grid ytics

will show horizontal bars across the graph at every y tic. set grid by itself will do horizontal and vertical bars.

Upvotes: 7

Related Questions