How can I plot a filled convex shape?
Mostrar comentarios más antiguos
Is it possible to plot a filled convex shape?
This is what I want to plot:

This is what I have plotted using the rectangle command but it does not work with unordinary shapes.

Respuesta aceptada
Más respuestas (1)
Image Analyst
el 25 de Feb. de 2018
0 votos
For analytical data (graph points) you can do what Star says.
If you have digital images, look at the functions imfill(), bwconvhull(), and poly2mask(). They're all slightly different depending on what you're starting with and what you want to end up with.
1 comentario
Image Analyst
el 25 de Feb. de 2018
I don't think Canberk cares about your question - it doesn't answer or address his problem at all - so post your question in a new, completely separate post, not here.
Categorías
Más información sobre Lighting, Transparency, and Shading en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!