shading graph using gui

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

Respuestas (1)

Daniel
Daniel el 12 de Abr. de 2023

0 votos

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.

Categorías

Más información sobre Graph and Network Algorithms en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Abr. de 2023

Respondida:

el 12 de Abr. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by