Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding description two each point of 2d plot

0 views
Skip to first unread message

SephiKnight

unread,
Nov 4, 2009, 7:10:35 AM11/4/09
to
Hi,

I have two dimensional data from some different users who all have a
name.

I made a 2d plot with some points from the data, now i want to add the
names of the users next to
each corresponding point in the 2d graph, is that possible?

Thanks!

Zoltan

unread,
Nov 4, 2009, 7:45:22 AM11/4/09
to

>
>
> I made a 2d plot with some points from the data, now i want to add the
> names of the users next to
> each corresponding point in the 2d graph, is that possible?

If your data file has three columns, the 3rd one containing the names,
you could do the following:

p 'foo' u 1:2, '' u 1:2:3 w labels offset 0.3, 0.6

where your labels will be at position 1:2, offset by 0.3, 0.6
I hope this helps,
Zoltán

0 new messages