Is there a package and palette for coloring as many as 20 line plots?

Hello community.

Is there a package and palette for coloring as many as 20 line plots?

Thank you.

ggplot(amp, aes(x=Sample, y=Abundance, group=Species, color=Species, stat="identity", position="dodge"))+
geom_line()+
geom_point()+
theme_test()+
theme(axis.ticks.length = unit(-1,"mm"))+
scale_x_discrete(expand=c(0,0))+
scale_y_continuous(expand=c(0,0))

I don't think so. IIRC 12 was about the largest I could find a few months ago.

See r - geom_point() rainbow colors - Stack Overflow

rainbow() might do what you want.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.