Filter löschen
Filter löschen

Coloring the desired specific region bounded by curves drawn using insert button and text using 'gtext'?

1 Ansicht (letzte 30 Tage)
I am trying to color the region 'A' in the figure using MATLAB. I have drawn the fours straightlines using the insert command button in the figure window of MATLAB.
I have seen fill , shade command but seems like they work when I give the explicit equations to the straightlines/ curves.
Any way to color the region A in the figure which is bounded by the four straightliunes.parallelogram.jpg

Akzeptierte Antwort

Image Analyst
Image Analyst am 13 Jul. 2019
Try fill() or patch().
  2 Kommentare
Phenomenal One
Phenomenal One am 15 Jul. 2019
Still they need the equations of the lines, but yes it would be difficult to shade a region bounded by the curves whose equations are unknown, like just in case you want to do a free hand sketch / for example purposes. So how to proceed to color a region bounded by curves whose equations we donot know?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by