How can I plot earth_sphere(varargin) correctly in an Matlab app tab

1 visualización (últimos 30 días)
How can I plot earth_sphere(varargin) in an Matlab app tab. I dont know how to include it to my Code. I tried to access an UIAxes (UIAxes5) Object i created bevor on that tab, but it changes also my UIAxes4 and the plot in UIAxes5 is just 2D.
methods (Access = private)
function results = func(app)
earth_sphere(app.UIAxes5);
end
end

Respuestas (1)

Benjamin Kraus
Benjamin Kraus el 17 de Nov. de 2021
Two things you can try:
  1. Set the NextPlot property on the UIAxes to 'replace' before calling earth_sphere (app.UIAxes5 = 'replace').
  2. Call view(app.UIAxes5,3) after calling earth_sphere.

Categorías

Más información sobre Weather and Atmospheric Science en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by