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 | 2531 | December 5, 2016 | |
Makie recipe for creating a scatter plot with points colored by value | 6 | 2589 | December 19, 2022 | |
Set markeralpha of points on scatterplot based on vector | 0 | 111 | November 16, 2023 | |
Scatter pallete application | 2 | 516 | May 28, 2020 | |
How to color points in scatter plot by value? | 21 | 20772 | December 19, 2022 |