Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What command would you use to plot a blue dotted line?
Remember 'b' stands for blue and what symbol represents dotted lines?
List two color codes used in MATLAB.
Think about the primary colors.
What symbol represents a dashed line in MATLAB?
Consider the number of characters and look for simplicity.
True or False: The command plot(x,y,'m') creates a magenta line.
Recall the color associations we've discussed.
Create a MATLAB command to plot two functions, y = sin(x) in blue with dots, and y = cos(x) in green with dashed lines.
Remember to match each function with its respective style and marker.
You have three datasets. You need to plot them: y1 = x^2 in red solid lines, y2 = x^3 in blue dashed lines, and y3 = sin(x) in green dotted lines. Write the complete command.
Ensure you separate each dataset correctly within the plot command.
5 more questions in this section. Enroll free to practise them all.
Enroll free