creating subplots and reading from xls or txt
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Polar Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!