Displaying 20 results from an estimated 500 matches similar to: "Styling gridExtra's title and left labels"
2012 Jan 15
1
ggExtra package installation fails
Hi dear all,
I cannot find ggExtra source code or install it by
install.packages("ggExtra", repos="http://R-Forge.R-project.org")
I am really interested in one of the functions inside called "align.plots",
but cannot find the package on-line.
Do I miss something? or is there any function similar to that I can easily
align multiple plots on the same x-axis on one
2018 May 18
0
drc, ggplot2, and gridExtra
On Fri, 18 May 2018, Ed Siefker wrote:
> I have dose response data I have analyzed with the 'drc' package.
> Using plot() works great. I want to arrange my plots and source
> data on a single page. I think 'gridExtra' is the usual package for
> this.
>
> I could use plot() and par(mfrow=...), but then I can't put the source
> data table on the page.
>
2011 Nov 15
1
grid.arrange, grid.layout - legend, global y axis title
Hello,
I created several plot with ggplot2 dev mode.
Now I want to combine the plots in a grid
e.g. 2x2 with a fixed size of the output.
What I am doing at the moment is:
grid.newpage()
pushViewport(viewport(layout = grid.layout(nrow=2, ncol=2,
widths = unit(c(7.5,6.5), "cm"),
heights = unit(rep(5, 2), "cm"))))
print(plot1, vp = viewport(layout.pos.row = 1,
2017 Oct 12
2
can't print ggplot with Chinese characters to pdf files
I install the Chinese font "Kaiti TC" on my mac, but I can't print the
figures to pdf file by "marrangeGrob" command, which is in the package
"gridExtra". Error message after I type "ggsave(......)" (last line of the
program):
"Saving 7.47 x 5.15 in image
Error in grid.Call.graphics(L_text, as.graphicsAnnot(x$label), x$x, x$y, :
invalid font
2018 May 18
3
drc, ggplot2, and gridExtra
I have dose response data I have analyzed with the 'drc' package.
Using plot() works great. I want to arrange my plots and source
data on a single page. I think 'gridExtra' is the usual package for
this.
I could use plot() and par(mfrow=...), but then I can't put the source
data table on the page.
gridExtra provides grid.table() which makes nice graphical tables. It
2017 Oct 20
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi,
Following Paul's instruction, I have installed the Cairo. I tried to run
the program, and there is no error message at all. I did see the Chinese
title in the plot if I ask my RStudio to show the plot (if I type "p1"),
but the pdf file shows the plots without the Chinese titles.
library(ggplot2)
library(gridExtra)
df1<-data.frame(x=1:2, y=3:4, z=5:6)
#p1<-ggplot(df1,
2017 Oct 13
1
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi
Instead of ...
ggsave("test_plot_chinese.pdf", m2)
... try ...
cairo_pdf("test_plot_chinese.pdf")
print(m2)
dev.off()
Paul
On 13/10/17 02:12, John wrote:
> I install the Chinese font "Kaiti TC" on my mac, but I can't print the
> figures to pdf file by "marrangeGrob" command, which is in the package
> "gridExtra". Error message
2017 Oct 13
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Thanks, Paul. Following your solution, I got this error message:
Warning message:
In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL
Is there anything else I need to install?
Thanks,
John
2017-10-12 19:24 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz>:
> Hi
>
> Instead of ...
>
> ggsave("test_plot_chinese.pdf", m2)
>
> ...
2013 Mar 20
0
How to avoid using gridextra via Depends instead of Imports in a package ?
Hello,
I really need some insight on a problem we encountered using grid,
lattice and gridExtra.
I tried to reduce the problem, so the plot make no sense.
we have a package: gridextrabug
with:
DESCRIPTION
------------------
Package: gridextrabug
Title: gridextrabug
Version: 0.1
Author: toto
Maintainer: toto <karl.forner at quartzbio.com>
Description: gridextrabug
Imports:
grid,
2017 Oct 16
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi,
Sorry to bother you with this question here.
I tried to install Macports on my Mac OS Sierra, and type "sudo port
install cairo", but it did not respond. I haven't seen any file name or app
called Macports, but one file called "port" which is located at
loca/bin/port"
How should I do it?
Thanks,
John
*******
Last login: Sun Oct 15 02:52:49
2010 Oct 01
3
gridExtra question
?
Hi:
I get?a couple of warnings? when trying to download gridExtra:
install.packages("gridExtra",repos=http://R-Forge.R-project.org)
?Warning: unable to access index for repository
http://R-Forge.R-project.org/bin/windows/contrib/2.10
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
? package ?gridextra? is not available
I would like to download the binary
2017 Oct 13
4
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi
By the looks of it, you need to install Cairo graphics ...
https://www.cairographics.org/download/
Paul
On 13/10/17 15:48, John wrote:
> Thanks, Paul. Following your solution, ?I got this error message:
>
> Warning message:
> In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL
>
> Is there anything else I need to install?
>
> Thanks,
>
2013 Jan 15
5
Duda gráficos - paper="a4"
Buenos días:
A ver si alguien me puede iluminar, porque ya he sobrepasado los límites de mi paciencia y de mi imaginación con este asunto:
Dado un gráfico creado con un plot (y funciones auxiliares como polygon, etc.) y una tabla creada debajo de ese gráfico (creada con addtable2plot), y dados unos text situados a modo de título encima del plot y otros encima de la tabla, ¿por qué cuando trato
2016 Apr 20
0
overlay two facet_grid
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
Overlaying aesthetics is possible. Overlaying graphs is not. Without sample data, concrete examples will be unlikely to appear, so read the above link and pay attention to the dput function.
--
Sent from my phone. Please excuse my brevity.
On April 20, 2016 3:01:43 PM PDT, "ch.elahe via R-help"
2016 Apr 20
2
overlay two facet_grid
Hi all,
Does anyone know how to overlay two facet_grids? I have two facet grids as following:
ggplot(data=df,aes(x=TE,y=TR,color="orange"))+geom_point()+facet_grid(FS+TRJ~OR+INV,labeller=label_both)+xlim(0,200)+ylim(0,10000)
ggplot(data=df,aes(x=TE,y=TR))+geom_point(aes(color=TST))+facet_grid(FS+TRJ~OR+INV,labeller=label_both)+xlim(0,200)+ylim(0,10000)
Thanks for any help!
Elahe
2012 Mar 30
3
Adding text for written comments to bottom of graphs
Hello All,
Recently developed the code below for graphing patterns of chemotherapy administration. As someone just starting to use R in their work, I managed to figure out some parts of the code but needed help with others.
setwd("N:/Regimen Coding/0906/Plots Test")
getwd()
TestData <- structure(list(profile_key = c(1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
2, 3, 3, 3, 3, 3), line = c(1, 1,
2010 Dec 07
2
tableGrob and properties of a cell
Hello there,
could you please help to modify gpar() properties of a cell inside
tableGrob() output.
In the following example I want to have different color for one out of 4 cells
require(gridExtra)
z<-matrix(1:4,2,2)
grid.draw(tableGrob(z))
The only way I found for now how to do it is to do something like this
downViewport(current.vpTree()$children[[1]]$children[[6]]$name)
2017 Jun 16
2
Varios gráficos en una vista en OpenAir
Hola Carlos,
Me parece que timePlot genera los gráficos en un formato diferente.
Al ejecutar grid.arrange genera el siguiente error:
Error in gList(list(list(plot = list(formula = value ~ date | default, :
only 'grobs' allowed in "gList"
Gracias.
Atte.
Novvier Uscuchagua
De: Carlos Ortega [mailto:cof en qualityexcellence.es]
Enviado el: viernes, 16 de junio de 2017 12:38
2017 Jun 16
2
Varios gráficos en una vista en OpenAir
Funciona perfecto!
Gracias Carlos.
Atte.
Novvier Uscuchagua
De: Carlos Ortega [mailto:cof en qualityexcellence.es]
Enviado el: viernes, 16 de junio de 2017 13:46
Para: Novvier Marco Uscuchagua Cornelio <novvier en outlook.com.pe>
CC: r-help-es en r-project.org
Asunto: Re: Varios gráficos en una vista en OpenAir
Hola,
Prueba entonces esto, que sí que funciona...
#-----------------------
2013 Jul 18
1
Bland Altman summary stats for all column combinations
Hello,
I have the following data.frame
structure(list(Study = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L,
8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 1L,
2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L,
16L, 17L, 18L, 19L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L,
11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 1L, 2L, 3L, 4L,
5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L,