Set the marker size

1 次查看(过去 30 天)
Nicola Lisi
Nicola Lisi 2021-12-9
评论: Voss 2021-12-9
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 个评论
Nicola Lisi
Nicola Lisi 2021-12-9
Hello,
yes, sorry if i did not write it !
Voss
Voss 2021-12-9
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by