Displaying 20 results from an estimated 700 matches similar to: "contour( ..., method='edge') incompatible with xlim & ylim"
2011 Apr 08
1
asking about contour plot with R
I'm working in Rosario, Argentina, trying to plot some contours.
I found the function "draw.contour" created by James Forester at
R-bloggers. If you take a look at that function you'll see it's very
useful!
But I have a problem with it and James is trying to help me (but also
asked me to seek for more help) I hope you can help me (don't worry if you
can't):
Using
2007 Sep 27
1
windows device transparency issue
I read in a thread in r-help today that the windows device in 2.6 supports
transparency, so I tried an example and had some issues. The density plots
should be filled with transparent color in the following example (similar to
the points), however the color is "fully" transparent. This works in the
Cairo device, but not in the windows device.
Thanks,
--Matt
Matt Austin
2009 Sep 17
1
Beginner Q- dates in the xrange?
Hi all- terribly beginner question here, but I can't figure out how to put
dates as the values for my x range in a plot. Example:
xrange <- results$current
yrange <- results$DIFF
plot(xrange, yrange, type="n", xlab="Date", ylab="Differential")
lines(results$DIFF, type="l", lwd=1.5, col="red")
Where xrange is:
> xrange
[1]
2006 Feb 10
1
the proper way to use panel functions in lattice package?
Hi,
I was trying to stack a topographic map readed in from esri shapefile with a
contour map and a vector map. However, the plotMap(maptools) and
contourplot(lattice) do not seem to work well on top of each other. Here is
part of my code.
xrange<-range(225000:350000)
yrange<-range(2685000:2810000)
basemap <- read.shape("Twn25_town_dxf_Polygon.shp")
2009 Mar 06
1
help to use ppp in spatial analysis
Hi,
i am using spatstat package for spatial data analysis and now i have a problem to create a point pattern. The points are in file "points.txt" (first column for Latitude and second column for Longitude ) and I imported them and separated each columns in two arrays x and y. If I plots x and y ( e.g plot(x,y) ) the result appears in square area without problems and the scale is
2010 Apr 09
1
Problem with Loops
Hello,
I am trying to write a script with the end goal of graphing power (y) as a
result of sample size (x) at a variety of effects sizes. I am new to loops,
and I think my problem is there. Here's the script, which is modified from
the script found at the bootom of
http://www.statmethods.net/stats/power.html. ANy help would be much
appreciated!mtesche at ualberta.ca
library(pwr)
2012 Jan 19
1
Legend problem in line charts
Hi all,
Small problem in generating the line charts.
Question: Legend for the first graph is coming wrong., for second graph correctly. Please fix the legend postion at the down of graph.
Plesae give me the solution.
Thank you
Devarayalu
Orange1 <- structure(list(REFID = c(7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8,
8, 8, 8, 8, 9, 9, 9, 9), ARM = c(1, 1, 1, 1, 2, 2, 2, 2, 1, 1,
1, 1, 2, 2, 2,
2005 Apr 06
0
Polynomiographic function in R :-)
Hi, people. Nothing too serious in this message. Nevertheless, all
criticism or advice is welcome :-).
Yesterday, I went to a conference by Bahman Kalantari (Rutgers
University) about Polynomiography (the Fine Art and Science of
Visualizing Polynomials). Since I'm starting my R learning, I decided
to try using it for computing some (any!) polynomiograph. I was
surprised about how easy and
2013 Mar 05
2
multiple plots and looping assistance requested
Hi all, I have a couple of questions.
1) Is there a more effective way to remove the following pattern
(patternrm) from the station_id_Timeseries (see below)
patternrm <- c(_2000_4_OND, _2001_1_JFM, _2001_2_AMJ, _2001_3_JAS,
_2001_4_OND, _2002_1_JFM, _2002_2_AMJ, _2002_3_JAS, _2002_4_OND,
_2003_1_JFM, _2003_2_AMJ, _2003_3_JAS, _2003_4_OND, _2004_1_JFM,
_2004_2_AMJ, _2004_3_JAS, _2000_4_OND) #
2014 Dec 17
3
Problema con el subset
Hola a todos,
Agradeceros de antemano vuestro tiempo y paciencia ya que soy un poco
novato y tal vez esto sea un poco trivial.
Lo que quiero hacer es que me represente en eje de las x las fechas
(columna fecha) y los valores de z (columna z) pero de los datos que he
filtrado antes en
(dfgrupo<-subset(df,df$parametroslaboratorio=="Aflatoxinas ByG")) y que los
parámetros iguales
2010 Oct 15
0
tessellation from biological data in spatstat
Hi,
I'm new to this mailing list so apologies if this is too basic. I have
confocal images 512x512 from which I have extracted x,y positions of the
coordiates of labelled cells exported from ImageJ as a.csv file. I also
have images that define an underlying pattern in the tissue defined as
areas of different pixel values 0 or 255 (also 512x512) I've exported
these images as .txt
2011 Jul 13
3
Colors in R
HI everyone,
I''m trying to assign colors to multiple lines in a graph. Problem is I don''t want to type in as many colors as there are lines....is there a way around this? In brief, I''m plotting the logratio for up to 60 samples and want a different color for each sample. Here is the code I''m using now..
Any help is greatly appreciated..
Best
LT
data <-
2010 Jan 03
2
plot question
Hi,
I am new to R so forgive me if the following query is somewhat simple. I have a small tab-separated file with n records of glucose values, one record per day, seven measurements per day. It looks like this:
date sober no vm nm va na vs
20091229 NA 6.8 NA 2.7 11.7 2.7 6.2
I'd like to make a graph on which the glucose day curves are plotted
2009 Dec 08
1
Formatting the length one vector to match another?
I have xrange which is a range of values from 1 to a max of 162.
I have a yrange of values which really could be any values, but there's a
min and a max. I'd like to create N number of steps between the min and the
max so the length matches the xrange, so that I can plot them together.
Any tips? Thank you!
--
Wells Oliver
wells@submute.net
[[alternative HTML version deleted]]
1999 Nov 08
2
range
I'm just beginning with R, and i've got a little problem, I would like
to have my own xrange and yrange on the graph when I plot a matrix, and
not the one R creates automatically.
Thank you for your help
Emilie Levivier (from Jussieu Paris)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2010 Sep 21
5
Combined plot: Scatter + density plot
Hi,
in order to save space for a publication, it would be nice to have a
combined scatter and density plot similar to what is shows on
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=78
I wonder if anybody perhaps has already developed code for this and is
willing to share. This is the reproducible code for the histogram
version obtained from the site:
def.par <-
2013 Jul 16
1
Masking oceans using polypath
Hi R-help
I am trying to mask the ocean from an image plot I have made.
Here is some example code:
library(mapdata)
image(x=110:155, y =-40:-10, z = outer(1:45, 1:30, "+"),
xlab = "lon", ylab = "lat")
outline <- map("worldHires", plot=FALSE) # returns a list of x/y coords
xrange <- range(outline$x, na.rm=TRUE) # get bounding box
yrange
2011 Nov 13
1
Myriam Saavedra M. Sc. Questions about maximun radius distance
Dear Mr. Baddeley
I just graduated from a Masters in Applied Mathematics on Jun19th. My thesis was about spatial distribution /a nalysis of some trees in a part of the Congo Basic Forest.
In my thesis I used your spatial package in R, and today I'm doing a more deeper study about how we choise the r distance in Function F(). I would like to
be able to understand about value of rmaxdefault
2009 Mar 30
1
Warning messages in Splancs package :: no non-missing arguments to min; returning Inf
Hi,
I would need some help with the splans package in R.
I am using a Shapefile (downloadable at)
http://rapidshare.com/files/215206891/Redlands_Crime.zip
and the following execution code
setwd("C:\\Documents and
Settings\\Dejan\\Desktop\\GIS\\assignment6\\DataSet_Redlands_Crime\\Redlands_Crime")
library(foreign)
library(splancs)
auto_xy<-read.dbf("Auto_theft_98.dbf")
2011 Jan 14
1
holding objects in dataframes
Hello list,
I need to keep track of objects that are related to particular
observations. In this case, I need to keep track of polygons that are
associated with observations. What I would ideally have is one column
of a dataframe hold a "polygonal" object (from the spatstat package).
My question: I seem to have managed to do it, but as I haven't read that
dataframes are supposed