Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Why do scatter plot markers not change size correctly in R2014b?

1 vue (au cours des 30 derniers jours)
Joseph Kirk
Joseph Kirk le 7 Nov 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
With the new graphics package, scatter plots do not always render correctly. For example, when I create a scatter plot with different sized markers:
n = 10;
hScatter = scatter(rand(1,n),rand(1,n),10*(1:n),[1 0 0],'fill');
The markers are initially rendered correctly, but if I try to change them, they shrink no smaller than their original size.
Typing
hScatter.SizeData = 100;
makes all of the markers larger, but typing
hScatter.SizeData = 1;
does not shrink the markers down to a size of 1. They revert back to their original sizes.

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by