Lukáš Altman
Lukáš Altman

Reputation: 527

How to set a position of colorbox?

I would like to place a colorbox under the x-axis under the xlabel. I means it should start under the 0 and end under the 22.

set colorbox horiz user origin .1,.02 size .8,.04

enter image description here

Thank you

Upvotes: 3

Views: 1419

Answers (1)

Joce
Joce

Reputation: 2332

You can use the coordinate system graph:

set bmargin 8
set colorbox horiz user origin graph 0,screen .08 size graph 1,screen .04
plot x w l lc pal

Upvotes: 5

Related Questions