plot greyed out in matlab

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

Respuestas (2)

Star Strider
Star Strider el 14 de Mayo de 2017

0 votos

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 comentario

Star Strider
Star Strider el 14 de Mayo de 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.

Iniciar sesión para comentar.

Lincy Elizebeth Jim
Lincy Elizebeth Jim el 14 de Mayo de 2017

0 votos

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 ..

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 14 de Mayo de 2017

Comentada:

el 14 de Mayo de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by