Complete the code to plot a red dashed line.
plot(x, y, '[1]')
The code uses 'r--' to plot a red dashed line in MATLAB.
Complete the code to plot blue circle markers connected by a solid line.
plot(x, y, '[1]')
'bo-' means blue circle markers connected by a solid line.
Fix the error in the code to plot green star markers with dotted lines.
plot(x, y, '[1]')
'g*:' correctly specifies green star markers with dotted lines.
Fill both blanks to plot magenta plus markers with dash-dot lines.
plot(x, y, '[1][2]')
'm+' specifies magenta color and plus markers, '-.' is dash-dot line style.
Fill all three blanks to plot black square markers with dotted lines and label the plot.
plot(x, y, '[1][2]'); title('[3]');
'k' is black color, 's:' is square marker with dotted lines, and the title is set to 'My Plot'.
