Skip to main content
19-Tanzanite
August 31, 2020
Solved

Shading Area Between Two or More Functions

  • August 31, 2020
  • 1 reply
  • 1269 views

Hello,

How can make a function that shades (automatically) the area between two or more functions?

Thank you.

    Best answer by Werner_E

    There is no shading option but you can create a program which generates hatch lines. If you chose them close enough it looks like shading.

    If you search the forum you'll find a couple of different ways to program it.

    Attached is a simple one which should help. Also attaches a variant using the "stem" plot type (you might also try "bar" or "solidbar") but thats not suitable for all purposes.

     

    1 reply

    Werner_E25-Diamond IAnswer
    25-Diamond I
    August 31, 2020

    There is no shading option but you can create a program which generates hatch lines. If you chose them close enough it looks like shading.

    If you search the forum you'll find a couple of different ways to program it.

    Attached is a simple one which should help. Also attaches a variant using the "stem" plot type (you might also try "bar" or "solidbar") but thats not suitable for all purposes.

     

    Cornel19-TanzaniteAuthor
    19-Tanzanite
    August 31, 2020

    Ok.

    They will most likely reappear some things related to shading certain areas (for multidimensional calculation), but I will post at that time.

    Thank you very much for your response.