Re: [R] Graphs for scientific publication ?

2015-06-03 Thread David Winsemius
On Jun 3, 2015, at 3:30 AM, Jeremy Clark wrote: > The coding I've settled on to save file without clipping is: What exactly was "clipping". You earlier complained about "jaggies". There was no restriction of the plotted lines to the plot area in the example you earlier presented. That's what I

Re: [R] Graphs for scientific publication ?

2015-06-03 Thread Jeremy Clark
The coding I've settled on to save file without clipping is: library(gridExtra) gt <- ggplot_gtable(ggplot_build(q3)) gt$layout$clip[gt$layout$name=="panel"] <- "off" gt4 <- arrangeGrob(gt) ggsave <- ggplot2::ggsave; body(ggsave) <- body(ggplot2::ggsave)[-2] ## from Baptiste ggsave("gt.pdf", plot

Re: [R] Graphs for scientific publication ?

2015-05-04 Thread David Winsemius
On May 4, 2015, at 3:13 AM, Jeremy Clark wrote: > Dear All, > > Many thanks for your very comprehensive replies. Here I provide some > coding which on my system has the following effects: > 1) The italic R is not rendered by CairoX11, but is rendered by quartz. > 2) Both geom_smooth and geom_abl

Re: [R] Graphs for scientific publication ?

2015-05-04 Thread Ista Zahn
Hi Jeremy, On Mon, May 4, 2015 at 6:13 AM, Jeremy Clark wrote: > Dear All, > > Many thanks for your very comprehensive replies. Here I provide some > coding which on my system has the following effects: > 1) The italic R is not rendered by CairoX11, but is rendered by quartz. I don't have a Mac

Re: [R] Graphs for scientific publication ?

2015-05-04 Thread Jeremy Clark
Dear All, Many thanks for your very comprehensive replies. Here I provide some coding which on my system has the following effects: 1) The italic R is not rendered by CairoX11, but is rendered by quartz. 2) Both geom_smooth and geom_abline here give stepped lines (I've realised the angle of the li

Re: [R] Graphs for scientific publication ?

2015-05-01 Thread Ista Zahn
On Thu, Apr 30, 2015 at 8:05 AM, Jeremy Clark wrote: > Dear All, > > First of all, many thanks to all R contributors for a fantastic > program, and especially to Hadley Wickham for creating ggplot2. The > following is intended to be a warning that, if the apparently > superficial problems describe

Re: [R] Graphs for scientific publication ?

2015-04-30 Thread David L Carlson
sity College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Bert Gunter Sent: Thursday, April 30, 2015 1:41 PM To: Jeremy Clark Cc: r-help@r-project.org Subject: Re: [R] Graphs for scientific publication ? Jeremy: I suggest you ha

Re: [R] Graphs for scientific publication ?

2015-04-30 Thread Bert Gunter
Jeremy: I suggest you have a look at the latest edition of Paul Murrell's book, "R Graphics", as you seem to be unaware that ggplot2 (as well as a 3rd graphics paradigm, the lattice package) and base graphics are built on 2 different and incompatible graphics engines. Obviously, you are entitled

[R] Graphs for scientific publication ?

2015-04-30 Thread Jeremy Clark
Dear All, First of all, many thanks to all R contributors for a fantastic program, and especially to Hadley Wickham for creating ggplot2. The following is intended to be a warning that, if the apparently superficial problems described are not sorted out, R could well find itself being superceded.