Clear Filters
Clear Filters

How to plot a table as a figure in matlab?

1 view (last 30 days)
I have a set of values to create a table from the array in the workspace. I don't know how to plot the array values as a figure in the table format?
  2 Comments
Akira Agata
Akira Agata on 18 Feb 2017
Is this what you want to do?
T = array2table([(1:10)' rand(10,1)]); % Sample table
plot(T{:,1},T{:,2})
Walter Roberson
Walter Roberson on 18 Feb 2017
... or is this to do with uitable() ?

Sign in to comment.

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!