Daniel Schwabeneder

Results 43 comments of Daniel Schwabeneder

So, do you think we need a type different from `ColorGradient` for categorical palettes?

Unfortunately, Recipes only apply to input data and not to attributes like `marker_z`. This would require major changes and additions in RecipesBase.jl and RecipesPipeline.jl, which I don't have the capacity...

The `marker_z` attribute in Plots is a mapping from numerical values to colors in a `ColorGradient` or `ColorScheme`. So this only makes sense for `

Actually, I think `markercolor` would be the appropriate attribute here. This accepts vectors of any input that specifies colors or vectors of `Int`. In the latter case elements from the...

If you use `marker_z` you pick colors from a "continuous" color scale. In that case you get a colorbar and a single legend entry, because you are plotting a single...

> From what I understand the problem now is about figuring out automatically which attribute to set depending on the vector type. If the vector of values is a vector...

Unfortunately GR does not support setting a different alpha for marker and markerstroke. However, for me `markerstrokewidth` works. ```julia scatter(rand(10), markersize = 15, markerstrokewidth = 0) ``` ![msw](https://user-images.githubusercontent.com/16589944/77157710-2ec30380-6aa2-11ea-9378-6da4d1c637e8.png) When saving...

```julia scatter(rand(10), markersize = 15, markerstrokewidth = 0, bginside = :black) ``` ![markerdarkbg](https://user-images.githubusercontent.com/16589944/77171817-4956a600-6abd-11ea-9824-b24c0c62aedf.png)

Also there is `msc=:auto` to automatically match the marker color.

No, that's still only possible with `Shape`. AFAIU, using GR's native `GR.polymarker` we cannot set the transparency for border and fill separately. Or is this possible @jheinen?