Displaying 20 results from an estimated 5000 matches similar to: "R-alpha: R-0.50.b6: bug in graphics demo"
2005 Sep 23
0
Good news about my problem
Greetings, Mr Bivand and all the other authors,
I'm glad to say that there are some encouraging advances in my debugging progress. Thanks to Mr Brivand, I could check the packages installed on my oparation system. I have found that I have only one of the two font files installed-'xorg-x11-75dpi-fonts' installed and left the other one. So I have it ('xorg-x11-100dpi-fonts')
1997 Jul 28
0
R-alpha: R 0.50.a1: small patches for graphics and image demo
Applying the following patches closes the following task (part 1 was
already taken care of).
TASK: New Problems
STATUS: Open
FROM: <Kurt.Hornik@ci.tuwien.ac.at>
New minor remarks:
* The documentation for `image' still has the old order z, x, y.
* Perhaps one should add `par(ask = T)' in the image demo?
* Perhaps one should save the original value
2010 Jan 04
2
Adding a distance scale to a plot?
Do you know what steps I need to take to add a scale to a plot?
I'm pulling my example out of "An Introduction to R: Software for StatisticalModelling & Computing" (see the R code around Figure 76).
I would like to add a scale to the image produced by the following code.? I would like to the scale to list the distance?and units:?
data(volcano)
x <- 10*(1:nrow(volcano))
y
2009 Sep 05
8
Color index in image function
Dear All,
I was looking for the color index in?image function,?such as from topo.colors(n) and etc. but still never found it. For instance, from the help menu.
###########################################
# Volcano data visualized as matrix. Need to transpose and flip
# matrix horizontally.
image(t(volcano)[ncol(volcano):1,])
# A prettier display of the volcano
x <- 10*(1:nrow(volcano))
y
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':
2005 Apr 13
1
How to plot Contour with NA in dataframe
Dear friends,
I am trying to produce Contour Plot with R, but there are some NA
in my data matrix. After I ran the following R script, I got the error
message:"no proper `z' matrix specified". Does anybody know how to plot
contour chart with R for the non-strict matrix?
Thank you in advance!!!
2009 Feb 28
2
filled.contour and time axis
Dear all,
I am using filled.contour and my x-axis consists of a vector of dates,
formatted using as.POSIXct.
When I assign this vector to x in filled.contour, the x-axis in the plot is
correctly formatted as dates.
However, when I use plot.axes=axis(1) in filled.contour the x-axis is not
correctly formatted. I need to opt for the latter because I want to add
additional lines and points to the
2007 Feb 09
3
two perspective plots in in plot
Dear all,
I would like to put two perspective plots into one plot. The help page
for ?persp shows how one can add points and lines but not another
perspective plot.
data(volcano)
z <- 2 * volcano # Exaggerate the relief
x <- 10 * (1:nrow(z)) # 10 meter spacing (S to N)
y <- 10 * (1:ncol(z)) # 10 meter spacing (E to W)
## Don't draw the grid lines : border = NA
persp(x,
2008 Feb 17
2
filled.contour with log axis
Dear all,
I would like to generate a filled.contour plot with log x and y axis,
however using:
filled.contour(as.line,log="xy")
results in a warning message.
Does anybody knos what to do?
Thanks
Thomas
2011 Jun 24
4
(no subject)
hi dear R crew.
may i request the script for volcano plot.
if able, pls include any tips about volcano plot.
thank you.
[[alternative HTML version deleted]]
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
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
2009 Feb 06
2
undesired grid in ps/eps outputs generated by filled.contour or image
Hi!
Whenever I save a graphic in ps/eps format generated by filled.contour or
image, an undesired grid is added to it (not visible on the X11 screen). For
example:
postscript("volcano.eps")
filled.contour(volcano,col=gray(seq(0,1,,50)),levels=seq(min(volcano),max(volcano),,50))
dev.off()
Any ideia how to eliminate this grid?
Thanks,
Rachel
[[alternative HTML version deleted]]
2008 Jul 27
1
Lattice wireframe: How to avoid drawing lines around polygons when using shade=TRUE
I am using wireframe from the lattice package, with the shade option set
to TRUE. When I output to PDF or Postscript, a line gets drawn around
each polygon of my surface which causes ugly Moir? effects and doesn't
make sense in my application (think the plot of Maunga Whau--gridlines
don't make sense). This does not happen when I display on the screen--
then I just get the surface as
2004 May 06
1
Problem with filled.contour/image
Quick question - I am having problems creating an orographic image
(similar to volcano example). I have created a map matrix with 3 columns
and over 2million rows.
I have created the matrix as follows:
map<-read.table("map.dat",header=TRUE)
long.grid<-sort(unique(map$long)
lat.grid<-sort(unique(map$lat)
map.matrix<-matrix(map$height,nrow=length(lat.grid),byrow=TRUE)
The
2003 Sep 25
1
multiple plot layout and filled contour
Hello everybody,
Could anybody give me a hint how I can use "layout" and "filled.contour" (or "image"
plot with a color legend) together, please?
What I want to do is something like the following example (Two or more plots with a
legend for each at one page):
data(volcano)
layout(matrix(1:2, 1, 2, byrow = TRUE))
for (i in 1:2) {
filled.contour(i*volcano, color =
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
2009 Nov 30
1
Continuous legend colors
Dear List,
I am trying to get a basic plot to show a continuous range of fill colors. It is probably easiest to demonstrate. I would like a legend like in the following example:
Satellite.Palette <-colorRampPalette(c("blue3","cyan","aquamarine","yellow","orange","red"))
require(fields)
image.plot(volcano, col = Satellite.Palette
2011 Apr 15
1
Idetntifying nearest topographic contours to data points
Hi there,
I have two data sets, one of locations at different elevations (x,y,z) and
the other of points that make up topographic contours (also x,y,z). I have
used:
result<-apply(distppll(data2,cbind(topocon[-nrow(topocon),],topocon[-1,])),1,min)
where 'data2' are my measurement coordinates (x, y) and 'topocon' are my
topographic contours (x,y). While this gives me an output
2007 Feb 14
0
How to use Rpad
I am a beginner and I don't know how to use Rpad package.
I installed it and opened the following example .Rpad page in Internet
Explorer.
When I clicked "Calculate" button, nothing seems to happen. Can anyone tell
me how to use Rpad?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- by Tom Short, EPRI, tshort at epri.com
(c) Copyright 2005 by