How to plot table to figure?

I have wave data include: wave height (m) and wave period (s) and I want to plot figure as image??
wave data is attached below.

3 Comments

It might help if you post the data.
use "text(x,y, str)" command.
Dam Giang
Dam Giang on 6 Aug 2021
Edited: Dam Giang on 6 Aug 2021
Could you help me??
I attached data file.

Sign in to comment.

 Accepted Answer

KSSV
KSSV on 4 Aug 2021
Have a look on the heatmap. You can also achieve it using:
  1. pcolor to plot the colors shown.
  2. USe text to display the numbers.
  3. USe grid on for boxes.
  4. USe plot to plot the curves given.

More Answers (0)

Categories

Products

Release

R2020b

Asked:

on 4 Aug 2021

Edited:

on 6 Aug 2021

Community Treasure Hunt

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

Start Hunting!