search for: rgraphics

Displaying 20 results from an estimated 58 matches for "rgraphics".

Did you mean: graphics
2005 Feb 04
1
graphics examples
Hi I have put up some web pages containing a number of plots (and diagrams) produced using R (they correspond to the figures for a book that I am working on about R graphics), with the relevant R code provided for each plot (or diagram), at http://www.stat.auckland.ac.nz/~paul/RGraphics/rgraphics.html Hope these are of some help/use; comments/suggestions welcome. Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/
2007 Oct 09
1
Visualize cox proportional hazards
...Journal of Medicine: http://content.nejm.org/cgi/content/short/353/26/2747/F3 http://content.nejm.org/cgi/content/short/350/26/2654/F2 (I hope these are open access, but I am not sure) And something similar in the book 'R Graphics' by Paul Murrell: http://www.stat.auckland.ac.nz/~paul/RGraphics/chapter1.html (Fig. 1.8) But the code that is needed (to modify) is quite complex: http://www.stat.auckland.ac.nz/~paul/RGraphics/examples-table.R My question: Is there a simple way to obtain such a plot? and Is there any other good plot to visualize the hazard ratios? Thanks in advance. -- Ar...
2008 Sep 15
4
How to draw a plot like this?
Hi there, I hope to draw a plot like this: http://www.sg-chem.net/swizard/Ru-bqdi-spectra.gif is it possible to draw it using R? thanks for any suggestions. regards, Jinsong
2008 Jan 24
2
save a plot from R graphics window (in Windows)
Dear R users since R 2.6.0 when I try to save a graph from the Rgraphic device I find that the system becomes so slow that I'm forced to kill the process. This usually does not happen at the beginning of the session. The problem seems to arise when the system opens the dialog window to choose the directory and file name. (R version 2.6.1 under Windows XP) Thank you all Giovanni --
2005 Sep 28
7
Plot Data Points in boxplots
Hello, I would like to plot my data in a fashion similar to a boxplot, but plot the true data points without a box, just overlay lines of the summary generated by the boxplot. I have less than 10 observations within each group, so I think showing the actual data would be more effective than the box of the boxplot. I have been unable to find a way to do this. Here is example data: >
2005 Sep 07
7
Plot of multiple data sets
Hello ! There is something quite simple I want to do with R but I found nowhere in the help how to do it. I just want to plot data which are in a matrix, every column being a data set and having the same x-axis (just an index). So for example if I have a 50 x 6 matrix I want 6 set of points on the same plot. I tried plot,new() plot(MATRIX[,1]) plot(MATRIX[,2]) ... but it replaces the previous
2001 Feb 11
3
Scatter plot calling R function from C
Dear R users, I want to create a C program drawing a scatter plot with R functions. Is it possible to do such a thing with interfaces declared in 'Rgraphics.h'? If so, I would like to get sample C sources. >From a user in Japan. Thanks, -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or &quot...
2009 Dec 02
4
Again on overlaying plots (a plot region within a plot region)
...g for. As far as I understand, layout() is intended to flexibly divide the plot region, not to subdivide the plot region nor the figure region. One solution could be to export PLOT 1 , say as png, and then overlay on it PLOT 2 with pixmap() as in this example http://www.stat.auckland.ac.nz/~paul/RGraphics/custombase-pixmap.R but it seems to me a bit too much complicate Thanks in advance for your time -- Ottorino-Luca Pantani, Universit? di Firenze Dip. Scienza del Suolo e Nutrizione della Pianta P.zle Cascine 28 50144 Firenze Italia Ubuntu 8.04.3 LTS -- GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu,...
2005 Feb 13
1
Transparent Pie Charts
Hi again! I put this question in another topics post before but I fear it might drown there. Is it possible to have transparent / alpha blended colors for pie charts? I am using the pies in a map of pies and those pies are sometimes overlapping so it would be great to see if another pie lies beneath. Thanks, Werner
2005 May 20
2
Plot Problem
Hi folks, I try to plot a variable which contains string-variables. it works, but the problem is that there are a lot of values at the x axis (up to 24) SO i have to scale or rotate the label at the x axis. I tried this with the text() function. It doesn't work correctly. Is there a simple way to rotate the labels? Best regards, Sebastian
2009 Sep 24
1
graphics mailing list?
...ortable asking questions about the design of new a new grid class in R-help where I'm guessing most people won't be interested. Of course having yet another mailing list would only make sense if it's to be followed by those people who work with Grid (lattice, vcd, ggplot2, latticeExtra, Rgraphics, etc.). Having read a bit of code from these packages recently, I get the feeling that several people may have been facing similar problems or reinventing the same things. Just a thought, Best regards, baptiste *: http://www.r-project.org/mail.html
2005 Dec 16
2
dendrogram branches with different lty
Dear r-list, I am trying to visually seperate the two main clusters of a dendrogram. The idea is to use: 'edgePar=list(lty=3)' for 'dend1[[1]]' and 'edgePar=list(lty=1)' for 'dend1[[2]]' I have not found a way to solve this. Any suggestions? Patrick hc <- hclust(dist(USArrests), "ave") (dend1 <- as.dendrogram(hc)) par(mfrow=c(2,2)) plot(dend1)
2012 Sep 25
1
Bug or misunderstanding of par(pin)?
...ug? And equally important, does anybody know how I could get this type of plot in an easy way? Thank you very much, Vera PS: in case it is not clear what I mean with "plotting region", please check page 6 of the following document http://www.stat.auckland.ac.nz/~paul/Talks/Rgraphics.pdf [[alternative HTML version deleted]]
2007 Apr 11
8
graphs superimposed on pictures?
Hi: I am doing some work that involves plotting points of interest superimposed on photographs and maps. I can produce the plots fine in R, but so far I have had to do the superimposition externally, which makes it tedious to do exploratory work. I have looked to see if there is some capability to put a background picture on a plot window, but I have not found anything. Advice, anyone? Cheers
2008 Oct 27
3
Arrays of Trellis plots
hello, the example below does not work. (i know it's not supposed, but it makes it clear what i'm trying to achieve) par(mfrow=c(2,1)) xyplot(y~x2|x1,data=dataframe1,pch=20) xyplot(y~x2|x1,data=dataframe2,pch=20) i know i could probably merge the two datasets and do something like xyplot(y~x2|x1+dataset,data=merged) any other suggestion? thanks. [[alternative HTML version deleted]]
2005 Aug 13
1
Compilation failures: mgcv, spatstat, Matrix, cluster
Please cc me when replying to the list. With Version 2.1.1 (2005-06-20) on Power Mac G5 running Mac OS X 10.4.2 (8C46): Some compilations work (e.g., MatchIt, RGraphics, Zelig), and some don't, e.g., mgcv, spatstat, and the following (Matrix, cluster): trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/src/contrib/ Matrix_0.98-3.tar.gz' Content type 'application/x-tar' length 626712 bytes opened URL ===================================...
2013 Apr 26
1
How to export graph value in R
...ted a hypsometric curve (area-elevation curve) for my watershed by using simple command hypsometric(X,main="Hypsometric Curve", xlab="Relative Area above Elevation, (a/A)", ylab="Relative Elevation, (h/H)", col="blue")It plots the hypsometric curve in "RGraphics window", My question is how can I export values which is used to create this plot? I mean I want to know the value in y axis for certain x value. Thanks in advance ! ..................Anup KhanalNorwegian Institute of science and Technology (NTNU)Trondheim, NorwayMob:(+47) 45174313...
2008 Aug 12
1
separate maps in one figure
...lower left corner. In some ways the figure I'm trying to create is analogous to figure 1.5 in Paul Murrell's excellent "R Graphics", which combines a map of New Zealand with a map of the world. I tried adapting the code for that figure, http://www.stat.auckland.ac.nz/~paul/RGraphics/examples-map.R However, the following problem has me stumped: New Zealand lies along a N.E. - S.W. axis, leaving room in the bottom right (or top left) corner of a figure for a small map of the world. In contrast the 48 contiguous states nearly fill a rectangular figure, leaving no room for...
1999 Jun 14
2
Include file changes
...ctures RUtilities.h Functions which operate at the C level without special knowlege of R structures (But maybe not Math). RMath.h We probably need a separate set of declarations but maybe not. RGraphics.h This is big and is logically separate from other C code. Some things which are not in here should be -- e.g. hsv2rgb. (I think the rest of the code could also stand a bit of clean up too). Ross -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2009 Apr 16
3
segment between points on different plots
Hi, I need to draw a line segment between two points on different plots in the same multigraph.I've tried looking at the zoominplot function in plotrix but havent understood much.any help is appreciated ~Aks [[alternative HTML version deleted]]