Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Joseph Kirk
Joseph Kirk am 7 Nov. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 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.

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by