Normally there is a little axes toolbar that shows up, though sometimes it's not there. If it's not there, you can turn it on.
Alternatively see the attached demo.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!