Plotting data from table
3 views (last 30 days)
Show older comments
how can i plot every column ( of a 2 columns table )as a function of time in two different axes ?
0 Comments
Answers (2)
Wei
on 20 Dec 2013
You need to convert the table data into numbers, and you need the time for the plot. Try this:
data = str2double(get(handles.table,'data');
plot(axes1, t1, data(:,column's name1));
plot(axes2, t2, data(:,column's name2));
See Also
Categories
Find more on Line Plots 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!