Practice Adding titles, axis labels, and annotations - 2.2.3 | 2. Tutorial lessons - Part A | IT Workshop (Sci Lab/MATLAB)
Students

Academic Programs

AI-powered learning for grades 8-12, aligned with major curricula

Professional

Professional Courses

Industry-relevant training in Business, Technology, and Design

Games

Interactive Games

Fun games to boost memory, math, typing, and English skills

Adding titles, axis labels, and annotations

2.2.3 - Adding titles, axis labels, and annotations

Enroll to start learning

You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.

Learning

Practice Questions

Test your understanding with targeted questions

Question 1 Easy

What command would you use to label the y-axis as 'Sine Values'?

💡 Hint: Think about the function specifically designed for y-axis labeling.

Question 2 Easy

How would you add a title 'My First Plot' to your graph?

💡 Hint: There's a command that starts with `t`.

4 more questions available

Interactive Quizzes

Quick quizzes to reinforce your learning

Question 1

What command is used to add a label to the x-axis?

xlabel
ylabel
title

💡 Hint: Starts with `x`.

Question 2

True or False: The command title() is used to annotate plots.

True
False

💡 Hint: Think about what each specific function actually does.

1 more question available

Challenge Problems

Push your limits with advanced challenges

Challenge 1 Hard

Create a MATLAB script that plots the function y = tan(x) for x from -π/2 to π/2, adds labels for the x and y axes, includes a title, and then annotates the vertical asymptote at x = π/2.

💡 Hint: Use the limits of the tangent function carefully!

Challenge 2 Hard

You need to plot two sine waves: y1 = sin(x) and y2 = sin(x + π/2). Include different line styles and colors for each, adding a legend to identify them.

💡 Hint: Think about how to differentiate the two plots!

Get performance evaluation

Reference links

Supplementary resources to enhance your learning experience.