Displaying 20 results from an estimated 5000 matches similar to: "filled.contour formatting questions"
2011 Feb 11
2
Using filled.contour and contour functions together
Dear R help contributors,
I'd like to plot ground temperature with time on X-axis and depth on Y-axis
on this datasets ( http://r.789695.n4.nabble.com/file/n3301033/NEdaily.csv
NEdaily.csv ), and to do so I use the following commands:
library(RSEIS)
xNE <- seq(1, as.numeric(as.Date(max(NEdaily[[1]])) -
as.Date(min(NEdaily[[1]]))), 1)
yNE <- rev(c(-0.3, -0.5, -0.7, -0.9, -1.1,
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)
2011 Dec 22
1
overlaid filled contour plots
I'm trying to make a set of contour plots of bivariate kernel density
estimates, showing three such plots overlaid,
similar to this plot
http://euclid.psych.yorku.ca/SCS/Private/Test/ridge-boot2.pdf
except that I would like to have the contours *filled* (using
transparent colors). To make this reproducible, I've
saved the results of KernSmooth::bkde2D() in the following file:
2013 Mar 08
3
2D filled.contour plot with 1D histograms by axes
Hi everyone,
I hope this question is beyond "read the manual". My task is simple, just
to plot the following, but the plot in the middle should be a
filled.contour plot:
http://gallery.r-enthusiasts.com/graph/Scatterplot_with_marginal_histograms_78
Background: I prefer filled.contour rather than hist2d. Because, I could
use kernel smooth, so the plot for discrete data won't be too
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
#~~~~~~~~~~~~~~~~~~~
2005 Jan 14
2
contour and filled contour plots
Hello,
I'd like to remove color bar from "filled.contour"
plot.
Is it possible and how?
I also want to overlay "contour" plot on
filled.contour
but due to scaling of the "filled.contour" to
account for the color bar, aspect ratio for "contour"
is different from "filled.contour". Can this problem
be solved?
Thanks,
Mark
2006 Feb 13
2
Plotting contour & filled.contour in one graph
Dear All,
I have a question on overlaying a filled.contour (e.g. on soil properties data) and contour (by elevation) in one graph. Both have the same z matrix dimension. I'm able to overlay both graph, but the plots dimension did not overlap well on the same plots. How can I have both filled.contour and contour on the same graph? The commands that I have written are as follows:
2008 Oct 29
1
Suppressing internal grid in filled.contour
Rers:
I can't seem to locate the command to suppress what appears to be a
faint internal grid when running the following command to make a filled
contour plot of some data I have (x,y,z being the inputs):
2010 Nov 05
1
filled.contour colorbar without black color separators?
Dear list members,
I have been using filled.contour in order to plot EEG data. For the colors, I used a conventional ramp from blue to red (blue - green - yellow - red), and 100 color levels to make the plot looking smooth:
(...) color.palette = colorRampPalette(c('blue','green', 'yellow','red'), space='rgb'), nlevels = 100 (...)
My problem ist that
2008 Mar 13
2
Plot contour over filled contour
Dear R-users,
I haven't found a way in the searchable archive to overplot a contour
(lines) over a surface.
I have a (n,m) matrix that represents sea surface temperature that I
have plotted using image.plot(), filled.contour() or image(). I would
like to overplot this image with some contour lines of mixed layer depth
values(same size matrix). How can I do this?
Any help is appreciated,
2009 Nov 19
2
plot filled.contour over continent map
Dear all,
As a newbie in R I would like to do the following (simple?) thing:
to plot a filled.contour plot over a map showing country boundaries (e.g. for Europe)
What i do is:
map('worldHires',xlim=c(-10,40),ylim=c(35,70),boundary = TRUE,border=0.1)
map.axes()
filled.contour(mslp, zlim=c(1000,1020),color.palette = colorRampPalette(c("blue", "white",
2008 Aug 08
1
Axes in filled.contour plots
I am attempting to create a contour plot using R with this code:
> contour <- as.matrix(read.csv("contour.csv", row.names=1, header=TRUE))
> library(gplots)
> filled.contour(contour, main="Flume 1 Flow Velocities")
Now this produces the image/plot that I am looking for perfectly. However,
the both axes only go from 0 to 1 instead on of using the row and column
2011 Mar 02
1
pb with Date format using filled.contour
Hi R-help community,
Can anyone tell me why, while using :
x <- seq(as.Date("2001-01-01"),as.Date("2001-01-01") +
nrow(volcano)-1,1)
y <- seq(1, ncol(volcano),1)
when I plot the volcano matrix with that command :
filled.contour(x,y,volcano)
the graph has a Date format on X-axis, ok ...
... but when adding a contour plot to the filled contour, using this
2010 Nov 23
6
Filled contour plot showing labeled isolines?
Is it possible to create a contour plot with the isolines labeled. I know
you can do this with Matlab. Argh!
I tried creating a filled contour plot, then using par(new=T), followed by
overlaying the contour plot on top. However, the placement of the filled
contour plot and the contour plot do not align correctly. Any suggestions
would be appreciated.
Thanks,
Jon
--
View this message 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
2011 Aug 31
1
unequal bins in filled.contour
Hello,
I am trying to plot SADIE red-blue plots of cluster indicies using
filled.contour. I want a plot which only has three bins for the data:
<-1.5, -1.5 - 1.5, >1.5, but I am having trouble getting there.
example
X1 X2 X3 X4 X5
1 -5 -4.5 1.0 4.5 6
2 -3 -2.0 1.2 -1.0 3
3 0 0.0 0.0 -0.5 -1
4 -2 -3.0 1.0 1.5 3
5 -6 -2.0 0.5 3.0 2
example<-as.matrix(example)
2007 Jan 19
1
x-axis in filled.contour
The filled.contour function gives me some strange output. What did I do wrong?
x=seq(0,1,length=10)
y=seq(0,1,length=10)
z=array(rnorm(100),dim=c(10,10))
filled.contour(x,y,z)
lines(0.4,0.8,type="p")
abline(v=0.4,lty="dashed")
the x-cooridnate of the line and the point is 0.4, but it's slightly
above. This problem just appears with "filled.contour", so I guess
2002 Nov 26
1
filled.contour and points
I was trying to add points to filled.contour plots, but the
points(...) function apparently uses a different coordinate system
than the filled.contour(...) function; it appears that points(...)
paints points where they would be if the contours were stretched over
the whole plotting frame including the legend bar. Am I missing
something or is it a "misalignment" in the code?
BTW, I have
2006 Dec 17
1
Draw a circle on a filled.contour() plot
Hi all,
I'm trying to use symbols() to draw a circle of a given radius at a
given position onto a filled.contour() plot. The commands I issue are:
> filled.contour(y,x,z,levels=seq
> (0.02,1.0,len=50),color.palette=colorRampPalette(c
> ("blue","yellow","red")),title=title(main="",xlab="",ylab=""))
>
2011 Apr 01
1
filled contour plot with contour lines
I'm stumped, can anyone find my error in this sequence.
for(j in 1:(varsize[4]-1))
temp <- get.var.ncdf(nc=input,
varid="p_foraging",c(1,1,j),c(varsize[1],varsize[2],1))
filled.contour(x, y, temp, color = terrain.colors,
plot.title = title(main = paste("Everglades Wood Stork
Foraging Potential \nYear", (2000+j)),
xlab =