can anybody please explain me that how can i write the label and make shadow in the region? i have an example attached here

1 view (last 30 days)

Answers (2)

Nicolas Schmit
Nicolas Schmit on 5 Dec 2017
  1 Comment
Parth Panchal
Parth Panchal on 5 Dec 2017
I got the text syntax. but i didn't get the shadow syntax. Could you please explain me for this particular graph. how can I write the syntax for certain region.

Sign in to comment.


Walter Roberson
Walter Roberson on 5 Dec 2017
Suppose region_x and region_y are the x and y coordinates for the area you want to fill with color. Then
area(region_x, region_y, 'facecolor', [220 80 20]/255) %orange

Community Treasure Hunt

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

Start Hunting!