thousands separator

46 views
Skip to first unread message

VN

unread,
Apr 6, 2010, 1:52:10 AM4/6/10
to ggplot2
I am plotting a time series plot and would like the y-axis values to
have commas as thousand separators. Can that be done? Thanks.

baptiste auguie

unread,
Apr 6, 2010, 3:10:52 AM4/6/10
to VN, ggplot2
Hi,

try this

qplot(1,23000) + scale_y_continuous(formatter="comma")

baptiste

On Tue, Apr 6, 2010 at 7:52 AM, VN <vijay...@gmail.com> wrote:
> I am plotting a time series plot and would like the y-axis values to
> have commas as thousand separators. Can that be done?  Thanks.
>

> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> To post to this group, send email to ggp...@googlegroups.com
> To unsubscribe from this group, send email to
> ggplot2+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ggplot2
>
> To unsubscribe, reply using "remove me" as the subject.
>

VN

unread,
Apr 6, 2010, 12:10:32 PM4/6/10
to ggplot2
that worked. thanks!
Reply all
Reply to author
Forward
0 new messages