© Michael Paluszek and Stephanie Thomas 2020
M. Paluszek, S. ThomasMATLAB Recipeshttps://doi.org/10.1007/978-1-4842-6124-8_4

4. Interactive Graphics

Michael Paluszek1   and Stephanie Thomas2
(1)
Princeton, NJ, USA
(2)
Princeton Junction, NJ, USA
 

The previous chapter addressed generating static graphics. In this chapter, we provide some recipes for generating dynamic graphics. This includes animations of line and patch objects, utilizing uicontrols in figures, designing GUIs using App Designer, and deploying your GUI as a MATLAB app. Along the way, we present some tips for maximizing the performance of your dynamic graphics functions.

4.1 Creating a Simple Animation

Problem

You want a visualization which changes over time without generating hundreds of ...

Get MATLAB Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.