Create a figure and plot data - MATLAB Cody - MATLAB Central

Problem 42614. Create a figure and plot data

Difficulty:Rate

Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

Solution Stats

40.5% Correct | 59.5% Incorrect
Last Solution submitted on Nov 14, 2025

Problem Comments

Solution Comments

Show comments
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...

Problem Recent Solvers368

Suggested Problems

More from this Author44

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!