More concise way to do categorical colors #4486
Labels
Attributes
Plot, Block and Scene Attributes
colors
color, colormap, colorrange, alpha, etc
enhancement
Feature requests and enhancements
This code makes a scatter plot where the color of each point depends on its categorical value
c
. It works, but I'd like a shorter way to write this, such ascolor=Categorical(c)
orcolor=Cycled.(indexin(c, unique(c)))
.The text was updated successfully, but these errors were encountered: