Displaying 20 results from an estimated 100 matches similar to: "multiple plots - editing ggplot2 plot"
2010 Mar 19
2
lattice grob
Dear list,
I'm trying to arrange various grid objects on a page using a
frameGrob. It works fine with basic grobs (textGrob, gTree, etc.), and
also with ggplot2 objects using the ggplotGrob() function. I am
however stuck with lattice. As far as I understand, lattice produces a
list of class trellis, which is eventually displayed using the
plot.trellis method. I am not sure if/how one can
2005 Apr 14
2
Legend in xyplot two columns
Dear R-Help
I have some trouble to set the legend in a xyplot into two rows.
The code below gives me the legend in the layout I am looking for, I
just rather have it in two rows.
library(lattice)
schluessel <- list(
points=list( col="red", pch=19, cex=0.5 ),
text=list(lab="John"),
lines=list(col="blue"),
2009 Sep 19
1
matrix operations on grobs and grid units
Dear list,
As a minimal test of a more complex grid layout, I'm trying to find a
clean and efficient way to arrange text grobs in a rectangular layout.
The labels may be expressions, or text with a fontsize different of
the default, which means that the cell sizes should probably be
calculated using grobWidth() and grobHeight() as opposed to simpler
stringWidth() and stringHeight().
2008 Sep 29
2
ggplot 2 - editing in the "panel_1_1" viewport
Hi All,
I am trying to find out how to access the components of a ggplot plot, and I
found this reply from Paul Murrel
http://www.nabble.com/navigating-ggplot-viewports-tt14826352.html#a15056223.
I tried it, and it works.
However, I am trying to develop some functions that will do the drawing
"automatically", and usually I will not know the full name of the grob that
has the layout vp,
2008 Sep 17
1
ggplot2 - deprecated guide= argument in
In the help for scale_fill_identity, it is written
## Not run:
colour <- c("red","green","blue","yellow")
qplot(1:4, 1:4, fill=colour, geom="tile")
qplot(1:4, 1:4, fill=colour, geom="tile") + scale_fill_identity()
# To get a legend, you also need to supply the labels to
# be used
2002 Dec 12
3
y axis on hist
Hi:
The y axis on the hist function seems to set its limits oddly.
sometimes, it covers the full range of the data and sometimes it stops
one major tick short. I have had this behavior with a variety of data
sets, and it can easily be reproduced by just running the following
several times:
hist(rnorm(100000))
I have tried explicitly setting ylim to the range of values produced by
rnorm
2007 May 26
1
lattice: aligning independent graphs
I find myself wanting to plot three graphs side by side 'as if' they
were panels -- that is, with the same y-axis limits, no space between
the graphs, and precise vertical alignment of the plot areas. However,
I don't want strip titles; I want each graph to have its own x-axis
label, on the bottom of the plot.
The best way I have so far found to do this is to fake up a data frame
that
2015 Jan 12
2
FAO Statistical Yearbook consultant
Dear Amy,
I have the same question as Mark. Is it possible to work from abroad -
remotely?
Best regards,
Martins
On 6 January 2015 at 19:32, Mark LoPresti <marklopresti at yahoo.com> wrote:
> Hi Amy,
>
> one key question: can this position work remotely?
> Thank you,
> Mark LoPresti
> From: "Heyman, Amy (ESS)" <Amy.Heyman at fao.org>
> To:
2003 Feb 24
2
fill prob. in legend
Hi,
I'm trying to construct a legend which has four lines of text and associated
symbols. The first two symbols need to be normal lines which vary only in
colour. The second two symbols should have filled boxes. How do I suppress
the fill boxes in the first two lines?
J.
2015 Jan 06
2
FAO Statistical Yearbook consultant
FAO Statistical Yearbook consultant
The Food and Agriculture Organization (www.fao.org) is a United Nations agency that leads international efforts to reduce hunger in the world. This is achieved through three main goals: the eradication of hunger, food insecurity and malnutrition; the elimination of poverty and the driving forward of economic and social progress for all; and, the sustainable
2008 Oct 24
1
Automatically adjust text size in plot
Hi all,
I'm writing a function that will automatically generate a report based
on answers to a questionnaire. The exact questions and answers to the
questionnaire can vary. One of the question types is in a "matrix"
format, where the agreement to several statements can be indicated on
a scale.
I'm planning to plot this on a multilevel barplot, and only labeling
each "bar
2011 Jan 24
3
error with source(): invalid 'times' value
hi
I am seeing a strange behavior I can't understand... doing:
> source("/tmp/RFile.r",echo=TRUE)
Error in rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) - :
invalid 'times' value
> traceback()
3: rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) -
leading))
2: paste(rep.int(c(prompt.echo, continue.echo), c(leading, length(dep)
2017 Jul 05
1
How can I make the legend in ggplot2 the same height as my plot?
Hi R Users,
I tried to increase the legend height in ggplot2, but it did not respond at all using the follwoing code. Do you have any suggestions for me?
dat<-data.frame(temperature)
P1<-ggplot(dat, aes(X, Y))
Scenario1<-P1+geom_point(aes(colour = value), size = 1)+ theme_bw()+ theme(axis.text.x = element_blank(),axis.text.y = element_blank())
2011 Apr 19
1
Axes Alignment Problem for Multiple Plots
Dear all,
I'm trying to plot, in the same window, two different series, using barplot() for the first one and plot() for the second. What happens is that the second chart has a different axes origin, therefore the final plot is wrong. This piece of code shows the differences between the values of par()$usr:
barplot(coredata(Z0), beside=TRUE, ylim=c(0,100));
par()$usr;
2008 Jun 12
4
How to increase the for() loop speed?
Dear R users,
I would like to know if there is a way to increase the for() loop speed
because in my routine the calculations are too slow.
Best regards.
Rafael Barros de Rezende
Cedeplar - Center for Development and Regional Planning
Face, UFMG ([1]http://www.cedeplar.ufmg.br)
--
Esta mensagem foi verificada pelo sistema de antiv??rus e
acredita-se estar livre de
2009 Sep 20
1
packGrob and dynamic resizing
Dear all,
I'm trying to follow an old document to use Grid frames,
Creating Tables of Text Using grid
Paul Murrell
July 9, 2003
As a minimal example, I wrote this,
gf <- grid.frame(layout = grid.layout(1, 1), draw = TRUE)
label1 <- textGrob("test", x = 0, just = "left", name="test")
gf=placeGrob(gf, rectGrob(), row = 1, col = 1)
gf=packGrob(gf,
2007 Oct 26
3
How to plot multiple variables on the same graph
How to plot multiple variables on the same graph
Dear R users,
I want to plot the following variables (a, b, c) on the same graph. The
x-axis must be the variable mat and the graph must have the type = "l". How
can I do that??
> a
[1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
> b
[1] 0.90665296 0.82473871 0.75269217 0.68917606 0.63304639 0.58332339
[7]
2010 Mar 12
4
Form using R
Hi, R users
We can create a form using R?
I would like to create a form where the information can be read by R.
Itneeds to be updated daily because I have to tabulate the reasons for
delays
in the generation of numerical models products.
I really appreciate any help,
Thanks in advance,
Nilza Barros
[[alternative HTML version deleted]]
2010 Sep 27
3
Output Graphics GIF
Dear R users,
How could I managed graphics in GIF format? What I have been doing is
graphics in *.ps or *.eps and after I convert them using CONVERT (from
ImageMagick) but the output quality is not good. Since these graphics will
be use for other users they must have a better image quality.
I really appreciate any help,
--
Abraço,
Nilza Barros
[[alternative HTML version deleted]]
2013 Feb 23
14
[Bug 61321] New: [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321
Priority: medium
Bug ID: 61321
Keywords: regression
Assignee: nouveau at lists.freedesktop.org
Summary: [regression][NV4c] System hang while loading gdm on
3.7 kernel (works on 3.6)
QA Contact: xorg-team at lists.x.org
Severity: major
Classification: