plot three variables of table
이전 댓글 표시
I have Matlab generated table T with four columns: A,B,C,D. I want to plot three columns B,C,D.Following command work only with plotting of two variables, when third variable is inserted in plot command, it gave error:"Data must be single matrix Y or list of pairs X,Y."
plot(T{:,'B'},T{:,'C'},T{:,'D'})
Is there any workaround to tackle this problem.
답변 (2개)
Peter Perkins
2017년 11월 16일
1 개 추천
Also, you may find it more appealing to type T.B,T.C,T.D rather than using braces. Braces are best used when you meed more than one table variable.
카테고리
도움말 센터 및 File Exchange에서 Graphics Objects에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!