Consider the three-dimensional arrays
A = rand(3,4,5);
B = rand(3,4,5);
plot(A(:,1,1),B(:,1,1))
plot(A(1,:,1),B(1,:,1))
This all works fine, however
>> plot(A(1,1,:),B(1,1,:))
Error using plot
Data may not have more than 2 dimension
Is there a quick way around this a way around this other than using reshape()?