Displaying 20 results from an estimated 4000 matches similar to: "Contour Plot Aspect Ratio"
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
2004 May 02
1
contourplot, xyplot, aspect ratio, mfrow
Hi,
I am gradually moving from the classical R plot functions to the library Lattice
I have some questions about contourplot () and its arguments:
1/ I am working on geographical coordinates which makes necessary that the X (longitude) and Y (latitude) units be represented with
the same distance on screen. This was obtained in the classical R plots with plot.default(x,y, asp=1,...) and then
2018 Feb 25
3
Ingesta y preprocesamiento de datos
Buenas,
Quiero hacer una ingesta de datos en una base de datos de un servidor. El proceso es hacer una consulta en la base de datos, que me dice uqe columnas tengo que coger.
Una vez hecha dicha consulta, abrir un csv, coger las columnas que me indicaba esa base de datos y subir el dato concreto del csv a una base de datos.
Estoy pensando en usar Apache Flume o similar, pero es en un servidor
2011 Apr 26
2
grid stringHeight
Dear all,
I'm puzzled by the behavior of stringHeight in the grid package.
Consider the following test,
library(grid)
test <- function(lab="dog", ...){
g1 <- textGrob(lab)
g2 <- rectGrob(height=grobHeight(g1), width=grobWidth(g1))
gg <- gTree(children=gList(g1,g2), ...)
print(c("height:", convertUnit(stringHeight(lab), "mm",
2008 Jun 27
1
Problems exporting graphs
I have trying to figure this out all day so hopefully the answer isn't too
obvious. I am able to view a graph in the viewer window. However, I need to
export graph outside of the viewer window. Here is the script I am using:
> png("Compare.png")
> plot(compare$DepthSLI, compare$DischargeSLI, col="blue", xlab = "Average
Water Depth (cm)", ylab =
2005 Oct 12
1
Problem with a barplot...
Hello,
I'm having a bit of a problem with a plot, and I'm hoping that someone might
be able to help. I'm running the R Cocoa Gui v1.12 on OS X 10.4.2, and I'm
doing a stacked bar plot. The plot itself is quite simple:
barplot(as.matrix(s.strats.in),main="Strategy when strong", col=strat.col)
where s.strats.in is a matrix with a number of rows that define the height
2005 May 18
3
known_hosts vulnerability?
Hey all,
I came across a security news article, referenced by
http://www.linux.org/news, at
http://www.techworld.com/security/news/index.cfm?NewsID=3668
talking about an SSH weakness involving the known_hosts file. I
apologize if this issue has already been addressed, but the mailing list
archives didn't turn up anything when i tried searching for something
relevant. So; not to knee-jerk or
2010 Nov 17
3
aspect ratio 1 and blank space
Hi,
I need to produce an ordinary scatter plot and it is vital that the aspect ratio equals 1.
I set the axis as:
plot(x, y, type="n", asp=1, ,ylim=c(-80,70),xlim=c(0,100)).
The problem is that I get some 'additional' blank plot area (basically, the lower bound of xlim becomes quite negative).
The xlim is not the range of the x-data, but I need the 0 there for further
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:
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,
2004 Jan 31
1
about contour - get contour coordinates - exclude area display
Dear all,
I wonder about what could actually be possible with the function "contour":
1/ - the definition of contour lines is most often meaningless when the contours are drawn in areas where no real data points exist.
It can however happen that irregular distributions lead to more or less irregular clouds of data points. Interpolations (eg: loess
regression, GLM, etc...) are however
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,
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/
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
2003 Mar 19
2
Center of Closed Contour
I am searching for a utility in R which will determine the mean location of
a closed contour and eventually record the location in an ASCII file. By
means of the contour utility in R, I am able to produce an image of a contour,
but I am seeking a procedure which will produce the coordinates of the
center of mass of the contour. From my actual set of data, the contour
utility will produce several
2009 Nov 28
3
extract coordinates from contour lines
To everyone,
Is there a way to extract coordinates or an equation from a "straight" contour line?
Thanks.
Cheers
Julius Tesoro
2006 Feb 12
1
contour lines for levelplot
Hi,
I would like to add contour lines to a (trellis/lattice-) levelplot.
Sure, there is the "contour=TRUE" argument, but this uses
"cuts=..." (which is usually chosen very high for my plots. I guess
cuts=99 is the best you can do (?)) for plotting the contour lines.
Furthermore, I do not like the numbering of the contour lines this
way. Therefore, I tried to add a
2005 Feb 08
3
Contour plot
Hello,
I would like to make a contourplot of the following data;
> x <- 1:10
> y <- 1:10
> z <- 100:110
By doing >contour(x,y,z) I get the following error;
"Error in contour.default(x, y, z) : no proper `z' matrix specified"
How do I fix this??
Kind regards, Datius Blaszijk
[[alternative HTML version deleted]]