Bird
0
0

What is the default color of the line when you use plot(x, y) in MATLAB without specifying any color?

easy📝 Conceptual Q1 of 15
MATLAB - 2D Plotting
What is the default color of the line when you use plot(x, y) in MATLAB without specifying any color?
AGreen
BBlue
CRed
DBlack
Step-by-Step Solution
Solution:
  1. Step 1: Understand default plot behavior

    MATLAB uses blue as the default line color when no color is specified.
  2. Step 2: Confirm with MATLAB documentation

    The official MATLAB documentation states the default line color is blue.
  3. Final Answer:

    Blue -> Option B
  4. Quick Check:

    Default line color = Blue [OK]
Quick Trick: Default plot lines are blue unless specified otherwise [OK]
Common Mistakes:
  • Assuming default color is red
  • Confusing marker color with line color

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More MATLAB Quizzes