Displaying 11 results from an estimated 11 matches for "theme_line".
2012 Nov 07
1
change colour of geom_step by scale_colour_manual
...+ # maek background theme
black and white
opts(legend.justification=c(1,0),# legend
justification needs to be in the (options)
legend.position=c(1,0),
panel.grid.major = theme_line(size =
0.5, colour = '#FFFFFF'),
panel.grid.minor = theme_line(colour =
NA) # colour = NA to suppress gridlines, reappear if colour='black'
)
<http://r.789695.n4.nabble.com/file/n4648669/step_plot_in_default_c...
2009 Jun 01
1
Minor tick marks for date/time ggplot2 (this is better, but not exactly what I want)
...plot(date, value, data=melt.updn, shape=site, ylab="Distance"
,main="Euclidean Distances Time Series", xlim=c(as.Date("2002-1-1"),
as.Date("2006-3-1")))+geom_line()+theme_bw()+geom_vline(x=as.numeric(as.Date("2002-11-01")))
+ opts(panel.grid.major = theme_line(colour="grey", size=0.75),
panel.grid.minor=theme_line(colour="grey", size=0.25))
thanks
--
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods....
2009 Jan 24
2
ggplot2 - how to change location / position of wind rose axis labels?
..._text(size = base_size *
0.8, face = "bold", hjust = 0), legend.position = "right",
panel.background = theme_rect(fill = "white", colour = NA),
panel.border = theme_rect(fill = NA, colour = "grey50"),
panel.grid.major = theme_line(colour = "black", size = 0.2),
panel.grid.minor = theme_line(colour = "black", size = 0.5),
panel.margin = unit(0.25, "lines"), strip.background =
theme_rect(fill = "grey80",
colour = "grey50"), strip.label = function(...
2012 Jun 28
0
neatmap - draw.dendrogram - help!
...t =
"s", yaxt = "s", horiz = TRUE, axes = FALSE)
#so using NeatMaps functions I get a tree pointing in the right direction
but without leaf labels i.e. no species names.
ggplot()+draw.dendrogram(gen.hc, leaf.order=NULL, dendro.dir = "right")+
opts(panel.grid.major = theme_line(size = 0, colour = NA), panel.grid.minor
= theme_line(colour = NA), panel.background = theme_rect(colour = NA),
axis.title.y = theme_blank(), axis.title.x = theme_blank(), axis.text.x =
theme_blank(), axis.text.y = theme_blank(),axis.ticks = theme_blank())
Any ideas from gurus welcomed!
Regards,...
2011 Oct 18
3
Ordering of stack in ggplot (package ggplot2)
...ople (in millions)n",
fill = "")
b <- a + geom_bar(stat = "identity", position = "stack")
b <- b + scale_fill_brewer(palette = "Set1")
immigration_theme <- theme_update(axis.text.x = theme_text(angle = 90,
hjust = 1), panel.grid.major = theme_line(colour = "grey90"),
panel.grid.minor = theme_blank(), panel.background = theme_blank(),
axis.ticks = theme_blank(), legend.position = "right")
b/
Thanks in advance
--
View this message in context: http://r.789695.n4.nabble.com/Ordering-of-stack-in-ggplot-package-ggplot2-t...
2009 Jul 23
1
tweak a bit the legend wiht ggplot2
...uot;
,solid=F
,breaks=c("A","D")
,labels=c("Adsorp.","Desorp.")
) +
scale_colour_hue(name="Adsorbent") +
scale_x_continuous(limits=c(0,1),minor_breaks = seq(0,1,0.1)) +
scale_y_continuous(limits=c(0,1000)) +
opts(panel.grid.minor = theme_line(colour = "grey94"))
print(ads.graph)
dev.off()
Regards/Cordialement
-------------
Benoit Boulinguiez
Ph.D student
Ecole de Chimie de Rennes (ENSCR) Bureau 1.20
Equipe CIP UMR CNRS 6226 "Sciences Chimiques de Rennes"
Avenue du Général Leclerc
CS 50837
35708 Rennes CEDE...
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 =
2010 Dec 06
2
ggplot2: Controlling line width of panel borders
...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
last_plot() +
opts(panel.grid.major=theme_line(colour="darkgrey",size=0.71))
# that works fine
last_plot() + opts(panel.border=theme_rect(colour="black",size=0.71))
# that only changes the bottom and right border of the panel
last_plot() +
opts(strip.background=theme_rect(colour="black",fill="grey90",siz...
2009 Aug 18
1
ggplot2: geom_smooth and legend
Hi all,
Is that possible to remove the grey colour in the legend key that goes
with the geom_smooth? In my case it doesn't ease the reading of the
legend.
http://www.4shared.com/file/125864977/e10644f8/desorb.html
Cordialement / Regards
-------------------------------------------
Benoit Boulinguiez
Ecole de Chimie de Rennes (ENSCR) Bureau 1.20
Equipe CIP UMR CNRS 6226 "Sciences
2008 Nov 21
0
ggplot2 - version 0.8
...sly returning NA)
* stat_quantreg: deal with yet another new output format from quantreg
* stat_contour now has arguments to control the position of the
contours, rather than relying on the z scale
* theme: panel.empty setting removed as it is no longer used
* theme_grey now aliased to theme_gray
* theme_line: setting size works correctly
* theme_rect, theme_segment: size now measured in mm, to be consistent
with the rest of ggplot
Regards,
Hadley
--
http://had.co.nz/
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/lis...
2008 Nov 21
0
ggplot2 - version 0.8
...sly returning NA)
* stat_quantreg: deal with yet another new output format from quantreg
* stat_contour now has arguments to control the position of the
contours, rather than relying on the z scale
* theme: panel.empty setting removed as it is no longer used
* theme_grey now aliased to theme_gray
* theme_line: setting size works correctly
* theme_rect, theme_segment: size now measured in mm, to be consistent
with the rest of ggplot
Regards,
Hadley
--
http://had.co.nz/
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/lis...