Main Content

Create Polar Axes Programmatically in an App

This app shows how to display a plot by creating the axes programmatically before calling a plotting function. In this case, the app plots a polar equation using the polaraxes and polarplot functions. When the user changes the value of a or b, or when they select a different line color, the plot updates to reflect their changes.

This example also demonstrates these app building concepts:

  • Creating different types of axes programmatically to display plots that uiaxes does not support

  • Calling a plotting function in App Designer

  • Sharing a callback with multiple components

  • Displaying an equation in a label using LaTeX formatting

App with a polar plot. The app contains a polar axes with some data, an equation for the plotted data, and edit fields to modify data parameters.

See Also


Related Topics