Polarscatter crashes at larger vector size

9 views (last 30 days)
I have issues with Polarscatter crashing, so I really can't use it.
I have R2020a Update 3 (9.8.0.1396136). I think this is the latest available currently.
I have not tried to go back to a lower version.
"polarplot" and "polar" seemed to work well regardless of size. Polar isn't recommended anymore by Mathwork. Polarplot's graphing functionality is very limited. So I would like "polarscatter" to work.
I tried these very simple codes and I can recreate every time;
%crash test
rowsize=4500;
rho = 0:1:rowsize;
theta = 0:(2*pi()/rowsize):2*pi();
polarplot(theta,rho) %works regardless of row vector size
polar(theta,rho) %works regardless of row vector size
%ps=polarscatter(theta,rho); %this works up to 1500. At 2000, it crashes.
ps.Marker = 's';
ps.MarkerFaceColor = 'red';
polarscatter(theta,rho,'g.') %this works better, but crashes at larger than 5000.
%polarscatter(theta,rho) %when the marker is not specified, it crashes at around 1500 vector size or larger. OK at 1000.

Accepted Answer

Rohan Patel
Rohan Patel on 18 Jun 2020
Hi Jayman,
The Mathworks team has been updated with this issue. We will try to fix it in the future releases.
  1 Comment
Jayman
Jayman on 18 Jun 2020
Thanks. The 2020b pre-lease version works fine. I am glad.

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!