O'Reilly logo

MATLAB Graphics and Data Visualization Cookbook by Swapnonil Banerjee, Nivedita Majumdar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

View control

The view is the vantage point from which you observe the data in your graphic. It has a high impact on how the graphic is perceived. Several factors guide how the view is defined such as the aspect ratio, whether or not you manipulate the object in terms of rotation or panning, and whether you choose to define a region of interest in terms of the axis limits or a zoom in. In this recipe, you will explore some of the options and practices for controlling the view.

Getting ready

You will use data generated by the function Getting ready. Load the data:

load viewCntrolDataSet

How to do it...

Perform the following steps:

  1. Define the view in terms of the angles ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required