"Hovito S" <hovitocarter@googlemail.com> wrote in message <hdp76t$hhh$1@fred.mathworks.com>...
> "Joerg Buchholz" <buchholz@hsbremen.de> wrote in message <hdolct$3vr$1@fred.mathworks.com>...
> >
> > This should give you an idea:
> >
> > scatter ([1 2 3 4 5], [1 2 3 2 1], [42 42 42 42 42], [1 2 3 4 5])
>
> Thanks for that. I understand what each of those four parts does for the scattergram, however, my problem with this method is that the two sets of data that I am plotting against each other are data sets containing around 1,000,000 data points. Is there a way for me to get, for example, the first 1000 in red, the next 1000 in blue and so on by using this method or should I use a different method. I have a feeling I am being stupid here and missing something really obvious :s.
>
> Thanks a lot.
scatter (1:3000, rand(1,3000), 42*ones(1,3000) , [1*ones(1,1000), 2*ones(1,1000), 3*ones(1,1000)])
