[R] How could I graph a special coordinate

Bert Gunter gunter.berton at gene.com
Tue May 20 07:30:09 CEST 2014


Check out the R Graph Gallery for ideas.

http://rgraphgallery.blogspot.com/

Cheers,
Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch




On Mon, May 19, 2014 at 5:48 PM, Klot Lee <fff200200 at gmail.com> wrote:
> hi,
>
> I'v got some data attached as apx.csv.  It shows the relationship about a
> kind of enzyme and the temperature.
> "yhf" and "xbt" are 2 kind of cowpea. "apx" is the kind of enzyme and "low"
> means the lowest temperature intraday. "date" means 1 to 121 days.
>
> What I want to show with it is how is "apx" changes with "low" on 2 kind of
> cowpeas. And "date" is better not missing in graph.
> I have made one by ggplot2 using apx2.csv (reshaped by melt).
>
> apx<- read.csv("apx2.csv")
> p<- ggplot(apx, aes(x= dat, y=apx, colour= factor(var)))
> p + geom_line()+facet_wrap(~var,ncol=1, scales= "free_y")
>
> The graph is NOT good enough. It is not easy to find the relationship
> between "apx" and "low". How could I do better? Is it possible to show
> "low" data as graph background color changing with "date"? Thank you.
>
> --
> Stand Alone Complex
>
> ______________________________________________
> 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