Hello Everyone.
From :
Is there a way to fill color for a triangle ?
Many thanks for your time and help in advance.
Regards.
Solved! Go to Solution.
There is no built-in way to fill the area, but you can quickly write your own hatch function to create a number of vertical hatch lines between two functions:
MC15 sheet attached
BTW, I'm a bit irritated because I am not able to resize the plot region, making it smaller. Not sure why!?
There is no built-in way to fill the area, but you can quickly write your own hatch function to create a number of vertical hatch lines between two functions:
MC15 sheet attached
BTW, I'm a bit irritated because I am not able to resize the plot region, making it smaller. Not sure why!?
Thanks Werner!
hatch for Express:
(Note that the first two arguments must be labelled as functions.
You may consider renaming your function to hatch_aux(f,g,...) and define
hatch(f,g,x1,x2,n):=hatch_aux(f,g,x1,x2,n,n)
That way you avoid having to provide the number of lines (n) twice.
Good point! More "elegant."