Displaying 20 results from an estimated 2000 matches similar to: "Odd gridding pattern when plotting"
2010 Mar 24
1
R warning and error messages taking a long time and generating pop-up windows
Hi all, thanks for your help in advance.
I was running some scripts and suddenly R began taking a very long time to process mundane errors, which I often generate since I am new to R...such as forgetting to add in my quote
getOption(warn)
Error in options(x) : object 'warn' not found
Not only does the warning message print in the R console when it finally writes the error, but it also
2009 Apr 30
2
gridding values in a data frame
Hi all,
I have a data frame that looks like such:
LATITUDE LONGITUDE TEMPERATURE TIME
36.73 -176.43 58.32 1
50.95 90.00 74.39 1
-30.42 5.45 23.26 1
15.81 -109.31 52.44 1
-80.75 -144.95 66.19 2
90.00 100.55 37.50 2
2006 Oct 13
2
IP addressing migration
Hi,
I am changing the IP addressing in my centOS server which works as mail
server. The question I have is, if I define the new IP addresses
(sub-interfaces) on the server, can I work with both ranges at the same time
despite I have only one default gateway configured? (on the old range)
Or may I have two default gateways in centOS?
--Ivan.
2020 Oct 02
1
What is the threshold for `useRaster` of graphics::image()?
Hi R-help list
What is the threshold for the `useRaster` argument of graphics::image()
to decide whether a grid is "regular" or not (i.e. the usage of
useRaster=T is allowed or not). My
`dev.capabilities("rasterImage")$rasterImage` is "yes".
I could not find this information in the internet. I also could not find
the source code of the graphics::image() function (I
2011 Feb 09
2
using rasterImage within image
Has anyone yet tried incorporating rasterImage into the base image()
function? It seems to make a *huge* difference, with
a very small number of added/changed lines of code. (Of course I have
barely tested it at all.)
Is there any reason this *shouldn't* go into the next release?
> source("image.R")
> z <- matrix(runif(1e6),nrow=1000)
> image(z)
>
2004 Feb 03
4
filled maps
Hi R-Help,
I would like to make filled contour maps of ocean data overlaid by
costlines from the map package.
I can draw the filled contours and the coastlines om the same plot, but
the filled contour also covers part of the land. To get rid of that I
tried to draw a filled coastline map on top of the filled contour, but
the filled map only draws the closed contours - so most of the land is
2002 Dec 14
1
adding contour lines to a filled.contour
Hi all,
Does anybody know how to add contour lines to a filled contour plot?
I want to draw a single contour around values that are above a certain
level (e.g., significant). The problem I'm having is that since the
filled.contour command actually draws two plots (data and the key),
adding contour lines paints them over both plots.
Any suggestions?
Thanks, Andy
#~~~~~~~~~~~~~~~~~~~
2012 Jan 11
1
Inconsistencies in device_Raster when axes are reflected
I noticed some undocumented and inconsistent behavior in device_Raster when a
plot is produced with reflected axes such as:
image(volcano, xlim = c(1,0), useRaster = TRUE)
image(volcano, ylim = c(1,0), useRaster = TRUE)
The `pdf` device will perform horizontal and vertical reflections, while
`quartz` will ignore the transformations when plotting to the screen, but
when plotting to a
2011 Jul 21
3
R versions and PostScript files
Dear R users,
I have a desktop computer and a laptop, both of them with Ubuntu Lucid. The
former has R2.10 installed from Ubuntu repositories (this is the most recent
version in the repositories), while the latter has R2.13 from the CRAN
repositories.
I noticed that postscript files generated with R2.10 are "better" than
files generated with the latest release of R, in particular for
2006 Jun 22
1
How to plot a image with restrictions?
Hello All!
How to plot a image ( image function )
with restrictions, like a polygon??
Thanks in advance!
Cleber N. Borges
##### problem example
x <- y <- seq(-4*pi, 4*pi, len=27)
r <- sqrt(outer(x^2, y^2, "+"))
image( z )
contour(z, add = TRUE, drawlabels = FALSE)
m=scan()
0.2 0.2
0.8 0.2
0.5 0.8
m = matrix(m,nr=3,byrow=T)
polygon( m, lwd=5 )
2008 Apr 23
4
filled contour plots
hello everyone,
I was wondering if anybody can help me solve 2
problems related to the function filled.contour.
I am entering the following R command:
filled.contour(xx,yy,P1, nlevels=20,color=cm.colors,
plot.axes={
contour(xx,yy,P1,add=T,col="grey",
nlevels=20, drawlabels=F)
axis(1,1:length(xx),labels=xlabels)
2012 May 07
1
Plotting a raster image
Hello,
I have a data frame which looks like
> head(d)
a1 a2 n j col
1 1 1 88341002 11 #E7E7E7
2 1 2 25094882 11 #E7E7E7
3 1 3 16916246 11 #E7E7E7
4 1 4 14289229 11 #E7E7E7
5 1 5 11945929 11 #E7E7E7
6 1 6 8401235 11 #E7E7E7
The values in 'j' run from 1 to 11. I would like to plot the point (a1,a2)
with color given by j
I tried
mi <-
2009 Apr 01
1
Vector of Vectors
I have a matrix of data. I need to scan the matrix and find every
sequence from maxima to maxima across a row. I can write a loop to do
this easily. Problem is, I can't figure out how to store the results.
Each result is a vector of widely varying lengths. Ideally I'd like a
vector of these, i.e. a vector of vectors, so I can quickly iterate
through them and compute correlation
2010 Aug 06
1
[R-SIG-Mac] Question about line type in contour() function (R 2.11.1)
On 05/08/2010 8:46 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote:
> On Aug 5, 2010, at 5:20 PM, Duncan Murdoch wrote:
>
>> On 05/08/2010 7:18 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote:
>>> I'm running R 2.11.1 (MacBook Pro and OS X 10.6.4) and am trying to set a line type in the contour() function. What I did was:
>>>
>>>> >
2011 Nov 12
2
plotting a bivariate quadratic curve
Hi,
I would like to plot a x,y curve described by the equation :
Ax^2 + Bx + Cy^2 + Dy + E == 0
(A,B,C,D,E are constants)
This sounds like quite the common task but haven't been able to figure
out how to do this. Could you please help ? I am new to R so probably
missing something basic.
Thanks
2008 Feb 15
0
Resize Logical Volume
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ivan Arteaga wrote:
> I tried the commands you sent me and i can extend the size to the new
> value but can?t resize the file system:
> [root at mail ~]# lvextend -L+30G /dev/VolGroup00/LogVol00
> Extending logical volume LogVol00 to 88.59 GB
> Logical volume LogVol00 successfully resized
> [root at mail ~]# resize2fs
2013 Apr 10
1
problem with the image command
Hello R-users,
I am trying to do an image plot where I have been given latitudes,
longitudes and the values at the corresponding locations. A sample of the
data is given as follows:
values=c(0,1,0,0,0,0,2,2,0,0)
lat=c(29.6660,29.6756,29.3492,29.2654,29.2827,29.4070,35.3510,35.6590,35.7587,38.2794)
2011 Aug 03
1
one way to solve bad looking density plots in postscript
Hi,
When R generates density plots and these are exported to postscript(
a=matrix(1:100,10,10);image(a,col=rainbow(100);dev.copy2eps(file="image.eps")
)
The result often looks bad when rendered on screen. The help page states that this is because programs use anti-aliasing. That seems to be true - turning off anti-aliasing for gs (-dGraphicsAlphaBits=1) of in OSX's preview makes
2017 Jun 22
2
Ayuda R no puede hubicar un vector de 42gb
http://go.cloudera.com/ml-h20-es-webinar?src=email1&elqTrackId=af5517eab2f543afbb31a0686d9ca566&elq=c68d9a8c25ba4b12944b8065d8a06e33&elqaid=4541&elqat=1&elqCampaignId=
El 22 de junio de 2017, 22:59, Carlos Ortega <cof en qualityexcellence.es>
escribió:
> Hola,
>
> Tendrás RStudioServer en un nodo frontera de tu clúster. Y cuando lees
> algo te lo estás
2013 Jul 15
1
image versus levelplot
Dear R users,
I'm currently using the Graphics package to display several hundred of
matrix objects, using a layout and the image() function.
It works well except for large matrices (> 1000*1000) or for a large
number of matrices (there is a limitation around 400 if I remember well)
To solve these issues, I move to the Matrix package which is much more
efficient for large sparse matrix,