shading graph using gui

조회 수: 4 (최근 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