0

I am looking for an easy answer of how to fill an area defined by an inequality like for example y >= 4 - x in latex.

I would also appreciate if you could tell where the options go as well, for example I might be intereseted in replacing the line by a dashed line or I might be interested that the area has transparency in case it croses with other areas.

As guidance, I would like to fill the area under the two straight lines of this picture:

enter image description here

KR

Bernard
  • 271,350
  • 2
    You seem to be looking for the fillbetween library that comes with pgfplots. –  Sep 01 '19 at 14:11
  • 1
    https://tex.stackexchange.com/q/183764 –  Sep 01 '19 at 14:21
  • 1
    Please (as always) add a code for showed picture. – Zarko Sep 01 '19 at 16:44
  • I think I've answered this before.... – cmhughes Sep 01 '19 at 17:41
  • As you can see people have ideas what you are asking for and possible solutions. But we are not quite sure if we understood everything correctly. So please add some code what you have achieved so far and maybe a sketch of what exactly you want to achieve. Otherwise I think this question is either closed as "unclear what you are asking" or as "duplicate" with a questions that sounds similar to yours (like the one Schrödinger's cat proposed in the above comment). – Stefan Pinnow Sep 03 '19 at 05:24
  • it worked!! thanks, I will take that into account for the next one – Rubén Pérez Sanz Sep 03 '19 at 16:32

0 Answers0