graph from a dataset
Show older comments
Hi ,
I have data as follow for about 58 rows.
Name Area lotNum Type Month1 Month2 Month3.... MonthN
Rest1 biz 123 south 5 5 7 .... 3
Rest1 nonBiz 123 south 2 11 8 ..... 1
Rest1 biz 456 south 11 9 3 ..... 24
rest2 biz 123 south 9 3 23 ..... 21
rest3 biz 789 south 23 3 4 ...... 1
I want to draw graph for each row for months on x-axis and value on y-axis. Also is it possible to have this graph saved in a file. ?
Thanks.
6 Comments
jgg
on 10 Dec 2015
If I understand your question correctly, this should produce either 58 seperate graphs, or a single graph with 58 lines on it. Are you sure this is what you want to do? That's probably going to be unreadable.
Neesha
on 10 Dec 2015
Neesha
on 10 Dec 2015
Neesha
on 10 Dec 2015
Answers (1)
Image Analyst
on 10 Dec 2015
0 votes
To save the graph(s), use export_fig(): http://blogs.mathworks.com/pick/2010/05/28/creating-and-exporting-publication-quality-graphics/
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!