MATLAB: Plotting specified columns using plot function

plotsyntax

if I have a matrix that is A(33×120), how would you plot column 3 vs. columns 25,27,30,32,35 in one syntax?
thanks

Best Answer

plot(A(:,3),A(:,[25 27 30 32 35]))