have a try acording to your task.
subplot(2,3,1)
hist(*,*)
subplot(2,3,2)
hist(*,*)
subplot(2,3,3)
hist(*,*)
subplot(2,3,4)
hist(*,*)
.................... 1#lustboy
thanks for reply.
but my task is
x = [.....];
y = [y1 y2 y3 y4 y5 y6];
plot(x,y)
legend([strings],???)
there are 6 lines in one graph and 6 legends,not 6 subgraph.