Displaying 20 results from an estimated 70000 matches similar to: "Two images functions"
2010 Oct 25
2
plot does not work
Hello everyone
The following two commands
plot.default(seq(1,5),seq(2,6))
plot(seq(1,5),seq(2,6))
plot nothing. One day ago this would create a simple plot diagram but
unfortunately right now no plot appears.
?plot returns
Help on topic 'plot' was found in the following packages:
Plot a Raster* object
(in package raster in library
2010 Jul 28
2
Beginner stucked with raster + geoR package.
Hello everyone.
I am trying to build up understanding in R by trying to develop just some simple
scenarios.
I would like to explain you what I am trying to do and what I did so far.
I would like to put inside a RasterLayer (raster package) a Gaussian field (for
given covariance) using grf function (geoR package)
1. First I created a Raster Layer object
r <- raster() # Default values are
2013 Oct 24
1
Plot.raster hides the axis layer
Hi all,
I am trying to plot a raster object (I can explain why but the point is that it would be a raster objeçt)..
I have selected a small code to show you exactly the problem
require(raster)
test<-matrix(data=runif(10000),nrow=100)
m<-raster(test)
plot(m,axes="FALSE")
axis(1,at=c(0,1),labels=c("a","b")) # THIS DOES NOT CHANGE THE INVISIBLE AXIS WHILE
2011 Nov 24
1
readGDAL or raster for reading bit map files
Dear all,
I have asked yesterday of how I can read a simple bitmap file in R cran.
I was suggest to use either readGDAL or raster for loading my bitmap
a. I have done it with readGDAL like
store<-readGDAL(fname='lena256.bmp')
and it works,... but it converts my matrix-like notion of a bitmap to a large vector
b. Raster also returns a class that I can not understand.
So 1,
2013 Mar 02
1
Raster images and saving with original pixel dimensions in tiff, jpeg, or png perferablly.
Hello R-Help,
I want to be able to read in a raster image, plot it with grid.raster
or rasterImage and save the image with one pixel per a pixel element
from my array. Saved preferably in a common image format.
The real goal of my question is to eventually read in images with text
on them, manipulate them with my controlled functions, save them
without changing the image dimensions, and perform
2010 Jan 16
1
"Too many raster images" in devPS.c
Hi,
I am finding the recently added [1] functionality of embedding raster
images into plots on R devices very useful! Thanks to Paul Murrell and
others for providing that. I noted that in
https://svn.r-project.org/R/trunk/src/library/grDevices/src/devPS.c
a macro is defined: #define MAX_RASTERS 64, and consequently, I get
Error in grid.Call.graphics("L_raster", x$raster, x$x, x$y,
2011 Apr 27
1
Eval to write many files
Dear all
I am looking for a shorter way and more elegant to write the following
for (i in c(1:length(Shadowlist))){
filename<-paste('/home/apa/maps/',model,i,'.mat',sep="")
varname<-paste(model,'_shadow',i,sep="")
eval(parse(text=paste('writeMat(filename,',varname,'=Shadowlist[[i]])',sep="")))
}
actually I do not
2010 Oct 18
1
Incorrect positioning of raster images on Windows
I am working on dumping raster data from R into PNG files using
rasterImage(). I am working with a test matrix from the rasterImage()
example and using it to produce a PNG image with the following code:
# From the example for rasterImage(). A 3 pixel by 5 pixel b/w checkerboard.
testImage <- as.raster(0:1, nrow=3, ncol=5)
testImage
[,1] [,2] [,3] [,4] [,5]
[1,]
2010 Oct 18
1
Incorrect positioning of raster images on Windows
I am working on dumping raster data from R into PNG files using
rasterImage(). I am working with a test matrix from the rasterImage()
example and using it to produce a PNG image with the following code:
# From the example for rasterImage(). A 3 pixel by 5 pixel b/w checkerboard.
testImage <- as.raster(0:1, nrow=3, ncol=5)
testImage
[,1] [,2] [,3] [,4] [,5]
[1,]
2010 Nov 03
3
Lattice plots for images
Hello UseRs,
I need help on how to plot several raster images (such as those obtained
from a kernel-smoothed intensity function) in a layout
such as that obtained from the lattice package. I would like to obtain
something such as obtained from using the "levelplot" or "xyplot"
in lattice. I currently use:
>par(mfrow=c(3,3)
to set the workspace, but the resulting plots
2013 Feb 20
1
ggplot2 customizing a plot
Dear all,
I want some help improve my ggplot as following:
Make the plottable area with grid, so is easy one to see where each box refers to x and y values.
Add a color bar but with fixed values, that I want to specify.
How I can do those two?
Before is some code what I have tried so far.
Regards
Alex
2008 Jul 25
3
[LLVMdev] Analysis Passes
Devang Patel wrote:
> On Jul 25, 2008, at 12:58 PM, Marc de Kruijf wrote:
>
> I'd like to write a pass that does both: implements a code transformation and saves information that can be accessed by subsequent passes.
>
> Ideally, we want to use two separate pass. However, it is quiet possible that your requirement is unique. Would it be possible to provide more info. on what
2013 Apr 24
2
How to make a raster image in R from my own data set
Hi R-user,
I was trying to make a raster map with WGS84 projection in R, but I could not make it. I found one data set in Google that data is almost the same format as of mine. I wanted to make a raster map of temperature with 1 degree spatial resolution for the global scale.
I could make it in GIS software but I do have many variables (to be many raster images) and ultimately I am importing them
2009 Dec 01
6
raster support in graphics devices
Hi
This is for developers of extension packages that provide extra
*graphics devices* for R.
In the *development* version of R, support has been added to the
graphics engine for sending raster images (bitmaps) to a graphics
device. This consists mainly of two new device functions: dev_Raster()
and dev_Cap().
The R_GE_version constant (in GraphicsEngine.h) has been bumped up to 6
as a
2011 May 06
1
Installing rgdal in R: correct -configure flags for GDAL install on Linux Redhat
Hi, I'm installing rgdal but I keep having failures because I have not been
able to find a good source of information for the correct configuration
settings when installing GDAL.
My error from the R install.packages("rgdal") is below.
Can someone point me to a good source to tell me how to set after
./configure when installing GDAL?
I'd like to be able to work with raster
2009 Aug 09
2
two-passes in thusnelda
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all:
I'm testing thusnelda and I'm trying to use the two-pass feature, but
when I try it with
/usr/bin/ffmpeg2thusnelda /home/raster/Escritorio/devede/holidays\ at\
galicia.mpg -o /home/raster/output.ogv -v 10 -a 10 --optimize
- --first-pass /home/raster/output.ogv.firstpass_data
I receive the error
Could not set up the first
2009 Aug 09
2
two-passes in thusnelda
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all:
I'm testing thusnelda and I'm trying to use the two-pass feature, but
when I try it with
/usr/bin/ffmpeg2thusnelda /home/raster/Escritorio/devede/holidays\ at\
galicia.mpg -o /home/raster/output.ogv -v 10 -a 10 --optimize
- --first-pass /home/raster/output.ogv.firstpass_data
I receive the error
Could not set up the first
2015 Oct 08
2
Pool allocator + safecode
Thanks for the fast response John.
On Thu, Oct 1, 2015, at 04:51 PM, John Criswell wrote:
> Dear Ed,
>
> First, someone has updated the DSA code in the poolalloc project to LLVM
> 3.7, and a Master's student worked for me over the summer to update a
> large chunk of SAFECode to LLVM 3.7. However, the update to LLVM 3.7
> isn't finished (we need to finish integrating
2008 Sep 01
4
Generating Images/PDF Server-Side
Hi,
I am working on a project where I need to generate a chart (a bit like a
pie chart, but very customised) and insert this into a PDF document.
Does anybody have any advice on ruby libraries (or other techniques) for
doing this? Open to suggestions?
The resulting PDF will be designed for printing and so ideally should be
vector throughout (or any raster images 300dpi). I was thinking of some
2013 Jan 29
2
Netcdf and Raster Package Questions, Need .asc File for GIS
Hello R-Group,
I am new working with netcdf files and the raster package in R.I am
trying to read in a netcdf file using the package "ncdf".I am able to
get the lat, lon and parameter I need and can plot using
fill.contour.Ultimately, I am trying to create a .asc file to reafd into
GIS.I am using the package "raster" to read the parameter.When I read in
with