Displaying 20 results from an estimated 30000 matches similar to: "Overlay Plots"
2003 Feb 26
3
multiple plot overlay - dataframe
I hope you could help me with this. I have a dataframe
with 5 columns, the first column determining the X
values, and the rest four determining four separate Y
vectors. How can I plot them on the same graph,
overlaying each other?
Thanks.
Elena Zheleva
2001 Sep 06
2
overlay plots
Hi all!
I new to R (I don't know anything about S+ either!)
I've a simple question:
How do I generate overlay plots in R?
So far as I can see the plot(x, y) operator will only give me one graph and
the plot(x ~ y + z) will give me 2 separate plots.
Is there an easy way to overlay or am I missing the obvious?
Any help welcome.
Gerard Keogh
The information in this email, and any
2003 Oct 12
1
plot/ layout/ overlay problem
System info:
Red Hat 9.0
R Version 1.7.0
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I have a small problem with positioning overlays using layout.
## Purpose: to plot temperature and salinity profiles
## as a multipanel figure, and
## overlay the the mixed
## layer depths.
Here is the code skeleton:
--------------------
nf <-
2004 Nov 04
2
Plotting a linear model object with R 2.0 for Mac OS X
I'm using R for Mac OS X Aqua GUI version 2.0
When using plot() with a linear model object, the plot of the LSR line does not
appear. I get the residual plots, the Normal Q-Q plots and Cook's Differnce
plot, just not the first plot with the fitted line. I just get an empty Quartz
window, with no graph displayed. I've even tried to use plot.lm() and plotting
a glm object, but I get the
2007 Jul 02
0
CCDF plotting - axis labels+overlay
My apologies in advance for what will probably be a poor post, but I'm very
new to R and, obviously, the R-help group.
What I am trying to do is plot the complementary cumulative distribution
function (aka survivor function) on log-log axes.
The cdf function with the oneminus=TRUE option in the heR.Misc package
almost does what I want to do with two problems. First, labeling the y-axis
seems
2009 May 18
2
Overlay two quantreg coefficients plots
Dear R-mailing list,
I would like to overlay to two quantreg coefficients plots. I have
plot(summary(rq(ff~tipo,tau = 1:49/50,data=Spilldata)))
plot(summary(rq(ff~tipo,tau = 1:49/50,data=Spilldata1)))
Is there a possibility to display the two in the same graph?
Thank you so much!!!
Christian
[[alternative HTML version deleted]]
2012 Dec 22
1
plotting and saving diagrams automatically
[if the format of my email is changed or is difficult to understand, a text file is attached for easy understanding]Dear useRs,
i was wondering that if its possible in R to automatically generate plots and get it saved at the desired location? i have
data of cancer patients, from about 1000 cities around the world. i have converted that data into a list (called tcp) and
that list has 1000
2008 Jan 15
4
Overlay plots from different data sets using the Lattice package
#After spending the entire day working on this question, I have
decided to reach out for support:
#I am trying to overlay a densityplot from one data set over a
histogram of another, if I were to plot the two individually, they
would look like:
# data frame construction
data.frame.A <- data.frame(rnorm(12*8), c(rep("one", 4), rep("two",
4), rep("three", 4)),
2008 Jul 28
1
Overlay of simple plots
I am trying to create a graph that puts three x-y plots (age vs rate for
three categories ) on a single plot. SAS does this with the overlay
function. I cannot find in the R documentation a method for doing this. Any
help would be appreciated.
Thanks,
Phill
Phillip R. Hunt, Sc.D.
24 Pleasant St.
Newfields, NH 03856
[[alternative HTML version deleted]]
2002 Oct 21
2
overlaying plots
Dear R-gurus:
How do I overlay 2 plots in the same frame in R?
Or, if I have a histogram, and I want to plot a function in the same frame -
how do I do it?
Thank you very much,
Vlad
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2011 Feb 14
2
how to overlay a map of US on image plot
Dear all,
I have a data set which has latitude, longitude (not in increasing order)
and observed precipitation corresponding to those locations. I am using
image.plot command for that. But I want to overlay a map of US on that plot.
I know we can use map('usa') to draw it, but I dont know how can I overlay
it on the plot of the precipitation data. Can anyone please help me with it?
2009 Jan 15
1
misalignment of x-axis when overlaying two plots using latticeExtra
Dear R-helpers:
I am an entry-level R user and have a question related to overlaying a
barchart and and a xyplot using latticeExtra.
My problem is that when I overlay them I fail to align their x-axes.
I show my problem below through an example.
#the example data frame is provided below
vec <-c(1,5.056656,0.5977967,0.06126587,0.08557778,
2,4.601049,0.5995989,0.05002188,0.11410027,
2009 May 13
1
Overlaying two plots
Hi useR's,
I want to overlay an image plot over a world map and I can do it, but just
not the way I need to do it. Here is the code I am using (with data file
attached) to create my baseline map:
library(sp)
load("TM_WORLD_BORDERS_SIMPL-0.2.RData")
par(bty="l")
plot(wrld_simpl, axes = TRUE, ylim = c(-90, 90), xlim=c(-180, 180), asp=1.5)
lim <- par("usr")
2011 Jul 07
2
How do I overlay two trellis plots of lme fitted lines produced by plot.augPred?
Hello,
I want to use lme to fit two (or more) models, and then compare the fits
on each individual. I know how to write my own code to do this (for each
individual, plot the raw data, followed by lines() to plot each fitted
curve) but I would like to use plot(augPred(... as it produces a nice
trellis plot. I thought I could do this with par(new=T) but it does not
seem to work.
2005 Jun 02
2
overlaying plots
surely this not hard, but i can't figure it out. i'd like to overlay
the results of two ecdf's.
e.g. xx<--ecdf(x) and yy<--ecdf(y). i'd like to plot xx and yy on the
same graph.
thanks...mj
[[alternative HTML version deleted]]
2011 Apr 23
3
Problem having tick marks aligned when plotting three graphs on top of one another.
R 2.10
Windows 7
I am trying to plot three graphs on top of each other. I need to have the axises perfectly aligned. For some reason the ticks on the y axes are slightly off so they do not perfectly align. Can someone tell me how I can get the to overlay each other perfectly? I thought the yaxp parameter would solve my problem, but it does not. My data and code follows:
>
2009 Dec 02
4
Again on overlaying plots (a plot region within a plot region)
Dear R-users,
after seeking for help in R-search
I did not find any hint on my particular problem.
Countless help on "true" overlay, but nothing on this.
Please consider the following:
par(mfrow = c(2, 1))
T <- seq(0, 20, by = 0.01)
## PLOT 1
plot(T, 30*exp(-0.65*T),
type = "l"
)
points(T, 30*exp(-0.26 * T), type = "l", lty = "F8")
points(T,
2009 Jun 03
2
Problems with plot and Quartz device (PR#13744)
Full_Name: Thomas Richardson
Version: R 2.9.0 GUI 1.28 Tiger build 32-bit (5395)
OS: 10.4.11
Submission from: (NULL) (216.254.15.72)
I have encountered a problem with points in scatterplots disappearing in a
quartz window when it is re-sized (to make it larger).
I am constructing an 8x12 matrix of scatterplots each containing approx 600
points.
In order to get them in the window I remove the
2009 Feb 04
2
overlay plot question
Greetings all,
I have two logistic plots coming from two calls to plogis. The code is
.x <- seq(-7.6, 7.6, length=100)
plot(.x, plogis(.x, location=0, scale=1), xlab="x", ylab="Density",
main="Logistic Distribution: location = 0, scale = 1", type="l")
abline(h=0, col="gray")
.y <- seq(-7.6, 7.6, length=100)
plot(.x, plogis(.x,
2005 Jan 16
2
Multiple plots in one screen
I'm a fairly new user of R and I'm confronted with a problem to which I can't find the solution in any R manual or FAQ.
I'd like to plot multiple 'graphs' in one plot screen. For example, my data frame would be:
x a b c
1 11 15 18
2 26 12 19
3 22 17 14
And I'd like to plot a, b and c against x at the same time in one plot