Skip to content

ShadedDifference - plot type to shade between two lines, changing color when inverted #583

@ozgur640

Description

@ozgur640

Hi,
I tried to find a way to draw make a fill using PlotFill() like below:
image
I checked the plotfill function but It uses polygon method to create the the fill and as far as I understood there is one polygon created. What I tried to do then is to find the curve crossings and create new PlotFill for every segment. In this approach the crossing point which are usually in between a data points becomes a problem. For that I plan to add an interpolation and uneven time array and crossing points in the plot but it seems the will become messy. Is there an easy way to do it with the library? Thanks in advance...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions