Displaying 10 results from an estimated 10 matches for "ggopts".
Did you mean:
cgopts
2007 Jun 17
1
[ggplot2] Change color of grid lines
Hi,
I am making myself familiar with ggplot2 (I really like the examples
at <http://had.co.nz/ggplot2/>).
One thing that really annoys me is the default use of white grid
lines and a gray background [1, 2]. I simply would like to have black
grid lines and a white background. No problem, I thought, "This is R.
There is no if. Only how." (fortune("Simon Blomberg")).
2008 Apr 04
1
How to access the attributes of a ggplot?
Hi,
I am having some hard time figuring how to access (and modify) the
properties of an object created by ggplot.
I found 'ggopts', but it only returns some of the properties. Say I
want to get the x- and y-axis limits, the tickmark locations, legend
current position, the legend box and background color and set them to
new values.
Are these properties easily accessible (and modifiable) from the object?
Here is an examp...
2008 Apr 29
1
ggplot2: setting global graphic parameters with png driver
Hi all,
I prepared a few charts with ggplot2, and was happy with the results as
displayed on screen.
I tried to draw them with a PNG driver instead. But I ran into several
problems while trying to increase the resolution of the picture.
Mainly, when I increased the picture size (e.g png(width=1024,
height=768) ), the texts (title, labels, etc...) where too small. I
tried to set the
2006 Dec 11
1
two ggplot and colour=x question
Hi
I am using ggplot with the aesthetic=list(..., colour=x, ...)
ggplot()
ggline()
I have four different values in x ("ren", "cyn", "mixed", "bare") and I
have two questions
1) I would like to assign specific colours to the values, i.e. green,
red, blue and brown. How can I do this? I did not understand
map_colour_brewer.
2) I don't want the
2007 Jun 05
1
ggplot aspect ratio
Is there a way to control the aspect ratio of plots using ggplot?
Specifically, I'm using the formula=a~b argument to produce a grid of
plots, but the overall width of the result seems to vary for reasons
that are obscure to me.
This affects not only the appearance of the plots but the amount of
space available for the title (which seems to be right justified
relative to the right edge of the
2008 Jan 26
2
using facet_grid() from ggplot2 with additional text in labels
Hi
I am using ggplot2 at the moment and I must say it is definitely better
then ggplot - good work.
My problem is that I am using facet_grid() in the following way:
> p <- ggplot(ssq, aes(x=year, y=-log(ssq)))
> p + geom_point() + facet_grid(me*gi~cs*rz)
and it works nicely, except that I would like to have, in naddition to
the values of me, gi, cs and rz the name of the variable.
2008 Apr 07
3
rgl_0.70.553.tar.gz install
Hi,
I am an R beginner and wish to create some 3d plots. I have managed to
install the rgl library and save 3d plots, but only as an R file. I wish
to use rgl.snapshot so I can create a ".png" file and the plot can be used
in LaTex.
The function rgl.snapshot does not work (i get an error "failed" message).
Having looked at previous posts, I believe that the problem can sorted
2006 Aug 02
4
ggplot facet label font size
How do I change the font size in the facet labels along the edges of the
plot?
For example (from the ggplot help file):
p<-ggplot(tips, sex ~ smoker, aesthetics=list(x=tip/total_bill))
gghistogram(p)
In this plot, the facet labels are "smoker: No", "smoker: Yes", "sex:
Female", "sex: Male". What command can I use to reduce the font size of
2007 Jun 24
2
matlab/gauss code in R
Hi all!
I would like to import a matlab or gauss code to R.
Could you help me?
Bye,
Sebasti?n.
2007/6/23, r-help-request en stat.math.ethz.ch <r-help-request en stat.math.ethz.ch>:
> Send R-help mailing list submissions to
> r-help en stat.math.ethz.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.