I am currently making a script to plot rectangles. This is my script:
set style line 1 bgnd
set style line 2 lt rgb "cyan"
set object 1 rect from 0,0 to 1,4 fc lt 2
set object 2 rect from -1,1 to 0,5 fc rgb "gold"
set object 5 rect from 0, -3 to 2, -2 fc ls 2 fs pattern 1 bo -1
The problem is that I just can see the plot on the terminal for 1 second maybe. How can I have the plot longer to save it?