Polarscatter crashes at larger vector size

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.

 Réponse acceptée

Rohan Patel
Rohan Patel le 18 Juin 2020

0 votes

Hi Jayman,
The Mathworks team has been updated with this issue. We will try to fix it in the future releases.

1 commentaire

Jayman
Jayman le 18 Juin 2020
Thanks. The 2020b pre-lease version works fine. I am glad.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by