This can be useful if the curve is passing over both dark and light backgrounds (like well-done subtitles in movies).
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
|
You could plot the curve twice, with two different styles:
Changing the background to gray:
|
|||||||||||||||
|
|
Here is another approach, based on
One problem may appear here, namely if a given function has a big absolute value of the derivative, then the strip becomes too thin. We can avoid this by adding a factor depending on the absolute value of its derivative, e.g.
For a more customized solution we can use also one of the wide range of
|
||||
|
|
|
A minor tweak to Markus' method, you may find utility in
|
|||
|
|








