search for: gridextra

Displaying 20 results from an estimated 87 matches for "gridextra".

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 wou...
2012 Aug 07
1
Styling gridExtra's title and left labels
Hi, I'm using the gridExtra package to combine some graphs like in the arrangeGrob example. Each of the graphs has a title but they appear much larger than the overall combined plot title and left axis label. Does anyone know how I can control the style / size of the gridExtra labels? library(gridExtra) library(ggplot2) dsa...
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,...
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 doesn't work with par(mfrow=...), but has the function grid.arrange() instead. Unfortun...
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. > > gridExtra provides grid.table() which makes nice graphical tables. It > doesn't work with par(mfrow=...), but has the function...
2010 Aug 03
3
grid.table and expression in table body?
Hi, Is there any way to get an expression into a data.frame, such that "grid.table" from "gridExtra" will plot it evaluated in the table body? The docu does it for the header, but is the body possible? Thanks, Joh
2017 Jun 16
2
Varios gráficos en una vista en OpenAir
...s gráficos que se generan son del paquete "lattice" y las opciones de "layout()" o "par()" son para el sistema "base". La forma de poder componer varios gráficos juntos, una forma es: #----------------------------------------------------------------- require(gridExtra) #hay que instalar el paquete gridExtra grA <- mi_grafico_openair_A grB <- mi_grafico_openair_B grid.arrange( grA, grB, nrow = 2) #------------------------------------------------------------------ Saludos, Carlos Ortega www.qualityexcellence.es<http://www.qualityexcellence.es> El...
2011 Apr 18
4
splom, plotmath: how to add three lines of information with alignment?
Dear expeRts, I would like to create a scatter plot matrix with splom(). The lower panel should contain some additional information about the samples shown in the upper panel plot, see the splom() call below. Now two questions came up: (1) The lower panels show "tau" and "alpha" on top of each other. How can I plot *three* expressions on top of each other? I tried several
2017 Jun 16
2
Varios gráficos en una vista en OpenAir
...l: 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... #----------------------- library(openair) library(gridExtra) px1 <- timePlot(mydata, pollutant = "nox") px2 <- timePlot(mydata, pollutant = "no2") print(px1, position=c(0, .50, 1, 1), more=TRUE) print(px2, position=c(0, 0, 1, .50)) #----------------------- Saludos, Carlos Ortega www.qualityexcellence.es<http://www.qualityexc...
2012 Jan 15
1
ggExtra package installation fails
...uot;) 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 page. which only align panels. grid.arrange in gridExtra is an easy way to arrange multiple plots, but it's kind of not what exactly I want, there is a discussion of it on stackoverflow. http://stackoverflow.com/questions/5489250/specifying-ggplot2-panel-width see the plots in the anwser, with unequal y label, align.plots still align the plots well...
2017 Oct 13
1
[FORGED] can't print ggplot with Chinese characters to pdf files
...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 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 type > In addition: There were 50 or more warnings (use...
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 type In addition: There were 50 or more warnings (use warnings() to see the first 50...
2017 Oct 13
4
[FORGED] can't print ggplot with Chinese characters to pdf files
...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 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...
2012 Jun 27
3
qplot and colors (Please Help)
Please help: I am using qplot as below and want to specify a different color scheme for race but dont know how, can someone show me. Thanks in advance Code and input file below: library(ggplot2) library(gridExtra) d<-read.table("results", header=TRUE, fill=TRUE) plot2<-qplot(X,Y,data=d,color=race,facets=TYPE~., xlab="X", ylab="Y") + theme_bw() grid.arrange(plot2,ncol=1) dev.off() cat? results <snip> X?????? Y?????? ID????? race??? TYPE 0.0350? 0.0200??? 1??? X???...
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) grid.text('2',gp=gpar(col='red',fontface='bold')) But for some reasons when I try to prin...
2017 Oct 13
0
[FORGED] can't print ggplot with Chinese characters to pdf files
...ot;) > 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 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 type >> In addition: Ther...
2017 Oct 16
0
[FORGED] can't print ggplot with Chinese characters to pdf files
...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 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, : >&g...
2017 Oct 20
0
[FORGED] can't print ggplot with Chinese characters to pdf files
...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, aes(x=x, y=y))+geom_line()+ggtitle("test1") #p2<-ggplot(df1, aes(x=x, y=y))+geom_line()+ggtitle("test2") p1<-ggplot(df1, aes(x=x, y=y))+geom_line()+ggtitle("??") p2<-ggplot(df1, aes(x=x, y=y))+geom_l...
2012 Mar 07
1
confidence intervals in dotplots in a for loop
...r data sets # I've written the following script using a loop. The script loops over the "id" variable in the # cds.est data frame and stores the plots in a list. Since dotplot() is part of the # lattice package, I used grid.arrange to tile the plots. library(grid) library(gridExtra) id2 <- 1:max(cds.est$id) plots <- vector("list", length(id2)) j <- 0 for (i in id2) { dat <- cds.est[cds.est$id == i,] plots[[ j <- j+1]] <- dotplot(gear ~ est , data=dat, xlim = c(min(dat$lci95 -10), max(dat$uc...
2023 Nov 24
1
ggplot adjust two y-axis
Hi Sibylle, For that kind of data with two different scales, I generally use two graphs that I name gg1 and gg2 and join them using gridExtra::grid.arrange(gg1, gg2). This way, the red part of your graph is easier to interpret. Have a nice day, Charles-?douard -----Message d'origine----- De?: R-help <r-help-bounces at r-project.org> De la part de sibylle.stoeckli at gmx.ch Envoy??: 24 novembre 2023 05:52 ??: r-help at r-pro...