creating subplots and reading from xls or txt
2 ビュー (過去 30 日間)
古いコメントを表示
I have a text file that has bunch on x and y coordinates. 10 columns vs. 5 rows.
i want to create subpots of col1-col2, col1-col3, col1-col4, and so on till col1-col10.
some background: At first, i wrote separate matlab programs for each plot but now i see how useless that is and i want to combine them all to one program and have subplots instead. Also, to have my program read the data from an excel doc.
Here is part of my program (for now, just reading the doc and creating plot) which of course doesnt work properly.
fid = fopen('AngleVsDist.txt');
input = fscanf(fid, '%25e',[3, inf]);
format bank
angle = input(:, 1);
p1 = input(:, 2);
plot (angle, p1, '*')
Ill appreciate help. Thanks, LaLa~
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Polar Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!