Displaying 20 results from an estimated 8000 matches similar to: "No subject"
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
2012 May 01
0
Plotting shapefiles on existing maps
Very helpful. One (possible) correction inline below...
On Thu, 30 Mar 2006, Ray Brownrigg wrote:
> > From: nhy303 at abdn.ac.uk
> >
> > I have plotted a map of the Barents Sea and surrounding coastline using:
> >
> > map('worldHires',ylim=c(50,85),xlim=c(5,65),fill=T,resolution=0)
> > map.axes()
> > map.scale(x=30,metric=T)
> >
> >
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
2002 Sep 03
0
RE:
It may depend on which decomposition method you are using, princomp uses
eigen whereas prcomp use svd. What does Statistica use?
-----Original Message-----
From: Williams, Allyson
Sent: Tuesday, 3 September 2002 10:20 AM
To: r-help at stat.math.ethz.ch
Subject:
Hello,
I'm doing a pca analysis and get unrotated PCA results (using "pca").
I then used "varimax" to
2006 Mar 29
1
Plotting shapefiles on existing maps
Dear All,
This is probably a very basic question but:
I have plotted a map of the Barents Sea and surrounding coastline using:
map('worldHires',ylim=c(50,85),xlim=c(5,65),fill=T,resolution=0)
map.axes()
map.scale(x=30,metric=T)
Next, I imported a shapefile with depth contours for the sea:
contours<-read.shape("D://My Documents/BarentsSea.shp",dbf.data=T)
(This is in
2012 Aug 09
2
How to overlay a global map on a filled contour?
I would like to plot some lat-lon data in a filled contour, and then
overlay a map of the globe on top. I am trying something like this:
filled.contour(lons, lats, glb.data,
plot.axes={axis(1);axis(2);map(projection='rectangular',parameters=0,add
=T)}
)
The filled contour plots fine, and the map shows up, but only as a very
tiny little black rectangle in a small area of the
2012 Jun 16
2
Plotting tidal speed and direction in R
Hi,
I have had a look around the forums and I can't seem to find anything that
works with my data. I have lats, longs, time, tidal speed and direction and
need to plot this in an xy plot to determine changes over time. contour and
cloud have been recommended to me as a way to do this but I can't figure out
how to get 5 dimensions into this. I want lat and long as my x and y, time
as my
2006 Mar 30
0
Converting shapefiles to use in contour plots
Dear R-users,
I have imported a shapefile with depth contours for a sea:
depths<-read.shape("D://My Documents/BarentsSea.shp",dbf.data=T)
(This is in mercator projection)
**Is there a way to convert this shapefile into a format that it may be
plotted on a contour plot?**
I wish to add these contours onto a map (already coded using 'maps'
package) to map the sea contours
2006 Apr 04
1
imaging and contouring
Dear R'Helpers and Colleagues,
I have looked in the documentation, asked to some colleagues in the
lab, but was unable to solve the following difficulty.
I am running R on a iMac G5 with OS 10.4.
The file below (73 rows x 144 col) shows the values of a climatic
index on the globe with a grid of 2,5 ? x 2,5 ? (NA = no value):
?
With image() and map() and running the following
2002 Sep 03
0
No subject
Hello,
I'm doing a pca analysis and get unrotated PCA results (using "pca").
I then used "varimax" to rotate the PCs,
vload <- varimax(cproj,normalize=TRUE,eps=1e-5) #cproj is the
"loadings" from "pca"
and calculate the score coefficients with:
coef <- solve(correlation matrix of original data) %*% (vload$loadings)
Then calculate the
2008 Apr 11
1
polygons on scatterplot3d
Does anyone have any experience plotting complex polygons on a
scatterplot3d display? I would like to present some spatially binned
data in a 3-d type plot with background polygons (i.e.. a filled
coastline map). I can get the coastline onto the plot window as a
line type but cannot figure out how to fill the shape. I'm certain it
may be possible but might require a bit of digging
2003 Jul 13
2
Coloured 3d surface
Hello,
I created a 3d surface (persp) with some points overlaid on it, which is
fine. Now I have a second set of z-values(x,y-values same as the first
surface), which I would like to make visible on the same graph, however,
not as a surface, but rather as coloured contour on the first surface,
so that the resulting graph will consist of the original surface having
the colour of the second
2011 Jul 14
1
calculating distance inland from coastline
Hi All,
Does anybody know of any existing functions that will calculate distance
inland from a coastline?
It's possible to test if a lon,lat location is land or sea using
map.where(), but I need to add a buffer to this of say 2km, to allow for
points that are just on the coast, and below the resolution of the
worldHires database.
I'm working with a marine mammal satellite telemetry
2005 Oct 14
2
Beginner plot and map questions
Hi,
I have not been able to find answers to these questions in the FAQs,
manuals, or R-help archives. If answers are available somewhere, please
direct me to them.
1.) Is there a way to convert a table (e.g. represented as a data frame)
to a function, specifying which columns are input and which column is
output? It would seem that this would be useful for plotting
experimental results,
2011 Jan 29
0
Using 'contour' to compare concentration profiles on the same plot
Hello,
Using the data and code below I've been using R to compare output from two
different solute transport codes, the red contours are from verified code
while the blue contours come from some modified code I've been working on.
The goal is for the contours to match, and although there is currently a
slight discrepancy this would be expected. The plot shows a pulse of
infiltrating
2003 Jul 27
1
contourplot:how to get it to label all contours like 'contour'
Hi,
one of the nice things about contour is that it labels all contour lines.
contourplot only labels each particular elevation a single time.
i.e., if there are two contour lines corresponding to z = 45, it will only
label one of them.
is there a way to get contourplot to automatically label all the contour lines,
even those that are repeated?
i ask because i want to plot contour plots *w/
2004 Nov 04
1
Labelling contour lines
I am using contour to draw contour lines onto a photo (jpeg) of a leaf on
a white background.
I have two problems:
1) The contour gets plotted at right angles to the jpeg image. I guess
this is a problem of referencing the start and end points of the image
matrix but I can't see how to over come this other than loading in a
second image that has been rotated 90 degrees and plotting the
1999 May 10
1
dotted contour line for negative values?
I have a contour plot where the surface can take on positive and negative
values. I would like to use solid contour lines for positive values and
dotted contour lines for negative values. I saw a plot like this produced
by S-Plus before. Is there a way to do this with R? If not, can anyone
suggest a way to make interpretation of the contour plot easier? (Right
now, it is not clear if a set of
2012 Apr 03
1
A contour plot question - vis.gam () function in "mgcv"
Hi,
Please see the attached contour plot (I am sorry about the big file). This was created using the vis.gam() function in "mgcv" package. However, my question is somewhat broader.
In generating this figure, I first created the contours using vis.gam() and then I plotted the points. These point are plotted on top of the contours so that some of the contour lines are only partially
2007 Sep 27
3
Plotting from different data sources on the same plot (with ggplot2)
Hello everyone (and Hadley in particular),
I often need to plot data from multiple datasets on the same graph. A
common example is when mapping some values: I want to plot the
underlying map and then add the points. I currently do it with base
graphics, by recording the maximum region in which my map+point will
fit, plotting both with these xlim and ylim parameters, adding par
(new=T)