Displaying 20 results from an estimated 7000 matches similar to: "Using Lattice, LatticeExtra - Hide right and top axes in multipanel plots"
2013 May 02
3
Lattice xyplot multipanels
Derar Rxperts,
I have a strange situation.. I see curly brackets around "strip.levels" in
multipanel strips while using lattice::xyplot. .How do I get rid of the
curly brackets? For some reason, I am not able to reproduce the problem
using an example below...
Any suggestions are highly welcome!
Thanks,
Santosh
q <-
2013 Apr 30
0
Grouped spaghetti plots in multipanel graphs
Dear Rxperts,
Is there a simpler way to generate multipanel grouped individual profile
plots? All individuals of a group within a panel have the same color. As
of now I am using lattice::xyplot to get the desired effect. Please feel
free to suggest other ideas.
Also, I am trying to create a generalized function which goes on similar
lines like this..
grpPlot <- function(dat, mpgrp=quote(G),
2007 Jun 18
1
Second y-axis in xyplot (lattice) where y1 and y2 have different ranges
Hi all,
I realize this is asking a lot of lattice, but I want to add a second y
axis inside a xyplot and have y1 and y2 have different ranges. Given dat
below, I can add a second y axis by overlaying a new plot with
par(new=T) and label axis 4 with standard graphics. I've seen an example
for doing something similar in xyplot even though Deepayan has indicated
that lattice isn't the right
2013 Jun 24
3
Dibujar rectas sobre varios un grafico multipanel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Estimada comunidad, tengo que hacer un grafico con 4 paneles (4 graficos
pegados juntos) y sobre este tengo que dibujar 4 rectas ajustadas a los
datos de cada panel. Intente hacerlo con lattice usando el siguiente
codigo :
library(lattice)
library(latticeExtra)
xYplot(Cbind(mf[,3],mf[,5],mf[,6])~dia|factor(sol),data=mf,xlab="Time
2011 Sep 15
1
Move the x-axis labels to the top of the dotplot
Dear R helpers
I would like to move the x-axis labels, which plot automatically at the base
of a dot plot to the top of the plot. Is there a way to do this?
Code snippet below
with(Cal_dat,
dotplot(reorder(paste(Mine,Company), Resc_Gt) ~ Resc_Gt,
fill_var = Commodity,
pch_var = factor(Year),
xlab_var = factor(Company),
pch = c(21, 22, 23),
2018 Apr 25
0
Can't Get Lattice Histogram Minor Tick Marks to Work
Per the Posting Guide, why didn't you post the reproducible R code example?
On April 24, 2018 8:22:15 PM PDT, Donald Macnaughton <donmac at matstat.com> wrote:
>I'm drawing a paneled histogram using the lattice package. I've
>succeeded in
>adding minor tick marks to the vertical axis, but I can't get the
>desired
>number of minor tick marks between the major
2018 Apr 25
3
Can't Get Lattice Histogram Minor Tick Marks to Work
I'm drawing a paneled histogram using the lattice package. I've succeeded in
adding minor tick marks to the vertical axis, but I can't get the desired
number of minor tick marks between the major tick marks.
I've attached a self-contained program to illustrate the problem.
Thanks for your help,
Don Macnaughton
Here's my sessionInfo:
R version 3.4.3 (2017-11-30)
Platform:
2018 Apr 25
1
Can't Get Lattice Histogram Minor Tick Marks to Work
Thanks Jeff,
I attached a file with the program to my earlier email because the posting guide seemed to imply that non-binary attachments would work. But I see that the file was stripped off.
I installed the program file on a web site, but when I downloaded it, the line breaks were stripped out. So I've included the program below:
-------------------------------------------------------
#
2011 Sep 01
1
Background fill and border for a legend in dotplot
Dear R help group
I've been working on this plot for a while now and now getting around to the
minor adjusments. I would like to be able to put a border and background
fill around the legend in this plot.
I understand the legend 'bty' should do this have this capablity but not
sure how the syntax works in this case
###### initalise
library("lattice")
2017 May 08
4
Reducing code size of Position Independent Executables (PIE) by shrinking the size of dynamic relocations section
+llvm-dev
Discussion here: https://sourceware.org/ml/gnu-gabi/2017-q2/msg00000.html
On Tue, May 2, 2017 at 10:17 AM, Suprateeka R Hegde
<hegdesmailbox at gmail.com> wrote:
> On 02-May-2017 12:05 AM, Florian Weimer wrote:
>> On 05/01/2017 08:28 PM, Suprateeka R Hegde wrote:
>>> So the ratio shows ~96% is RELATIVE reloc. And only ~4% others. This is
>>> not the
2003 Jul 14
2
Multipanel weighted regression lines.
Dear R-users,
I am trying to create a multipanel scatter plot which displays weighted
regression lines for each subgroup. I am having diffuculty figuring out
how the Trellis multipanel plotting functions work, in general. Does
someone know where there are some beginners examples on how to create
and use panel.xxx functions in conjunction with the xyplot functions?
Back to the matter at hand
2013 Jun 24
0
Dibujar rectas sobre varios un grafico multipanel
Eric
En http://www.inside-r.org/packages/cran/latticeExtra/docs/panel.lmlineq
utilizan una diferencia, panel.ablineq en lugar de abline.
¿funcionará con ese cambio?
Javier Marcuzzi
-----Original Message-----
From: neo
Sent: Monday, June 24, 2013 4:49 PM
To: "Marcuzzi, Javier Rubén" ; Lista R
Subject: Re: [R-es] Dibujar rectas sobre varios un grafico multipanel
-----BEGIN PGP
2013 Jun 24
2
Dibujar rectas sobre varios un grafico multipanel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Estimado Javier, adjunto el grafico retocado con GIMP, borre las lineas
que sobran en cada panel. Obviamente, no es la idea hacerlo de este
modo, sino con R, pues quiero cambiar el color de la recta y hacer
varios otros graficos, cuya edicion manual requeriria mucho tiempo.
Espero entiendas mejor mi explicacion ahora. Cada una de esas rectas es
un
2011 Sep 15
1
Colour code y-axis labels on a dot plot
Dear R helpers
I would like to be able to colour code the y-axis labels on a complex dot
plot by a variable known as company (of which there are only two). The code
is below and data attached.
Thanks
MarkM
library("lattice")
library(latticeExtra) # for mergedTrellisLegendGrob()
# set size of the window
windows(height=10, width=7,rescale=c("fixed"))
##read the data to a
2013 Feb 25
2
lattice: column titles using xlab.top in multipanel xyplot
Hi,
I created a xyplot with a three-column layout. As suggested by Deepayan I tried to put titles to each column by using xlab.top. Unfortunately, as my y-axis scale relation = "free", the column titles are not centered at the three x axes anymore. Any idea how to center the titles?
#Example:
require(lattice)
#require(latticeExtra)
e <- data.frame(a = c(1:30), b = c(1:10, 20:29,
2009 Mar 23
1
lattice multipanel strip placement - with two factors
Hi,
I'm making a multipanel lattice densityplot figure with 2 factors (3 and
20 classes in each factor) with the following statement (the
type="percent" is there to prevent plotting the actual points which
detract from the figure - is there another way of doing this?):
densityplot(~End-Begin | Type * Chromosome, data=Mon, layout=c(5,12),
xlab="Element
2013 Jun 24
0
Dibujar rectas sobre varios un grafico multipanel
Estimado Eric
¿Podrías dibujar a mano las líneas que necesitas? Creo que facilita la
comprensión de lo que necesitas (por lo menos a mí).
Javier Marcuzzi
-----Original Message-----
From: neo
Sent: Monday, June 24, 2013 4:10 PM
To: Lista R
Subject: [R-es] Dibujar rectas sobre varios un grafico multipanel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Estimada comunidad, tengo que hacer un
2008 May 06
1
Spacing between lattice panels
I'm trying to set up a lattice plot with two y-axes for each panel. (Yes,
I know that multiple y-axes are generally a bad idea; the graph is for
someone else and they want it that way.) I've used a custom
yscale.component in xyplot to achieve this:
myyscale.component <- function(...)
{
ans <- yscale.components.default(...)
ans$right <- ans$left
foo <-
2010 May 25
2
segplot (latticeExtra)
Hi,
I'm having a bit of trouble with 'scales="free"' in the segplot()
function of latticeExtra. Say we need panels for each year, showing
only those counties that are represented in each one:
---<--------------------cut here---------------start------------------->---
library(latticeExtra)
data(USCancerRates)
uscr.w <- subset(USCancerRates, state ==
2010 Dec 04
2
Error in calcCurveGrob(x, x$debug) : End points must not be identical
Hi All... I haven?t found mention of this error anywhere. I'm trying to
draw spline curves using grid graphics. Most of the time, I have no
problems, but I have some data sets that give the error in the subject line.
I'm not sure which end points are identical, but the end points passed to
the function are definitely not identical.
Any assistance appreciated! Bryan
tst <-