How can i draw the below figure in Matlab?. Pls help.

1 view (last 30 days)

Answers (1)

Walter Roberson
Walter Roberson on 25 Apr 2022
After you draw the lines with plot() and figure out where the intersection point is, use annotation('doublearrow') https://www.mathworks.com/help/matlab/ref/matlab.graphics.shape.doubleendarrow-properties.html to create the arrows.
  2 Comments
sharmin sathi
sharmin sathi on 25 Apr 2022
Could you give the full matlab code to draw this figure.
Walter Roberson
Walter Roberson on 25 Apr 2022
I could do that, but I am not going to do that. Doing that would require digitizing the curves and creating long lists of arbitrary coordinates to connect.
It would make a lot more sense for you to use your knowledge of what the curves represent in order to figure out how to draw them. Perhaps you can find beta distributions for them.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!