Set the marker size
이전 댓글 표시
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
Voss
2021년 12월 9일
Looks like Python
Nicola Lisi
2021년 12월 9일
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개)
카테고리
도움말 센터 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!