I would like get something like this:
Rectangle outside graph:
Could I get that with set object <number> rect
? Or is this only to draw rectangles inside graph?
you can use the screen
coordinates (which refer to the entire window) like so:
set object 1 rect from screen 0.0, screen 0.9 to screen 0.1, screen 1.0
this would create a rectangle in the top left 10% of the plotting window