i am trying to plot values using matplotlib and i have several different classes of points to plot. Example
Number class x y
1 wood 0.2 9.4
3 glass 7.6 4.6
How can i represent those different classes in a plot with different colors elegantly?
If you have different classes of data, you could use
classes.This gives us:
Which may, or may not, be elegant!