lets-plot-kotlin
lets-plot-kotlin copied to clipboard
Creating a custom palette
ggplot seems to have a (convoluted...) way to define custom palettes (e.g. here). As far as I understand, there's no similar facility exposed in Let's Plot?
Hi @Kernald,
There are scaleColorGradientN()
, scaleFillGradientN()
functions where you can use a custom color palette to create continuous or discrete color scale.
scaleColorManual()
, scaleFillManual()
are also can be used for this purpose but rather for discrete scales.
Thanks, that's exactly what I was looking for! Sorry for the noise :-)