Graph Piecewise Function in Julia

To answer your other question - you can set the linecolor attribute like so:

plot(1:50, f, linecolor = "mediumvioletred")
2 Likes