Micha
Micha

Reputation: 157

Gnuplot: position of key elements

With

set key left top

I can set the position of the legend. However, I would like to set each title separately in such a way, that in the following example the legend is on one line: left the first and right the second one.

plot sin(x) title "Sinus", x title "X"

How can I do this?

Upvotes: 6

Views: 5268

Answers (1)

bibi
bibi

Reputation: 3765

uset the horizontal keyword

set key horizontal top left 

Upvotes: 5

Related Questions