MATLAB Answers

Mark the intersection of two curves in a graph

238 views (last 30 days)
Angelavtc
Angelavtc on 22 Jan 2020
Answered: Ankit on 22 Jan 2020
Hello to all!
I wonder if it is possible to mark (graphically) the intersection between two curves that are based on data, therefore, I dont have their equations. To be more precise I will ilustrate my example.
As you can see from the ilustration, there are supply and demand graphs for every season (they have the same color) and I just want to leave visible the supply graphs (or the graphs with the inverse s curve shape) and leave a mark where the demand was crossing.
Is there a way to do this? As I mentioned before, I dont have the equations but just the set of point that once plotted make the curves.
Thanks in advance!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!