Plot format string
The plot()
function accepts an unlimited number of arguments. In the previous section, we gave it two arrays as arguments. We could also specify the line color and style with an optional format string. By default, it is a solid blue line denoted as b-
, but you can specify a different color and style, such as red dashes.