In the attached image I want to have hatched lines in the entire region to the left the dashed line i.e. in the region before x = -4. How can this be done?
Asked
Active
Viewed 143 times
1 Answers
1
set object 1 rectangle from graph 0,0 to first -4, graph 1
set object 1 fillstyle pattern 1 fillcolor "cyan"
set xrange [-5:5]
set grid x y
plot sin(x)
Ethan
- 11,995
- 2
- 11
- 20