Matlab plot: move an object to the front

If a few curves are plotted in the same axes, the one plotted first may get obscured by those plotted later. To move it to the front (or top), there is a command:

uistack(h, 'top')

where h is the curve object handle. Other options are 'up', 'down' and 'bottom'. See http://www.mathworks.de/help/techdoc/ref/uistack.html for details.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s