Displaying 20 results from an estimated 300 matches similar to: "Idetntifying nearest topographic contours to data points"
2009 Nov 23
1
Natural colours for topographic data
Dear list members
I'm currently working on some topographic (elevation) data, and was
somewhat surprised that the 'topo.colors' and 'terrain.colors' are of
little to no use here.
The problem is that these functions only return a palette of colours;
they don't map depth values to colours. So if I plot (using 'image',
'persp' or similar functions) and
2010 Jul 25
2
3d topographic map
Hi All-
I would like to create a 3d topographic map using lat/lon and
z(height). I have been scouring the R help pages and have not located
the package I am looking for. Does anyone have a suggestion of package
that will work for this?
thanks-
sherri
2006 Jan 07
2
need palette of topographic colors similar to topo.colors()
Dear useRs,
I got stuck trying to generate a palette of topographic colors that
would satisfy these two requirements:
- the pallete must be 'anchored' at 0 (just like on a map), with
light blue/lawn green corresponding to data values close to 0 (dark
blue to light blue for negative values, green-yellow-brown for
positive values)
- the brown must get darker for higher positive
2010 Jul 27
0
3d topographic map [SEC=UNCLASSIFIED]
Hi Sherri,
There are examples of topographic maps which you have been pointed to, however, I suspect that you want to know where you can obtain topographic data from rather than a canned example.
There are quite a few intricacies to the process so I will go through them for you.
(1)
Topography files can be found in the geomapdata library. You will probably want to use the maps package too (if
2006 Jan 09
0
need palette of topographic colors similar to topo.colors ()
I will second Roger's suggestion, colorRampPalette is a great function for
creating your own palettes. For example, Matlab's jet palette (also
available in fields package under peculiar name 'tim.colors') can be defined
by:
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F", "yellow",
2010 Mar 31
2
Generative Topographic Map
I tried to use R version of package
I noticed the original MatLab Pckage is much better documented.
I had a look at the R demo code "gtm_demo" and found that variable Y is used in advanced of being created:
I wrote my own few lines as follows:
inDir <- "C:/Documents and Settings/Monville/Alanine Dipeptide/DBP1/DHA"
setwd(inDir)
T <-
2007 Nov 26
2
2d Joint Density Plot
Hi all,
I'm fairly new to R, so I'm still trying to feel out what is available to
me. I would like to be able to plot joint density in a two dimensional plot
where density is indicated by color or darkness gradients, like a 2d color
coded topographic map. Ideally, the output would be something I could then
plot other points or lines on.
Currently, I'm calculating joint density with
2003 Jun 16
2
Isocontour-lines of spatial data on a rectangular grid (not plots!)
Dear R-Listers,
I have spatial data on an equidistant rectangular grid, similar to
topographic data. I know that there are quite a few R-packages or base
functions that provide nice iso-contours plot, but I don't want a plot, just
the smoothed isocontour line of ONE level (e.g. 10 mm).
Data sets are large, so it would be preferable if the availability of
regular grid data could be exploited,
2004 Jun 07
1
filled.contour - color palette so z=0 ONLY is blue
I am trying to create a topographic map of an island - the filled.contour
function works fine except i am experiencing difficulty trying to
represent the sea properly. Basically I want the default colour blue for
any instance where z=0, if I simply use the default topo.color I get
shades of blue for z values up to 220 metres. Is there a way in which I
can specify terrain.color for all values of
2004 Aug 11
2
Advice on picking a regression method
Dear R-users,
There are tons of methods out there for fitting independant variables to a
dependent variable. All stats books tell you about the assumptions behind
OLS (ordinary least squares) and warn against abusive use of the method
(which many of us do disregard by lack of a better knowledge). Most
introductory text books stop there and don't tell you what the next best
option might be. I
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 May 21
1
Colour Schemes
I've been thinking hard about generating colour schemes for data.
There's quite a bit of existing code scattered in various packages for
playing with colours and colour palettes, but I can't find the sort of
thing I'm after for applying colours to data...
To my mind a colour scheme is a mapping from data values to colours.
There's a multitude of such mappings depending on the
2014 Dec 15
6
rsync output under CentOS 6
Hello Elias,
Monday, December 15, 2014, 4:13:20 PM, you wrote:
EP> Sounds like it might be differences in precision of the timestamp.
Could be, thoght the NAS box has the sending system as it's NTP server so
their times should be in sync.
EP> Check out the `--modify-window` option.
Doesn't seem to stop all the folders being listed even though nothing is
transferred.
2010 Aug 02
1
read the middle of a file
Hello,
The other day Justin Peter presented a mini program to plot a topographic map with an overlay of the worldHires. I seemed interesting so I checked the ETOPO5 site and find that there is a new file ETOPO1 with a 1 minute grid. I downloaded it and tried a similar procedure. Now the ETOPO1.gz is 1 Gb and the uncompressed file is 5 Gb. They do not fit into my laptop. I tried the following
1997 Apr 17
2
R-alpha: R-0.50.b6: bug in graphics demo
The line
contour(volcano, x, y, l, col = "yellow", lty = "solid", add = TRUE)
needs to be changed to
contour(x, y, volcano, col = "yellow", lty = "solid", add = TRUE)
A patch is appended below.
-k
*** demos/graphics/graphics.orig Thu Apr 17 11:02:39 1997
--- demos/graphics/graphics Thu Apr 17 11:03:08 1997
*************** plot(numeric(0), numeric(0),
2002 Nov 21
1
Distance between points and a polygon?
Dear R users,
I know that this could easily be solved within a GIS-package, but
sometimes it's more convenient to use R. So here's my question anyway...
Does anyone of you know about any R-functions/code that calculates the
distance between a number points and a polygon or polyline? I have
looked thru the different libraries that deals with spatial statistics
but haven't found
2005 Feb 02
4
(no subject)
can you recommend a good manual for R that starts with a data set and gives
demonstrations on what can be done using R? I downloadedR Langauage
definition and An introduction to R but haven't found them overly useful.
I'd really like to be able to follow some tutorials using a dataset or many
datasets. The datasets I have available on R are
Data sets in package 'datasets':
2014 Dec 15
2
rsync output under CentOS 6
Hello Les,
Sunday, December 14, 2014, 7:18:09 PM, you wrote:
LM> Folders should only be listed if timestamps or permissions are different.
Further experimentation shows this to be the case IF the destination is
another local drive.
Unfortunately the required destination is a CIFS share, which might change
things.
--
Best regards,
Niamh mailto:niamh at
2003 Aug 15
2
Is there a package for digitizing or reading jpegs, ets. in R?
I'm interested in digitizing some scanned time series, and looking for a
solution that is easy and flexible. I thought I might be able to use R's
locator() if I could get the image into a device. I noticed that there
are some packages like (rimage), but it (a) doesn't seem to be available
for the Windows version and forces me to upgrade a bunch of libraries
for my linux system. It
2002 Mar 12
0
MatClass
Hello,
I have written a small set of R functions for doing Generative Topographic
Mapping and variants, and would like to write part of the code in C++ using
the MatClass Matrix Library ( http://les.man.ac.uk/ses/staff/crb/matclass/ ).
Now, my problem is even before writing the code itself, to compile the
MatClass library. Everything is OK under Windows but when trying to port the
program to