From: zhi xuan on
"Swagat Kumar" <swagat.kumar(a)yahoo.com> wrote in message <h99dad$o5r$1(a)fred.mathworks.com>...
> Dear Paul,
>
> I started using 'plt' program but I am having some doubts. I am sure you would be able to help me out. I found that 'hold on' command does not work with plt. It always creates a separate window for each plot. For instance, I tried following code with 'plt'
>
> >> load log09.txt
> >> plt(log09(:,1),log09(:,2))
> >> hold on;
> >> plt(log09(:,3),log09(:,4))
>
>
> But two separate windows are created for these two plots. I would be grateful if you can resolve this small issue.
>
>
> Regards,
> Swagat

you may group your data in a matrix,then use plt. for example,
data=[log09(:,:,,1);log09(:,:,2);log09(:,:,3);log09(:,:,4)];
plt(data);