shading graph using gui

3 次查看(过去 30 天)
Reynand Joe
Reynand Joe 2023-4-12
回答: Daniel 2023-4-12
Hi! i want to ask on how to shade the area bounded by two lines using gui, the two lines should be user defined that varies depending on a user, should be a parabola, circle, or straight line. please help im doing this for my project and i really dont have any idea on how to code this
im using matlab 2016 version

回答(1 个)

Daniel
Daniel 2023-4-12
It looks like patch should provide what you need. The examples in the documentation for that function provide some nice examples of how to draw different sorts of shapes with it.

类别

Help CenterFile Exchange 中查找有关 Graph and Network Algorithms 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by