[R] Blur and not readable text, using geom_text in ggplot

Ista Zahn istazahn at gmail.com
Sun Sep 1 15:59:28 CEST 2013


Hi Vikram,

It looks like you are plotting multiple text values at the same x and
y coordinates. It's not clear from your code what exactly you are
trying to do; please create a reproducible example and explain what
the desired result is.

Best,
Ista



On Sun, Sep 1, 2013 at 9:06 AM, Vikram Bahure
<economics.vikram at gmail.com> wrote:
> Dear R Users,
>
> I am new to ggplot. I am using geom_text to inscribe values on my ggplot
> but it is giving me values which are unreadable and blur.
>
> Please let me know if there is any way out.
>
> ----------------- Code -----------------
> *es <- es3 + geom_text(data=tmp.cor, aes(x=2, y=min(infer.df$value),*
> *                          label=text.bottom), colour="black",*
> *                        inherit.aes=FALSE, parse=FALSE, size=4.5)*
> *
> *
> *> str(tmp.cor)*
> *'data.frame': 198 obs. of  3 variables:*
> * $ var        : Factor w/ 6 levels "All","Large",..: 2 2 2 2 2 2 2 2 2 2
> ...*
> * $ text.top   : chr  "Size (INR bln):  287" "Size (INR bln):  287" "Size
> (INR bln):  287" "Size (INR bln):  287" ...*
> * $ text.bottom: chr  "Extreme (%):  5.74" "Extreme (%):  5.74" "Extreme
> (%):  5.74" "Extreme (%):  5.74" ...*
> *-------------------*
> *
> *
> Regards
> Vikram
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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