creating subplots and reading from xls or txt
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Polar Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!