[R] Axes value format

Vihan Pandey vihanpandey at gmail.com
Thu May 10 13:45:49 CEST 2012


On 08/05/2012, arun <smartpink111 at yahoo.com> wrote:
> Hi Vihan,
>
> The link below might be helpful.
>
>
> (http://stackoverflow.com/questions/3415097/controlling-number-formatting-at-axis-of-r-plots)

Thanks, the xaxt parameter in plot() solved the problem.

Thanks and Cheers!

- vihan

>
> A.K.
>
>
>
>
>
>
>
> ----- Original Message -----
> From: Vihan Pandey <vihanpandey at gmail.com>
> To: r-help <r-help at r-project.org>
> Cc:
> Sent: Tuesday, May 8, 2012 1:29 PM
> Subject: [R] Axes value format
>
> Hi all,
>
> I have some graphs where the values on the X and Y axes are by default
> in exponent form like 2e+05 or 1.0e+07. Is it possible to make them in
> a more readable form like 10M for 1.0e+07 or 200K for 2e+05?
>
> Thanks and Regards,
>
> - vihan
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>



More information about the R-help mailing list