plot greyed out in matlab

8 visualizzazioni (ultimi 30 giorni)
Lincy Elizebeth Jim
Lincy Elizebeth Jim il 14 Mag 2017
Commentato: Star Strider il 14 Mag 2017
Hi all,
I am trying to import data from excel and plot in matlab 2017 but the plot option in matlab is greyed out(doesn't allow me to plot)
i am able to plot from matlab with the data from excel (in attached excel attached i am able to plot for m2 but not for m3) I import data from excel into matlab and then select the plot but for m3 alone the plot in matlab doesn't let me plot.
Really baffled...kindly guide
cheers lincy

Risposte (2)

Star Strider
Star Strider il 14 Mag 2017
This works for me:
[D,S,R] = xlsread('load.xls');
figure(1)
plot(D)
grid
I do not understand the ‘m2’ and ‘m3’ references and what you want to do with those rows or how you want to plot them.
  1 Commento
Star Strider
Star Strider il 14 Mag 2017
‘M3 and M2 indicates values for different mission outcomes.What's D S and R Why isn't the normal import and then plot working ..’
You’ve not explained what your data are or how you want them plotted.
‘Why isn't the normal import and then plot working ..’
It is for me, as I demomstrated.

Accedi per commentare.


Lincy Elizebeth Jim
Lincy Elizebeth Jim il 14 Mag 2017
Hi
M3 and M2 indicates values for different mission outcomes.What's D S and R Why isn't the normal import and then plot working ..

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by