plot greyed out in matlab

조회 수: 8 (최근 30일)
Lincy Elizebeth Jim
Lincy Elizebeth Jim 2017년 5월 14일
댓글: Star Strider 2017년 5월 14일
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

답변 (2개)

Star Strider
Star Strider 2017년 5월 14일
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
Star Strider
Star Strider 2017년 5월 14일
‘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.

댓글을 달려면 로그인하십시오.


Lincy Elizebeth Jim
Lincy Elizebeth Jim 2017년 5월 14일
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 ..

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by