similar to: xyplot axis line width

Displaying 20 results from an estimated 20000 matches similar to: "xyplot axis line width"

2007 Aug 30
2
Additions to xyplot (lattice)? - legend, ticks, axis label size, text
I have created an xyplot of a time series with the following code... win.graph(width = 10, height = 7) panel1 = function(x, y) { panel.loess(x, y, lwd=2.5, span=0.5, col="gray") panel.xyplot(x, y, pch=19, col="blue", cex=1.25) } xyplot(oneplusdensity ~ year, data=figdata, aspect="fill", cex=1.5, xlab=NULL, ylab=expression("Crabs per
2023 Nov 18
1
combine barchart and xyplot in lattice
On Sat, 18 Nov 2023 at 06:44, Naresh Gurbuxani <naresh_gurbuxani at hotmail.com> wrote: > > In below graph, I would like to add two vertical lines using > panel.abline(). Is this possible? I assume you want the 'v' variable in panel.abline() to be interpreted in the context of your x-axis, which here represents a factor variable. Unless two factor variables have the same
2010 Oct 09
1
point characters THICKER in xyplot()
Hi, how can I make the point characters thicker (NOT larger) in xyplot when groups= argument is used? dat<-data.frame(x=1:100,y=1:100,group=rep(LETTERS[1:5],each=20)) ### lwd=2 doesn't work here xyplot(y~x,groups=group,data=dat,col=1:4,pch=1:4,lwd=2) ### lwd=2 works with panel.points(), but grouping is messed up! xyplot(y~x,groups=group,data=dat,col=1:4,pch=1:4,
2011 Oct 10
3
Superposing mean line to xyplot
Dear R-users, I'm using lattice package and function xyplot for the first time so you will excuse me for my inexperience. I'm facing quite a simple problem but I'm having troubles on how to solve it, I've read tons of old mails in the archives and looked at some slides from?Deepayan Sarkar but still can not get the point. This is the context. I've got data on 9 microRNAs, each
2005 Nov 22
2
change axis format for different panels in xyplot in lattice
Dear R users, My apologies for a simple question for which I suspect there is a simple answer that I have yet to find. I'd like to plot panels in lattice with different graphical parameters for the axes. For example, the code x<-rnorm(100) y<-rnorm(100) z<-c(rep(1,50), rep(2,50)) library(lattice) xyplot(y~x|z) plots two panels with the default black axes. Running the following
2003 Feb 03
2
Mtext and xyplot
Dear all; I wish to create a graphic object combing an xyplot() and an mtext(). My code looks like following, gmv <- { trellis.device("windows", bg="white", width = 7, height = 7) xyplot(Mvol ~ Age | Nl * Th , data = Hft1, prepanel = function(x, y) prepanel.loess(x, y, span = 1), xlab =list(label = "Age (Years)", font = 2),
2008 May 27
1
Fwd: Re: Seeking help with trellis: log scales on xyplot
Deepayan: Sorry for the additional email, but I'm concerned that I wasn't being clear. In the end, I would like a graphic that portrays my y-values on a log scale in their native data range. That is to say, I would prefer to see the axis labels as 1000 rather than 3 (log10 of 1000). Thank you for your kind assistance, Hobie Perry St. Paul, MN Hobie Perry <hobie_perry@yahoo.com>
2006 Jan 09
3
two y-axis in xy-plot
Hi there, I am wondering if it is possible to do an xyplot with two y-axes. I'd like to print two parameters in a time series but they both have different scales. Which parameter in xyplot can I add to achieve this result? Thanks a lot for any help. Antje [[alternative HTML version deleted]]
2006 Apr 06
3
skipping rows in trellis key
Hi, I would like to add a key to my trellis plot using draw.key. Here is what I want: 3 x 6 key where the first row is a header. row 1: empty, "S-R Mapping", "R^2" row 2: pch=17, "Color", 0.951 row 2: pch=17, "Shape", 0.934 ect... The problem is that I would like the cell in the upper left corner to be empty (a placeholder) with the remaining
2005 Nov 07
2
lattice chart: different definitions for series
Hi enthusiasts, Trying to create a single chart in lattice with different plotting definitions for the different series (two series should be drawn with lines and the other without them) I am using a dataset, which includes a grouping variable e.g. clinic with three levels, the variable "year" and a continous variable: "mct". In the graph the variable "year" is in
2008 Jul 10
2
xYplot customizing y-axis scaling
Dear list, using the packages Hmisc and lattice i produced some nice xYplots. However, since the data range of the conditioning variable is very big, i need to define more than one y-scale for the plot (in some panels you just see a flat line of data points very close to the x-axis), e.g. different y-axis scales for the different rows of the plot. Is there a way to do so? Thanks, Henning
2008 Oct 23
2
I have an xyplot, I want to keep the format, but only show x or y
Good Morning, I am using xyplot to show two variables for a large number of subjects. Currently I am using xyplot(y~x|as.factor(ID), layout=c(7,9)) to give me a little plot of the x and y factors for each ID. The purpose of the plot is to let the PI quickly look through the data for irregularities. The good news is that they like the layout of the xyplot, but they don't want to have to
2006 Jan 26
1
panel.xyplot : incorrectly "connecting" points
R 2.2, WinXP. I am having problems getting the right kind of xyplot( ) to be generated. The first of these works fine, but doesn't overlay a reference grid (which I need): xyplot(Y ~ X | Factor1, type = 'b', groups = GROUP, col = c(1,13), pch = c(16,6), lty = 1, lwd = 2, cex = 1.2, data = FOO.Frame, between = list(x = .5, y = .5), scales = list(alternating = TRUE)) The second
2003 Sep 09
2
lattice.xyplot: adding grid lines
Hallo, I'd like to add grid lines to a lattice graph having 2 series of Y data. See these 2 examples: data(iris) [1] xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales = "same",type="l", ) [2] xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales =
2008 Sep 02
2
annotating individual panels produced by xyplot
Hi all, I'm new to R and lattice and panel functions. I've produced a lattice graph using xyplot. Now I would like to add various, and *different*, annotations to each individual panel. I tried something like this, using panel.text ... <code> xyplot(dent ~ era | vegzone, groups=seedtype, panel=function(...) { panel.xyplot(...)
2010 Jan 10
3
How to control spaces between axis, tick and label in xyplot or xYplot?
Dear R users, I encounter a problem regarding space control in xyplot. Basically, I want to control spaces between label, tick and axis. I remember there is a function called mgp in general plot. Is there a similar function for xyplot or xYplot? Below is my basic code: myplotkid<-xyplot(expected_offspringnumber~afr|decade,groups=SES,data1,
2007 Nov 20
2
Adding points on top of lines in xyplot
All, I'm trying to make a basic plot: data points superimposed upon the a line connecting the points w/ a different color. Example below doesn't work as the first xyplot call doesn't remain. Suggestions? David Hour = c(NA,1,2,3,4) y = c(2,2,3,2,1.5) xyplot(y ~ Hour, xlab = list("Hour", font=2, cex=2), ylab= list("U_x * V", font=2, cex=2), type = 'l',
2008 Dec 10
2
How to Break Axis in Lattice Plot
Dear All, I have searched the following problem in the R help achives, and there did not seem to be solutio for it. The problem is how to break the axis in the xyplot (lattice plot). I read the posts using the package plotrix, buy it doesn't work with the xyplot, which is lattice based. A simple example is attached below: xyplot(c(1:10,100)~c(1:10,100)) What I would like to do is
2006 Oct 18
2
Adding locfit confidence intervals in trelis xyplot
Dear all, I am trying to include confidence intervals in a xyplot. This is what I am doing: xyplot(x ~ y|z, alpha = 1,band = "global",panel = panel.locfit) (more specifically, in my case x is a binary response from a logistic regression model) The output plot was fine but it did not include the confidence intervals Anyone knows how to do it? (xYplot did not work either) many thanks
2004 Feb 05
2
xyplot (lattice): colours of lines
using either one of the following codes: xyplot(X ~ time | center, type="l", panel=panel.superpose, groups=subject, col = treatment) xyplot(X ~ time | center, groups = subject, panel = function(x, y, ...){ panel.superpose(x, y, col = treatment, type = "l", ...) }) I get two different colours for the lines by these colours do not match the corresponding treatment