Set the marker size
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear Sirs,
I need to display the marker with a color based on the values of a computed function.
But I need also to modify the size of the marker.
I use these lines, but the marker size it is not of the expected size.
import matplotlib.pyplot as plt
plt.rc_context({'lines.markersize': 50}) #any value it seems not be used
%......
% All computation
%.......
plt.scatter(coord['x'], coord['y'], s=AllValues['V1_ComputedValues'], color=colors )
3 Kommentare
Voss
am 9 Dez. 2021
No problem! I'm sure there are people here who know the answer (I'm not one of them), but you may have better luck posting to a matplotlib forum.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!