PolarAxes in Matlab App Designer

Hello,
Simply, I need a way to define a PolarAxes object under parent object in Matlab App Designer. I tried the following code, but it doesn't work.!
pax = polaraxes(app.parent)
Hint: I took a look at the example of plotting polar plot in App Designer in the documentation, but I don't know where to find the actual code.

 Accepted Answer

Steven Lord
Steven Lord on 26 Dec 2020
From the Release Notes it appears support for polaraxes in App Designer apps was added in release R2018b.

2 Comments

Is there a way to update my version to 2018b by downloading the comulitive update files?
No, there is no "install this collection of files to upgrade release X to release X+1" package. Each general release is independent of previous releases. [For recent releases, there are update releases but those apply bug fixes to a specific release, like release R2020a to R2020a Update 1.]
Depending on your license and your maintenance you may be able to download and install release R2018b or a later release.

Sign in to comment.

More Answers (2)

Example taken from this website
theta = 0:0.01:2*pi;
rho = sin(2*theta).*cos(2*theta);
pax = polaraxes(app.Panel);
polarplot(pax,theta,rho)

6 Comments

Here's the error output I got when I called this function
pax = polaraxes(app.Panel);
What version of MATLAB do you have?
MATLAB 2018a
Replace app.Panel with handle to your parent uifigure. This works on 2020b, also, there's a demo app in the App Designer itself that uses polar plot, check if your version has one.
pax = polaraxes(app.UIFigure);
Taha Adel
Taha Adel on 26 Dec 2020
Edited: Taha Adel on 26 Dec 2020
Unfortunately, I couldn't find any demos related to polar plot in the software :( and the PolarAxes function still doesn't work by any means.
So I guess polar axes are not supported in 2018a.

Sign in to comment.

Categories

Products

Release

R2018a

Community Treasure Hunt

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

Start Hunting!