From: Tom Lane on
>> > > > Is it possible that I highlight the first and last point of the
>> > > > scatter plot?
>> > > >
>> > > > This would help me in checking from which point my scattter plot
>> > > > starts and where does it end.
....
> I will check it out and would let you know ...Thanks for ur time!!!!

The gplotmatrix function is different from scatter and plotmatrix in that it
assigns markers and colors based on groups rather than to individual points.
If you don't have grouping, then plotmatrix may be better for what you want.
Other options include using gplotmatrix, then looping over the axes and
adding some kind of annotation for the first and last points.

Here's another idea. You could just run this and see if the results are what
you hope for.

load fisheriris
sp = species;
sp{1} = 'first';
sp{end} = 'last';
gplotmatrix(meas,[],sp,[],'o...o',8)

-- Tom


From: Samoline1 Linke on
"Tom Lane" <tlane(a)mathworks.com> wrote in message <hk6sf7$57l$1(a)fred.mathworks.com>...
> >> > > > Is it possible that I highlight the first and last point of the
> >> > > > scatter plot?
> >> > > >
> >> > > > This would help me in checking from which point my scattter plot
> >> > > > starts and where does it end.
> ...
> > I will check it out and would let you know ...Thanks for ur time!!!!
>
> The gplotmatrix function is different from scatter and plotmatrix in that it
> assigns markers and colors based on groups rather than to individual points.
> If you don't have grouping, then plotmatrix may be better for what you want.
> Other options include using gplotmatrix, then looping over the axes and
> adding some kind of annotation for the first and last points.
>
> Here's another idea. You could just run this and see if the results are what
> you hope for.
>
> load fisheriris
> sp = species;
> sp{1} = 'first';
> sp{end} = 'last';
> gplotmatrix(meas,[],sp,[],'o...o',8)
>
> -- Tom
>

-------------

Thanks for your reply and interest in my question... it's partly correct. Ok let's take the same example you mentioned. The scripting you told me ... picks up overall starting and end point...I would rather like to have starting and end point highlighted for every species.....

If you can find a solution lemme know ..On the other hand I will also concentrate over that and would let you know if find the solution.

One more question. How can I make the start and end point to look a little bigger....so that one can see easily the starting and end point for each group....
From: Tom Lane on
> Thanks for your reply and interest in my question... it's partly correct.
> Ok let's take the same example you mentioned. The scripting you told me
> ... picks up overall starting and end point...I would rather like to have
> starting and end point highlighted for every species.....
>
> If you can find a solution lemme know ..On the other hand I will also
> concentrate over that and would let you know if find the solution.
> One more question. How can I make the start and end point to look a little
> bigger....so that one can see easily the starting and end point for each
> group....

Try this variant:


From: Tom Lane on
> Thanks for your reply and interest in my question... it's partly correct.
> Ok let's take the same example you mentioned. The scripting you told me
> ... picks up overall starting and end point...I would rather like to have
> starting and end point highlighted for every species.....
>
> If you can find a solution lemme know ..On the other hand I will also
> concentrate over that and would let you know if find the solution.
> One more question. How can I make the start and end point to look a little
> bigger....so that one can see easily the starting and end point for each
> group....

(Sorry, my previous reply escaped before I was ready to let it go.)

Try this variant:

load fisheriris
starts = [1 51 101];
ends = [50 100 150];
X = [meas; meas(starts,:); meas(ends,:)];
sp = [species; repmat({'First'},length(starts),1);
repmat({'Last'},length(ends),1)];
gplotmatrix(X,[],sp,'rgbkk','...os',[8 8 8 10 10])

Here I repeat the points that are start/end points, so I retain their
original species identification. But I add circles and squares around the
start and end points. I also specify separate sizes.

-- Tom


First  |  Prev  | 
Pages: 1 2
Prev: v as in asv?
Next: graph using scope and workspace