I am looking to plot certain colums from a matrix. I want to plot colums 7-10 and column 12 all on a line graph. Thanks

댓글 수: 1

Jonathan Campelli
Jonathan Campelli 2015년 4월 14일
Is column 12 intended to be your X or Y axis?

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

답변 (1개)

William
William 2015년 4월 14일

0 개 추천

If your data array is like...... data(row,column)
a = data(:,7:10)
b = data(:,12)
hold on
plot(a)
plot(b)
hold off

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2015년 4월 14일

답변:

2015년 4월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by