[R] Mac OSX fonts in R plots

2007-08-09 Thread Fernando Diaz
I had been looking for information about including OSX fonts in R plots for a long time and never quite found the answer. I spent an hour or so gathering together the following solution which, as far as I have tested, works. I'm posting this for feedback and and archiving. I'd be interested

[R] plots

2007-07-25 Thread amna khan
Hi Sir I did not find any function of graph which plot one variable on x-axis and 2 or more than 2 variables on y-axis. Moreover, how can I change the labels of L-moments diagram obtained by plotlmrdia(lmrdia()) Thank you -- AMINA SHAHZADI Department of Statistics GC University Lahore,

Re: [R] plots

2007-07-25 Thread Vladimir Eremeev
amna khan wrote: I did not find any function of graph which plot one variable on x-axis and 2 or more than 2 variables on y-axis. You can use xyplot() from the package lattice. library(lattice) xyplot(y1+y2+y3~x) I suspect, the problem is, that plot() erases everything that was plotted

Re: [R] plots

2007-07-25 Thread John Kane
--- amna khan [EMAIL PROTECTED] wrote: Hi Sir I did not find any function of graph which plot one variable on x-axis and 2 or more than 2 variables on y-axis. I think ?points or ?lines may be what you want. Moreover, how can I change the labels of L-moments diagram obtained by

[R] Plots from categorial data

2007-07-01 Thread Christoph Krammer
Hello everybody, Since my first message was caught by the spam filter, I just try to do it again: I want to use R to generate plots from categorial data. The data contains results from OCR scans over images with are preprocessed by different image filtering techniques. A small sample data set

Re: [R] Plots from categorial data

2007-07-01 Thread hadley wickham
Perhaps this will do what you want: library(ggplot2) qplot(filter_setting, avg.hit, data=data, colour=ocrtool, geom=line) find out more about ggplot2 at http://had.co.nz/ggplot2 Hadley On 7/1/07, Christoph Krammer [EMAIL PROTECTED] wrote: Hello everybody, Since my first message was caught

Re: [R] Plots from categorial data

2007-07-01 Thread Jim Lemon
Christoph Krammer wrote: Hello everybody, Since my first message was caught by the spam filter, I just try to do it again: I want to use R to generate plots from categorial data. The data contains results from OCR scans over images with are preprocessed by different image filtering

Re: [R] Plots from categorial data

2007-07-01 Thread Christoph Krammer
in the filtersetting column as categories? Thanks and regards, Christoph -Ursprüngliche Nachricht- Von: hadley wickham [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 1. Juli 2007 12:21 An: Christoph Krammer Cc: r-help@stat.math.ethz.ch Betreff: Re: [R] Plots from categorial data Perhaps this will do

Re: [R] Plots from categorial data

2007-07-01 Thread hadley wickham
On 7/1/07, Christoph Krammer [EMAIL PROTECTED] wrote: Hello Hadley, Thanks a lot for your help. I got the plot I want out of this module with a slightly more complicated command. But now, I have an additional problem: In the given case, the filtersetting column contains letters, so R takes

Re: [R] Plots from categorial data

2007-07-01 Thread deepayan . sarkar
On 7/1/07, Jim Lemon [EMAIL PROTECTED] wrote: Christoph Krammer wrote: Hello everybody, Since my first message was caught by the spam filter, I just try to do it again: I want to use R to generate plots from categorial data. The data contains results from OCR scans over images with

[R] Plots from categorial data

2007-06-30 Thread Christoph Krammer
Software zur Erkennung von Spam auf dem Rechner hypatia.math.ethz.ch hat die eingegangene E-mail als mögliche Spam-Nachricht identifiziert. Die ursprüngliche Nachricht wurde an diesen Bericht angehängt, so dass Sie sie anschauen können (falls es doch eine legitime E-Mail ist) oder

[R] plots - scatterplots - find index of a point in a list

2007-05-08 Thread gatemaze
Hi, is it possible to find the index of a point of a plot (e.g. scatterplot) in an easy way? Eg. x - c(1:5); y - c(1:5); plot(x, y); On the plot if I move my cursor on top of a point or click on it is it possible to have its index printed or its exact value? Any clues? Thanks.

Re: [R] plots - scatterplots - find index of a point in a list

2007-05-08 Thread John Kane
Try ?locator --- [EMAIL PROTECTED] wrote: Hi, is it possible to find the index of a point of a plot (e.g. scatterplot) in an easy way? Eg. x - c(1:5); y - c(1:5); plot(x, y); On the plot if I move my cursor on top of a point or click on it is it possible to have its index printed

Re: [R] plots - scatterplots - find index of a point in a list

2007-05-08 Thread gatemaze
On 08/05/07, John Kane [EMAIL PROTECTED] wrote: Try ?locator Thanks. Your tip also lead to another function: ?identify to add my two cents. --- [EMAIL PROTECTED] wrote: Hi, is it possible to find the index of a point of a plot (e.g. scatterplot) in an easy way? Eg. x -

[R] Opinion on R plots: connecting X and Y

2007-04-20 Thread Inman, Brant A. M.D.
Attention R users, especially those that are experienced enough to be opinionated, I need your input. Consider the following simple plot: x - rnorm(100) y - rnorm(100) plot(x, y, bty='n') A colleague (and dreaded SAS user) commented that she thought that my plots could be cleaned up by

Re: [R] Opinion on R plots: connecting X and Y

2007-04-20 Thread Clint Bowman
Okay, Brant. It's Friday and I'm opinionated. Since the plotted data extend to lower values on both axes that 'n' draws them, I like 'l' better. Clint Clint BowmanINTERNET: [EMAIL PROTECTED] Air Dispersion Modeler INTERNET: [EMAIL PROTECTED] Air Quality

Re: [R] Opinion on R plots: connecting X and Y

2007-04-20 Thread rolf
I would say ``de gustibus non disputandum'', except that I can't speak Latin. cheers, Rolf Turner [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list

Re: [R] Opinion on R plots: connecting X and Y

2007-04-20 Thread Stephen Tucker
Edward Tufte seems to have some opinions on this topic. In The Visual Display of Quantitative Information (Chapter 6: Data-Ink Maximization and Graphical Design - Redesign of the Scatterplot), he presents several alternatives (1) non-data-bearing frame in conventional scatterplots (equivalent to

[R] Plots from lda and predict.lda

2007-04-01 Thread Mat Vanderklift
Dear all When plotting the results of lda and predict.lda, I expect the axis dimensions to remain essentially the same - predict.lda projects new observations onto linear discriminants. However, I am getting different ranges of values along the x-axis when producing plots following each:

Re: [R] Generating R plots through Perl - Solution

2007-03-06 Thread Ryan.G.Huckstorf
-help@stat.math.ethz.ch Subject: Re: [R] Generating R plots through Perl On Mar 1, 2007, at 6:28 PM, [EMAIL PROTECTED] wrote: First off, if you are working in perl you might want to be aware of ruby and the r for ruby project: http://rubyforge.org/projects/r4ruby/ Hello, $R-send(qq (xVal - c

[R] Generating R plots through Perl

2007-03-01 Thread Ryan.G.Huckstorf
Hello, I am in the process of writing a Perl program to carry out and analyze large numbers of regressions using R as the regression engine, and I am using Statistics::R to create the communication bridge between the two programs. Statistics::R creates a pipe between R and Perl and uses

Re: [R] Generating R plots through Perl

2007-03-01 Thread Charilaos Skiadas
On Mar 1, 2007, at 6:28 PM, [EMAIL PROTECTED] wrote: First off, if you are working in perl you might want to be aware of ruby and the r for ruby project: http://rubyforge.org/projects/r4ruby/ Hello, $R-send(qq (xVal - c(1,2,3,4,5,6))); $R-send(qq (yVal - c(3,5,2,6,1,5))); $R-send(qq

[R] plots questions?

2006-11-06 Thread zhijie zhang
Dear friends, I have three variables ,x,y and z, and i want to get two plots: 1.three-dimensionel plot: z is the vertical axis, x and y is on the same horizontal plane; 2.contour plot:x is the horizontal axis, and y is vertical axis, and z is used to plot the contour line. I can't finish it

[R] would like to see R plots on local X display

2006-11-02 Thread Vladimir Eremeev
Dear useRs, Sorry, if this is a FAQ. I just need the direction to dig. I am working on the linux box (its DNS name is raccoon, to be definite), Fedora Core 3. I connect with ssh to another linux box (Debian, dns name chena) and run R on it. When I call a plotting function from the R command

Re: [R] would like to see R plots on local X display

2006-11-02 Thread Deepayan Sarkar
On 11/2/06, Vladimir Eremeev [EMAIL PROTECTED] wrote: Dear useRs, Sorry, if this is a FAQ. I just need the direction to dig. I am working on the linux box (its DNS name is raccoon, to be definite), Fedora Core 3. I connect with ssh to another linux box (Debian, dns name chena) and run R

Re: [R] ssh and X11 forwarding (would like to see R plots on local X display)

2006-11-02 Thread Vladimir Eremeev
Deepayan Sarkar deepayan.sarkar at gmail.com writes: I am working on the linux box (its DNS name is raccoon, to be definite), Fedora Core 3. I connect with ssh to another linux box (Debian, dns name chena) and run R on it. When I call a plotting function from the R command line, it

[R] plots: layout + subtitles

2006-10-16 Thread Marie-Pierre Sylvestre
Hello, I want to create a figure that consists of a collection of 16 graphs on 4 rows. I am using nf - layout(matrix(seq(1,16), 4,4, byrow=TRUE), respect=TRUE) boxplot(... to create the layout of my 16 graphs. It works really well. However, I'd like to add sub-titles that would apply to each

Re: [R] plots: layout + subtitles

2006-10-16 Thread Paul Murrell
Hi Marie-Pierre Sylvestre wrote: Hello, I want to create a figure that consists of a collection of 16 graphs on 4 rows. I am using nf - layout(matrix(seq(1,16), 4,4, byrow=TRUE), respect=TRUE) boxplot(... to create the layout of my 16 graphs. It works really well. However, I'd

Re: [R] Plots Without Displaying

2006-08-17 Thread Lothar Botelho-Machado
Park Suite 5350 Woburn, MA 01801 Tel: 781-938-3830 www.nuverabio.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lothar Botelho-Machado Sent: Wednesday, August 16, 2006 4:49 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] Plots

Re: [R] Plots Without Displaying

2006-08-17 Thread Gabor Grothendieck
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lothar Botelho-Machado Sent: Wednesday, August 16, 2006 4:49 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] Plots Without Displaying Prof Brian Ripley wrote: Yes, see ?jpeg ?bitmap and as you didn't tell us your OS we

Re: [R] Plots Without Displaying

2006-08-17 Thread Prof Brian Ripley
:[EMAIL PROTECTED] On Behalf Of Lothar Botelho-Machado Sent: Wednesday, August 16, 2006 4:49 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] Plots Without Displaying Prof Brian Ripley wrote: Yes, see ?jpeg ?bitmap and as you didn't tell us your OS we don't know

Re: [R] Plots Without Displaying

2006-08-17 Thread hadley wickham
Yes, you can do that for lattice-based plots. The functions in the lattice package produce objects of class trellis which can be stored in a list and processed or updated at a later time: Or for ggplot based plots: install.packages(ggplot) library(ggplot) plotList - list(length=3)

[R] Plots Without Displaying

2006-08-16 Thread Lothar Botelho-Machado
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 R Help Mailing List, I'd like to generate a plot that I could display and/or store it as e.g. jpeg. But unfortunately always a plotting window opens. Is it possible to prevent that? I tried the following: R bp-boxplot( sample(100), plot=FALSE)

Re: [R] Plots Without Displaying

2006-08-16 Thread Prof Brian Ripley
Yes, see ?jpeg ?bitmap and as you didn't tell us your OS we don't know if these are available to you. jpeg(file=test.jpg) boxplot(sample(100)) dev.off() may well work. 'An Introduction to R' explains about graphics devices, including these. On Wed, 16 Aug 2006, Lothar Botelho-Machado

Re: [R] Plots Without Displaying

2006-08-16 Thread Lothar Botelho-Machado
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Prof Brian Ripley wrote: Yes, see ?jpeg ?bitmap and as you didn't tell us your OS we don't know if these are available to you. jpeg(file=test.jpg) boxplot(sample(100)) dev.off() may well work. 'An Introduction to R' explains about

Re: [R] Plots Without Displaying

2006-08-16 Thread Christos Hatzis
@stat.math.ethz.ch Subject: Re: [R] Plots Without Displaying -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Prof Brian Ripley wrote: Yes, see ?jpeg ?bitmap and as you didn't tell us your OS we don't know if these are available to you. jpeg(file=test.jpg) boxplot(sample(100)) dev.off() may well

[R] Plots

2006-08-07 Thread Sonal Darbari
Hi, What commands are needed to get an output like this: 1. On X-Axis : 2 Indices ex. SP500 and DOW JONES 2. Their repective dates If I use the plot command, I get one output if I use it again, I lose the previous output. I need both of them on one graph only(As seen in the attachment).

Re: [R] Plots

2006-08-07 Thread Gabor Grothendieck
Try: RSiteSearch(Horses and Hounds) On 8/7/06, Sonal Darbari [EMAIL PROTECTED] wrote: Hi, What commands are needed to get an output like this: 1. On X-Axis : 2 Indices ex. SP500 and DOW JONES 2. Their repective dates If I use the plot command, I get one output if I use it again, I

Re: [R] Plots

2006-08-07 Thread Gabor Grothendieck
Also RSiteSearch(ts.plot.2Axis) On 8/7/06, Gabor Grothendieck [EMAIL PROTECTED] wrote: Try: RSiteSearch(Horses and Hounds) On 8/7/06, Sonal Darbari [EMAIL PROTECTED] wrote: Hi, What commands are needed to get an output like this: 1. On X-Axis : 2 Indices ex. SP500 and DOW

Re: [R] Extracting R plots from MS Word

2006-06-30 Thread maj
Just a note to say what I did. I think that the results were OK but I have yet to hear from the journal. 1. I saved the Word document under another name. 2. I deleted all the contents of the document except the target graphic. 3. I printed to file yielding a .prn file. 4. I changed the extension

[R] Extracting R plots from MS Word

2006-06-29 Thread maj
Hi, I am revising a paper that I am a co-author of. The figures are plots generated from R but at the moment I do not have the R code that generates them. As this is time critical I would like to slightly abuse the list by asking whether anyone knows how to extract from MS Word into a

Re: [R] Extracting R plots from MS Word

2006-06-29 Thread Johannes Ranke
Hi, I would also like to know how to do this with MS products alone. However, a nice tool to do this is wmf2eps (http://www.wmf2eps.de.vu/). You can paste windows vector graphics into wmf2eps, and it first saves it as EMF (enhanced metafile), before it creates EPS, which is what I use it for.

Re: [R] Extracting R plots from MS Word

2006-06-29 Thread Gabor Grothendieck
Click the graphic, press ctrl-C to copy it to the clipboard and then using ctrl-V paste it into mspaint or Xnview (free, find it via google) or other graphics program and then save it from there. Which program will work will depend on the format of the image. Another possibility is to save the

Re: [R] Extracting R plots from MS Word

2006-06-29 Thread Jonathan Baron
Another way to do this is with OpenOffice (OO). Read the Word file into OO Writer. Cut the figure. Open OO Draw. Click Paste, and the figure appears in Draw. Save it as EPS, or whatever you like. This works for both EMF and WMF. * [EMAIL PROTECTED] [EMAIL PROTECTED] [060629 08:30]: As

Re: [R] Extracting R plots from MS Word

2006-06-29 Thread Philipp Pagel
On Thu, Jun 29, 2006 at 05:15:08PM +1200, [EMAIL PROTECTED] wrote: I am revising a paper that I am a co-author of. The figures are plots generated from R but at the moment I do not have the R code that generates them. As this is time critical I would like to slightly abuse the list by asking

Re: [R] Extracting R plots from MS Word

2006-06-29 Thread maj
Thanks to all those who responded to my request about extracting R plots from MS Word. I decided to try Gabor Grothendieck's second suggestion and saved the Word document as html. (I may yet try some of the other suggestions.) Saving the .doc as .htm indeed produced a folder with many

Re: [R] Extracting R plots from MS Word

2006-06-29 Thread Gabor Grothendieck
I think these are zipped emf and wmf files. Google for emz extension. On 6/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks to all those who responded to my request about extracting R plots from MS Word. I decided to try Gabor Grothendieck's second suggestion and saved the Word

Re: [R] plots - paper vs presentation colors

2006-03-05 Thread Uwe Ligges
Darren Weber wrote: Hi, I can't find a simple command to switch the plot colors from paper to presentation formats. Has anyone defined styles that can be easily applied in one command? It would be nice to have a command for papers, using ps or eps outputs, that has a white background

[R] plots - paper vs presentation colors

2006-03-04 Thread Darren Weber
Hi, I can't find a simple command to switch the plot colors from paper to presentation formats. Has anyone defined styles that can be easily applied in one command? It would be nice to have a command for papers, using ps or eps outputs, that has a white background and colors that will print

Re: [R] plots - paper vs presentation colors

2006-03-04 Thread Deepayan Sarkar
On 3/4/06, Darren Weber [EMAIL PROTECTED] wrote: Hi, I can't find a simple command to switch the plot colors from paper to presentation formats. Has anyone defined styles that can be easily applied in one command? It would be nice to have a command for papers, using ps or eps outputs, that

[R] R plots in PowerPoint

2006-03-03 Thread Jamieson Cobleigh
I have some plots that I generating using R (using trellis, plot, and barplot2) that I want to include in a PowerPoint presentation I am giving. My computer is running OS X. I find that presentations are easier to read when there is light text on a dark background and would like to generate

Re: [R] R plots in PowerPoint

2006-03-03 Thread Michael H. Prager
on 3/3/2006 11:29 AM Jamieson Cobleigh said the following: [...] a PowerPoint presentation I am giving. [...] I find that presentations are easier to read when there is light text on a dark background [...] Jamie, Light text on dark background dates from the days of 35mm slides. The dark

[R] Plots: displaying mathematical symbols in specific fonts

2006-02-20 Thread Ed Merkle
Dear SavioRs, I am doing some research where characters in different microsoft fonts serve as experimental stimuli. Hence, in plot labels, I would like to display the characters in specific microsoft fonts. I have figured out how to display letters and numbers, but I am having trouble with

Re: [R] Plots: displaying mathematical symbols in specific fonts

2006-02-20 Thread Prof Brian Ripley
On Mon, 20 Feb 2006, Ed Merkle wrote: Dear SavioRs, I am doing some research where characters in different microsoft fonts serve as experimental stimuli. Hence, in plot labels, I would like to display the characters in specific microsoft fonts. I have figured out how to display letters

[R] plots

2006-02-11 Thread statistical . model
Hi all, I have a basic question. how can i visualize two or more density curves on the same plot? ex: x1-runif(100,10,80) x2-runif(100,1,100) kernelgraf-density(x1,kernel = gaussian, width= 20) plot(kernelgraf, xlab=Probability, xlim=c(0,100), ylim=c(0,.1), col=rgb(0,1,0), main=)

Re: [R] plots

2006-02-11 Thread Romain Francois
Le 11.02.2006 19:44, [EMAIL PROTECTED] a écrit : Hi all, I have a basic question. how can i visualize two or more density curves on the same plot? ex: x1-runif(100,10,80) x2-runif(100,1,100) kernelgraf-density(x1,kernel = gaussian, width= 20) plot(kernelgraf, xlab=Probability,

Re: [R] plots

2006-02-11 Thread Charles Annis, P.E.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, February 11, 2006 1:44 PM To: r-help@stat.math.ethz.ch Subject: [R] plots Hi all, I have a basic question. how can i visualize two or more density curves on the same plot? ex: x1

Re: [R] plots

2006-02-11 Thread Duncan Murdoch
Romain Francois wrote: Le 11.02.2006 19:44, [EMAIL PROTECTED] a écrit : Hi all, I have a basic question. how can i visualize two or more density curves on the same plot? ex: x1-runif(100,10,80) x2-runif(100,1,100) kernelgraf-density(x1,kernel = gaussian, width= 20) plot(kernelgraf,

Re: [R] plots

2006-02-11 Thread Romain Francois
Le 11.02.2006 19:59, Duncan Murdoch a écrit : Romain Francois wrote: Le 11.02.2006 19:44, [EMAIL PROTECTED] a écrit : Hi all, I have a basic question. how can i visualize two or more density curves on the same plot? ex: x1-runif(100,10,80) x2-runif(100,1,100)

[R] plots in a matrix

2005-11-15 Thread Gavin Simpson
Hi, consider the following example: I have a matrix like this: spp.mds$points [,1] [,2] CLAP0 1.79703164 -11.66716182 CLAP30 3.87034797 -7.48168377 YBI 10.27538316 -3.32226184 YBI01000.58463806 -1.25748701 hir1 5.82907036 -4.09695960

[R] Plots of Jest,Jdot, Jcross - legend?

2005-10-26 Thread Sara Mouro
Dear all, I am using the spatstat package, in particular the Jest, Jdot and Jcross functions. When I plot the results using J - Jest (SpatData) plot.fv (J, main=Recruits) there are 4 different lines (different colours and shapes): black _ green red _ _ _ _ blue _._._ Could

Re: [R] controlling usage of digits scientific notation in R plots; postscript margins

2005-09-22 Thread Prof Brian Ripley
Concise answers to verbose questions: 1) Use options(scipen) (and probably change the margin sizes). Or something like options(scipen=10) par(mar=c(5,8,4,2)+0.1) plot(x, y, axes=FALSE) axis(2, las=2) axis(1, labels=FALSE) axis(1, at = c(-2e8, 2e8), labels = expression(-2 %*% 10^8, 2 %*% 10^8))

[R] controlling usage of digits scientific notation in R plots; postscript margins

2005-09-21 Thread Paul Johnson
Dear R users: I assigned students to make some graphs and I'm having trouble answering some questions that they have. We are all working on R 2.1 on Fedora Core Linux 4 systems. 1. In the plot, the axis is not labeled by numbers, but rather scientific notation like -2e+08 or such. We

Re: [R] controlling usage of digits scientific notation in R plots; postscript margins

2005-09-21 Thread Greg Snow
One option is to use the 'scipen' option. see ?options and look for scipen. An example: options(scipen=3) # now do your plot and see what happens (try bigger numbers if 3 doesn't change anything). you can also specify different axis locations and labels to do it by hand: plot( (1:10)*1e+5,

Re: [R] plots

2005-06-15 Thread Uwe Ligges
secretario academico FACEA wrote: Dear all, Is it possible to change the levels in a mosaic plot, Change the levels? This depends on the data, not on the plot function, I think... the appearance of the level What does apprearance mean? See ?mosaicplot which tells you how to re-order

[R] plots

2005-06-14 Thread secretario academico FACEA
Dear all, Is it possible to change the levels in a mosaic plot, the appearance of the level or the levels size? For instance: A C E B D Thanks for your help Adrián __

[R] plots from batchfile on windows

2005-06-03 Thread Hans-Peter
Hi, On windows I'd like to run a batchfile that leaves me a plot. As a test I have the scriptfile test.r which only contains: x - 1:10; y - sample( 10 ) plot( x, y ) Now I tried the following (but nothing worked): a) R --vanilla test.r in the cmd window, = that doesn't give me a

Re: [R] plots from batchfile on windows

2005-06-03 Thread Gabor Grothendieck
On 6/3/05, Hans-Peter [EMAIL PROTECTED] wrote: Hi, On windows I'd like to run a batchfile that leaves me a plot. As a test I have the scriptfile test.r which only contains: x - 1:10; y - sample( 10 ) plot( x, y ) Now I tried the following (but nothing worked): a) R

Re: [R] plots from batchfile on windows

2005-06-03 Thread Hans-Peter
On 6/3/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: This was discussed previously this week. Look right at the end of: https://www.stat.math.ethz.ch/pipermail/r-help/2005-June/071147.html I had to add a win.graph... command, now it works: x - 1:10; y - sample( 10 )

RE: [R] plots from batchfile on windows

2005-06-03 Thread BXC (Bendix Carstensen)
: [R] plots from batchfile on windows On 6/3/05, Hans-Peter [EMAIL PROTECTED] wrote: Hi, On windows I'd like to run a batchfile that leaves me a plot. As a test I have the scriptfile test.r which only contains: x - 1:10; y - sample( 10 ) plot( x, y ) Now I tried

[R] Plots with same x-axes

2005-01-20 Thread Robin Gruna
Hi, I want to plot two graphics on top of each other with layout(), a scatterplot and a barplot. The problems are the different x-axes ratios of the plots. How can I align the two x-axes? Thank you very much, Robin [[alternative HTML version deleted]]

Re: [R] Plots with same x-axes

2005-01-20 Thread Marc Schwartz
On Fri, 2005-01-21 at 01:48 +0100, Robin Gruna wrote: Hi, I want to plot two graphics on top of each other with layout(), a scatterplot and a barplot. The problems are the different x-axes ratios of the plots. How can I align the two x-axes? Thank you very much, Robin Robin, Here is an

Re: [R] plots

2004-12-28 Thread Tim F Liao
-0800 (PST) From: duraikannan sundaramoorthi [EMAIL PROTECTED] Subject: [R] plots To: r-help@stat.math.ethz.ch Is there a way to save plots and use in a word document. Thanks for your help in advance. durai __ Send holiday email and support

[R] plots

2004-12-27 Thread duraikannan sundaramoorthi
Is there a way to save plots and use in a word document. Thanks for your help in advance. durai __ Send holiday email and support a worthy cause. Do good. __ R-help@stat.math.ethz.ch mailing list

RE: [R] plots

2004-12-27 Thread Charles Annis, P.E.
://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of duraikannan sundaramoorthi Sent: Monday, December 27, 2004 8:00 PM To: r-help@stat.math.ethz.ch Subject: [R] plots Is there a way to save plots and use in a word document. Thanks for your help

RE: [R] plots

2004-12-27 Thread BXC (Bendix Carstensen)
[EMAIL PROTECTED] www.biostat.ku.dk/~bxc -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of duraikannan sundaramoorthi Sent: Tuesday, December 28, 2004 2:00 AM To: r-help@stat.math.ethz.ch Subject: [R] plots Is there a way

Re: [R] r: plots

2004-02-25 Thread Petr Pikal
Hallo I use following function to produce graph of yright and yleft against x with additional options (like smoothing the lines, colour, line and point type choice and an options for some axes formating. Cheers Petr

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-24 Thread Erich Neuwirth
Saving as a metafile should to the trick. emf files work nicely in Word. Michael A. Miller wrote: Frank == Frank E Harrell [EMAIL PROTECTED] writes: Also, has anyone tried creating a Word document using OpenOffice with figures imported from R? I've tried that. It works fine with

[R] r: plots

2004-02-24 Thread allan clark
hi all i have another probably simple question. I have three variables say x, y and z. x and y are quite large and z is relative small. how can one plot the three variables on the same graph with two separate axis? (one for x and y and the other for z) e.g. x-c(101,110,150,167,120)

Re: [R] r: plots

2004-02-24 Thread Thomas Petzoldt
allan clark wrote: hi all i have another probably simple question. I have three variables say x, y and z. x and y are quite large and z is relative small. how can one plot the three variables on the same graph with two separate axis? (one for x and y and the other for z) e.g.

Re: [R] r: plots

2004-02-24 Thread Marc Schwartz
On Tue, 2004-02-24 at 06:44, allan clark wrote: hi all i have another probably simple question. I have three variables say x, y and z. x and y are quite large and z is relative small. how can one plot the three variables on the same graph with two separate axis? (one for x and y and the

Re: [R] r: plots

2004-02-24 Thread Duncan Murdoch
On Tue, 24 Feb 2004 14:44:47 +0200, allan clark [EMAIL PROTECTED] wrote : hi all i have another probably simple question. I have three variables say x, y and z. x and y are quite large and z is relative small. how can one plot the three variables on the same graph with two separate axis? (one

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-23 Thread Michael A. Miller
Frank == Frank E Harrell [EMAIL PROTECTED] writes: Also, has anyone tried creating a Word document using OpenOffice with figures imported from R? I've tried that. It works fine with openoffice, but not with word. For example, create a postscript file with R like this:

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-22 Thread Ajay Shah
It was pointed out that while win.metafile(/myfile.wmf) is useful, it only works on windows. Here's a path which would work on Unix: 1) Write an xfig file using R. I use something like : xfig(file=created.fig, onefile=TRUE, bg=LightSkyBlue, width=5, height=3) plot() This is a very

RE: [R] R: Including R plots in a Microsoft Word document

2004-02-22 Thread Liaw, Andy
From: Ajay Shah [snip] Now for a (perhaps trivial) question: Several people said you have to do win.metafile(/myfile.wmf) plot(1:10) dev.off() this is essential Why is the 3rd line essential? I have been feeding R programs into R using the command

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-22 Thread Gabor Grothendieck
to actually try this out but perhaps someone with both can try it out. --- Date: Sun, 22 Feb 2004 21:13:37 +0530 From: Ajay Shah [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [R] R: Including R plots in a Microsoft Word document It was pointed out that while win.metafile

[R] RE:Including R plots in a Microsoft Word document

2004-02-21 Thread Fulvio Copex
Sorry Gabor, in which package can I found the function: win.metafile() ? __ http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/ __ [EMAIL PROTECTED] mailing list

[R] RE:Including R plots in a Microsoft Word document

2004-02-21 Thread Fulvio Copex
Sorry Gabor, in which package can I found the function: win.metafile() ? __ http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/ __ [EMAIL PROTECTED] mailing list

Re: [R] RE:Including R plots in a Microsoft Word document

2004-02-21 Thread Uwe Ligges
Fulvio Copex wrote: Sorry Gabor, in which package can I found the function: win.metafile() ? It's available in the base package of R for Windows. Uwe Ligges __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] RE:Including R plots in a Microsoft Word document

2004-02-21 Thread Robert W. Baer, Ph.D.
, February 21, 2004 4:16 AM Subject: [R] RE:Including R plots in a Microsoft Word document Sorry Gabor, in which package can I found the function: win.metafile() ? __ http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com

[R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread Mahmoud K. Okasha
Greetings List, I am conducting some large simulations using R. As a result, I get many plots but I'm having some trouble with including some of them in a Microsoft Word document. Can any one tell me the easiest method of having copies of the R-graphs in the Word documents? Best regards

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread Marc Schwartz
On Fri, 2004-02-20 at 09:54, Mahmoud K. Okasha wrote: Greetings List, I am conducting some large simulations using R. As a result, I get many plots but I'm having some trouble with including some of them in a Microsoft Word document. Can any one tell me the easiest method of having copies

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread uaca
On Fri, Feb 20, 2004 at 05:54:33PM +0200, Mahmoud K. Okasha wrote: Greetings List, I am conducting some large simulations using R. As a result, I get many plots but I'm having some trouble with including some of them in a Microsoft Word document. Can any one tell me the easiest method of

RE: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread Gabor Grothendieck
and now you can edit it. For example, click on an axis label and then change its text, its font, etc. in the usual way. --- Date: Fri, 20 Feb 2004 17:54:33 +0200 From: Mahmoud K. Okasha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [R] R: Including R plots in a Microsoft Word document

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread John Fox
Dear Mahmoud, There are several ways to do this. I find the following the simplest: Right click on the graphics-device window in R and select Copy as metafile from the pop-up menu. Then right-click in the Word document where you want the graph to appear and select Paste. Perhaps if you could

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread Frank E Harrell Jr
On Fri, 20 Feb 2004 11:08:00 -0600 Marc Schwartz [EMAIL PROTECTED] wrote: On Fri, 2004-02-20 at 09:54, Mahmoud K. Okasha wrote: Greetings List, I am conducting some large simulations using R. As a result, I get many plots but I'm having some trouble with including some of them in a

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread Don MacQueen
At 11:08 AM -0600 2/20/04, Marc Schwartz wrote: On Fri, 2004-02-20 at 09:54, Mahmoud K. Okasha wrote: Greetings List, I am conducting some large simulations using R. As a result, I get many plots but I'm having some trouble with including some of them in a Microsoft Word document. Can any one

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread Gabor Grothendieck
which is a bit less convenient than using the clipboard and it leaves a file around that you still have to delete. --- Date: Fri, 20 Feb 2004 12:29:24 -0500 From: Frank E Harrell Jr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] R: Including R plots

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread Paul Johnson
I have wrestled with this problem a lot. I use Linux, coauthors use Windows, and the eps files I make from R don't work with MS Word. Well, the don't ever have previews and they sometimes won't print at all when I use CrossOver Office with MS Office 2000 in Linux. My coauthor says he can

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread Frank E Harrell Jr
On Fri, 20 Feb 2004 13:47:51 -0600 Paul Johnson [EMAIL PROTECTED] wrote: I have wrestled with this problem a lot. I use Linux, coauthors use Windows, and the eps files I make from R don't work with MS Word. Well, the don't ever have previews and they sometimes won't print at all when I

  1   2   >