How can we feed a vector of values as color input into scatter plot using pyplot? I read one need to specify cmap, but I could find a clear example. My aim to having a vector of values, one per observation, that makes the dots in the scatter plots darker if the value is higher.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
PyPlot: Individually-colored points possible? | 3 | 2507 | December 5, 2016 | |
How to add a point in a scatter diagram? | 1 | 617 | November 16, 2019 | |
`scatter` plots and marker colors -- change? | 8 | 5583 | November 13, 2018 | |
SCATTERPLOT new color to each marker | 1 | 346 | September 8, 2022 | |
How to label individuals dots in scatterplot? | 4 | 378 | January 30, 2023 |