Plotting data from table
1 次查看(过去 30 天)
显示 更早的评论
how can i plot every column ( of a 2 columns table )as a function of time in two different axes ?
0 个评论
回答(2 个)
Wei
2013-12-20
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));
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 View and Analyze Simulation Results 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!