search for: base_size

Displaying 15 results from an estimated 15 matches for "base_size".

Did you mean: bar_size
2016 Apr 09
1
Run script R
...quot;graphs/pdfs")) {? dir.create ("graphs/pdfs")} pdf (output, width=5, height=3.5)gx = dev.off ()----------------------------------------------------------------------------------------------------------------------script( graph-style.R) : library(grid) theme_custom <- function (base_size = 10, base_family = "serif") {? theme_grey(base_size = base_size, base_family = base_family) %+replace%? ? theme(? ? ? line = ? ? ? ? ? ? ? element_line(colour = "black", size = 0.5, linetype = 1, lineend = "butt"),? ? ? rect = ? ? ? ? ? ? ? element_rect(fill = "w...
2009 Jan 24
2
ggplot2 - how to change location / position of wind rose axis labels?
...actor(round_any(movies$rating, 1)) movies$budgetq <- factor(chop(movies$budget, 4), labels = 1:4) doh <- ggplot(movies, aes(x = rrating, fill = budgetq)) doh + geom_bar(width = 1) + coord_polar() #Now with my theme (hacked from theme_bw) getting close to what I need theme_bwdn<-function (base_size = 12) { structure(list(axis.line = theme_blank(), axis.text.x = theme_text(size = base_size * 1, lineheight = 0.9, vjust = 1), axis.text.y = theme_blank(), axis.ticks = theme_segment(colour = "black", size = 0.2), axis.title.x = theme_blank(), axis.title.y = theme_bl...
2009 Mar 05
1
is there any option like cex.axis in ggplot2?
Dear list,   I made boxplots using ggplot and want to control for x- and yaxis. Using "plot" I can do it by setting cex.axis equally to any size but can't figure out how to do it with ggplot.     ggplot(dat, aes(x = factor(time), y = volume)) + opts(axis.title.x=theme_text(size=8),axis.title.y=theme_text(size=8)) + geom_boxplot() + geom_jitter(aes(colour = id))+labs(x =
2016 Jul 20
2
Fuente (Tahoma)
...o para una presentación en ggloot2 y me está quedando bastante bonito! Pero, tengo es problema con las fuentes: Warning messages: ?>? 1: In grid.Call(L_textBounds, as.graphicsAnnot(x$label), ... : ?>? font family not found in Windows font database ?etc.? ?que proviene de > theme_minimal(base_size = 14, base_family = "Tahoma") + ?La verdad es que no quisiera renunciar a la Tahoma. ¿Tengo alguna forma de incluirla en el Win font db que menciona el R? ¿Es un problema del R o es externo? Otros soft que utilizo en mi máquina (incluyendo este correo, el Word, el Excel, etc) utilizan Tah...
2010 Jan 18
2
ggplot2 histogramm
...es(y= ..count.. / sum(..count..),fill=..count../sum(..count..)*100)) + scale_y_continuous(formatter = "percent") + facet_wrap(~group) + ylab("Anteil in %") + xlab("Attribute") + opts(title="Title",legend.text="Anteil in Prozent") + BaseTheme(base_size=12) many thanks, Christian
2011 Aug 16
1
ggplot - some questions concerning histograms
Hello, I am a beginner with ggplot and after doing simple graphs (histogram, segments etc.) some questions came up: 1) I tried to do a histogram, but nothing is displayed although it works with another vector. I think it is because of the very small values (n=1000, min=1.222e-24 max, 1.890e-20). I used qplot(variable,geom="histogram")... If do it with the standard plot function it
2012 Aug 27
2
Font size in geom_dl (using ggplot2)
Hey everyone, I am an R-newby... so sorry for bothering you with simple-to-solve questions;) I have the following issue: trying to add labels to my scatterplots (with geom_dl in ggplot2). Everything works fine, but after checking every resource I do not find a way to change the font size of my labels. I tried size, cex, fontsize at every position... but it always stays the same. ggplot()+
2011 Jan 26
2
plot with 2 y axes
...ure)) p1<-p+geom_bar(stat="identity",fill="#9ACD32",colour="#000000") p1 + geom_line(data=tmp3, aes(x=year, y=Index), colour="black",size=1)+opts(legend.position="none",panel.grid.major=none,panel.grid.minor=none)+opts(panel.border=none)+theme_bw(base_size=20) This code does not do what I want because the Temperature y axis should be on the left hand side and the the y axis for the other variable called Index is not even there (should in theory be on the left hand side). I also get the following warning message when I run that code "I get Warni...
2010 Dec 06
2
ggplot2: Controlling line width of panel borders
...lt;- ggplot(barley,aes(fill=year,y=yield,x=variety)) p2 <- p1 + geom_bar(position="dodge",stat="identity") dodge <- position_dodge(width=0.9) p3 <- p2 + geom_errorbar(limits,position=dodge,width=0.5,size=0.7) p4 <- p3 + facet_wrap(~site,ncol=2) p5 <- p4+theme_bw(base_size=16) p5 last_plot() + opts(panel.grid.minor=theme_blank()) # deletes the minor grid lines ## Now i would like to increase the width of all remaining lines (bottom, left, top, right border of all panels and stripes) in the plot, as a certain minimum lines width is required by many journals la...
2017 Aug 05
2
Nested for loop
...(0:100), ylim = c(300:500)) + scale_x_continuous(breaks = pretty_breaks(11)) + scale_y_continuous(breaks = pretty_breaks(11)) + labs(x = "\nSample", y = "Population estimate\n", title = "Sample sizes are between 5% and 15%\nof the population") + theme_bw(base_size = 12) + theme(aspect.ratio = 1) small.sample [[alternative HTML version deleted]]
2017 Aug 06
0
Nested for loop
...0:500)) + > scale_x_continuous(breaks = pretty_breaks(11)) + > scale_y_continuous(breaks = pretty_breaks(11)) + > labs(x = "\nSample", y = "Population estimate\n", > title = "Sample sizes are between 5% and 15%\nof the population") + > theme_bw(base_size = 12) + > theme(aspect.ratio = 1) > > small.sample > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > P...
2012 Jun 05
0
ggplot2, grid graphics, x11(), windows(), and device fonts
...s(x=Time, y=Net.Distance, colour = PlateRow)) + geom_point(size= 3) + geom_line(size=1) + facet_grid(Substrate ~ Expression) + xlab("Time After Scratch (h)") + ylab("Net half-distance (um)") + opts(title='Repaired Raw 1205Lu Scratch Time Course') + theme_bw(base_size = 18, base_family = "") print(p2) The warnings are: There were 22 warnings (use warnings() to see them) > > warnings() Warning messages: 1: Removed 1 rows containing missing values (geom_point). 2: Removed 1 rows containing missing values (geom_path). 3: In grid.Call(L_textBounds,...
2017 Aug 06
1
Nested for loop
...s = pretty_breaks(11)) + > > > scale_y_continuous(breaks = pretty_breaks(11)) + > > > labs(x = "\nSample", y = "Population estimate\n", > > > title = "Sample sizes are between 5% and 15%\nof the population") + > > > theme_bw(base_size = 12) + > > > theme(aspect.ratio = 1) > > > > > > small.sample > > > > > > [[alternative HTML version deleted]] > > > > > > ______________________________________________ > > > R-help at r-project.org mailing list -- To...
2009 Apr 10
1
png with ggplot on windows xp
Hi Group, I posted this question on the ggplot list and was advised to try here also. The code below produces a plot as a png and pdf. The pdf looks great, and I cannot make the png look this way. I've tried various combinations of height, width, and dpi, but it has not worked out so far. Any suggestions to make the png look like the pdf? I received a response that the problem does not occur
2017 Aug 08
1
Nested for loop
...e_x_continuous(breaks = pretty_breaks(11)) + >> scale_y_continuous(breaks = pretty_breaks(11)) + >> labs(x = "\nSample", y = "Population estimate\n", >> title = "Sample sizes are between 5% and 15%\nof the population") + >> theme_bw(base_size = 12) + >> theme(aspect.ratio = 1) >> >> small.sample >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://st...