Displaying 20 results from an estimated 107 matches for "overplotted".
2004 Oct 14
2
xyplot gets overplotted by plot
Dear all,
After having set par(mfrow = c(2, 2)) and switching between plot() and
xyplot() using R 2.0.0 Patched (2004-10-13) under Windows 2000, the lattice
plot gets overplotted. I also tried this under 1.9.1 Patched (2004-09-22),
since this is the only older version I've got installed, and it did the
same thing apart from that the overplotting now starts in the opposite
lower corner.
I'm having a hard time believing that this is the intended behaviour, but
I&...
2013 Jan 29
1
problem wih plotrix:cluster.overplot
Hello,
I am trying to use cluster.overplot from package plotrix and I get an error message when I add the "away" parameter:
require(plotrix)
distance <- read.table("distance.txt")
cmd <- cmdscale(distance)
cp <- cluster.overplot(cmd, away=2)
Error in if (sum(overplots) > 1) { :
missing value where TRUE/FALSE needed
If I don't use "away",
2007 Jun 08
2
overplots - fixing scientific vs normal notation in output
Moving from S-plus to R I encountered many great features and a much
more stable system.
Currently, I am left with 2 problems that are handled differently:
1) I did lots of "overplots" in S-Plus using
par(new=T,xaxs='d',yaxs='d') to fix the axes
->What is the workaround in R ?
2) In S-Plus I could fix "scientific notation" or "normal notation" in
2008 Sep 05
2
Use of colour in plots
Dear all,
I have 3 datasets all of which share the same longitude and latitude values, which I'm looking to plot onto a scattergraph. The third dataset has values which can only be either '1' or '2'. So to incorporate all three datasets onto two axes, I'm wondering if I can plot dataset1 and dataset2 as normal, but then use colour to determine whether these points are
2009 Feb 17
1
plot.lm: "Cook's distance" label can overplot point labels
The following code demonstrates an annoyance with plot.lm():
library(DAAGxtras)
x11(width=3.75, height=4)
nihills.lm <- lm(log(time) ~ log(dist) + log(climb), data = nihills)
plot(nihills.lm, which=5)
OR try the following
xy <- data.frame(x=c(3,1:5), y=c(-2, 1:5))
plot(lm(y ~ x, data=xy), which=5)
The "Cook's distance" text overplots the label for the point with the
2006 Dec 03
0
overplot() examples fail (package:gplots)
require(gplots)
data(rtPCR)
overplot( RQ ~ Conc..ug.ml. | Test.Substance,
data=rtPCR,
subset=Detector=="ProbeType 7" & Conc..ug.ml. > 0,
same.scale=TRUE, log="xy", f=3/4,
main="Detector=ProbeType 7",
xlab="Concentration (ug/ml)",
ylab="Relative Gene Quantification"
)
# Error in lowess.default(mf[[-response]], mf[[response]], f = f,
2006 Jul 25
3
Overplotting: plot() invocation looks ugly ... suggestions?
Hi WizaRds,
I'd like to overplot UK fuel consumption per quarter over the course of five years.
Sounds simple enough?
Unless I'm missing something, the following seems very involved for what I'm trying to do. Any suggestions on simplifications?
The way I did it is awkward mainly because of the first call to plot ... but isn't this necessary, especially to set limits for the
2008 Mar 13
2
Plot contour over filled contour
Dear R-users,
I haven't found a way in the searchable archive to overplot a contour
(lines) over a surface.
I have a (n,m) matrix that represents sea surface temperature that I
have plotted using image.plot(), filled.contour() or image(). I would
like to overplot this image with some contour lines of mixed layer depth
values(same size matrix). How can I do this?
Any help is appreciated,
2008 Feb 25
3
Avoiding overplotting of text.
Hi all,
I am plotting some data, and use text() to get variable names next to
points on the graph. What is the best way to make sure that these text
labels are readable and not overlapping when two datapoints are close?
I've tried using jitter(), but the effect is random and doesn't always
give a good result.
Any suggestions would be most appreciated.
Best regards,
Gustaf
Example:
2007 Jul 26
1
How to auto-scale cex of y-axis labels in lattice dotplot?
When I create a dotplot in lattice, I frequently observe overplotting
of the labels along the vertical axis. On my screen, this illustrates
overplotting of the letters:
windows()
reps=6
dat=data.frame(let=rep(letters,each=reps), grp=rep(1:reps, 26),
y=runif(26*reps))
dotplot(let~y|grp, dat)
Is there a way to automatically scale the labels so that they are not
over-plotted?
I currently do
2008 Feb 25
1
Plotting series marked with a symbol on every nth data point, preferably in ggplot...
Hello!
I am working with signals and a plot of several signals on the same
axes can get quite messy. With lines that are very fractured,
distinction by only the linestyle is not very clear. If I add symbols
to the plot however, there are so many symbols, that they overplot and
the whole plot is unreadable once again. I am looking for advice on
how to make a plot with continuous lines and symbols
2007 Feb 13
4
matlab style plotting in R
Hello
I was wondering how I can achieve matlab style plotting in R,
in the sense that matlab allows you to plot multiple sets of variables
within the same
x-y axes. plot in R does not seem to cater for this. I tried 'overplot' from
the gplots package but this assumes different y axes for the variables.
any suggestions would be very appreciated
Maria
[[alternative HTML version
2008 Apr 20
1
Attempting to sync x-axis labels with grid lines in lattice bwplot
I have created a lattice bwplot that suffers from axis label
overplotting. The box plot contains grid lines, and I thought that
only plotting the labels for corresponding vertical grid lines would
not only cure the overplotting but also be more aesthetically
pleasing. Unfortunately hours of poring over manuals, documentations,
mailing list archives, and other R-related text hasn't helped.
2011 Nov 22
3
making scatterplot easier to read
Dear R users,
do you know an easy way (other than star plot) of making several points
laying one over another visible? Is it any simple way of increasing such
"multipoint" symbols - or shifting their positions randomly to make several
points in one place visible?
Cheers,
sz.
--
Szymon Drobniak || Population Ecology Group
*Institute of Environmental Sciences, Jagiellonian University
2005 Nov 29
3
label point
Hi, I have a matrix:
[,1] [,2]
[1,] 11 31
[2,] 44 50
[3,] 23 100
[4,] 90 31
I use plot to draw the four points. Is there any way to label the point? for insatnce, for (11,31), it is "1", for (44,50), it is "4".
Thanks!
---------------------------------
[[alternative HTML version deleted]]
2011 Jul 14
1
plotting x y z data from an irregular grid
Hi,
I'm trying to plot some data (z) that is linked to lat&long coordinates
(x&y). These coordinates are not however on a regular grid. I also have some
shapefiles on which I would like to overlay the data. I can plot the
shapefiles (country/city outlines) and overplot the data, but only using
quilt.plot because I otherwise always get the error message that
'Error in
2009 Jun 15
3
Aligning axis values when plotting more than one graph on same axes
Dear R Users,
I am trying to plot a barchart with a line graph superimposed (using par(new=TRUE)). There are 12 bars and 12 corresponding points for the line graph. This is fine, except that I'm encountering two problems:
1) The position of the points (of the line graph) are not centred on the middle (horizontally) of each corresponding bar. In fact, whilst the first point is located on the
2005 Jul 13
3
plot the number of replicates at the same point
Dear R-helper,
I want to plot the following-like data:
x y
1 1
1 1
1 2
1 3
1 3
1 4
......
In the plot that produced, I don't want to show the
usual circles or points. Instead, I want to show the
number of replicates at that point. e.g. at the
position of (1,1), there are 2 obsevations, so a
number '2' will be displayed in the plot.
Is my narrative clear? Is there a way to make the
2009 Mar 20
1
how can I find actual axis limits for an existing plot?
I would like to query an existing plot to learn the actual x and y
limits of the plottable area. Is this possible? I can discover the
extreme tick mark locations but not the actual plot area limits.
Setting the limits with ylim will not help in this case because I am
overplotting an existing plot with a separate function, and I don't want
my end-user to have to pass parameters around.
2009 Nov 22
1
"Over-coloring" facets on persp() plot
Dear R Community:
Recently, I have managed to plot some really useful graphs of my
research data using persp(). I have even figured out how to overplot
rectangular regions (corresponding to submatrices) with a different
color. This is accomplished by using par(new=T). I am now searching
for a way to "highlight" a set of (possibly non-contiguous) facets with
a specific color,