How do I get the axis visible?

I plotted a rectangle in my figure. By doing this my y-axis (line and ticks) disappeared partly (see attachment). How can I make my y-axis visible again?
Thanks in advance!

 Accepted Answer

Set the 'Layer' property to 'top':
axes('Layer', 'top')
... Draw the objects

More Answers (0)

Asked:

JR
on 5 Apr 2017

Commented:

JR
on 5 Apr 2017

Community Treasure Hunt

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

Start Hunting!