Re: [R] Plot R graphs in aws

2023-04-23 Thread Hasan Diwan
Alternatively, you can put R-studio server on AWS by going to https://www.louisaslett.com/RStudio_AMI/. -- H On Thu, 20 Apr 2023 at 04:58, Duncan Murdoch wrote: > On 20/04/2023 7:43 a.m., Naresh Gurbuxani wrote: > > In my Amazon Web Services (AWS) account, I use R via emacs launched from >

Re: [R] Plot R graphs in aws

2023-04-20 Thread Duncan Murdoch
On 20/04/2023 7:43 a.m., Naresh Gurbuxani wrote: In my Amazon Web Services (AWS) account, I use R via emacs launched from terminal. While R computations work well, viewing graphs is inconvenient. I am not able to use screen device. I can send graphs to a png or pdf file, then open the file.

[R] Plot R graphs in aws

2023-04-20 Thread Naresh Gurbuxani
In my Amazon Web Services (AWS) account, I use R via emacs launched from terminal. While R computations work well, viewing graphs is inconvenient. I am not able to use screen device. I can send graphs to a png or pdf file, then open the file. I would like a setup where code is run in one

Re: [R] graphs, need urgent help (deadline :( )

2015-06-11 Thread Rosa Oliveira
)) + geom_line() + facet_grid(sample ~ .) John Kane Kingston ON Canada -Original Message- From: drjimle...@gmail.com Sent: Wed, 10 Jun 2015 20:51:52 +1000 To: rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like Don, I can't work out

Re: [R] graphs, need urgent help (deadline :( )

2015-06-11 Thread Don McKenzie
: col=4,type=“l”,xlab=“Region”,ylab=“factor) John Kane Kingston ON Canada -Original Message- From: d...@u.washington.edu Sent: Wed, 10 Jun 2015 11:32:59 -0700 To: rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) You were caught by a mysterious

Re: [R] graphs, need urgent help (deadline :( )

2015-06-11 Thread Jim Lemon
Rosa Oliveira wrote: Dear Jim, when I run your code (even the one you send me, not in my data), I get: Don't know how to automatically pick scale for object of type function. Defaulting to continuous Error in data.frame(x = c(0.1, 0.2, 0.1, 0.2, 0.1, 0.2, 0.1, 0.2, 0.1, : arguments

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Jim Lemon
Hi Rosa, Like Don, I can't work out what you want and I don't even have the picture. For example, your specification of color and line type leaves only one point for each color and line type, and the line from one point to the same point is not going to show up. Here is a possibility that may lead

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread John Kane
= factor)) + geom_line() + facet_grid(sample ~ .) John Kane Kingston ON Canada -Original Message- From: drjimle...@gmail.com Sent: Wed, 10 Jun 2015 20:51:52 +1000 To: rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like Don, I

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Don McKenzie
The answer lies in learning to use the help (and knowing where to start). Did you look at the tutorial that comes with the R installation? ?plot ?lines ?par In the last, look for the descriptions of “col” and “lty”. Using plot() and lines(), and subsetting the four unique values of

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Rosa Oliveira
Dear Don and all, I’ve read the tutorial and tried several codes before posting :) I’m really naive. what I was trying to : is something like the graph in the picture I drawee. Is it more clear now? Atenciosamente, Rosa Oliveira --

Re: [R] graphs, need urgent help [from Rosa Oliveira]

2015-06-10 Thread Don McKenzie
The R function plot() will draw the first line and the two axes. You need to tell it which subsample of your data to plot, as in my example below. So start with those two observations for which “sample” = 10. But if you want separate lines for each unique value of “sample”, your lines will

Re: [R] graphs, need urgent help [from Rosa Oliveira]

2015-06-10 Thread Rosa Oliveira
Dear Don, I done the plot and the lines, and it’s fine. I’ll have 10 values on sample. It’s generating (on simulation), that’s why that huge outlier, and the other missing points. The graph I’ve done, is just an example, just to illustrate what I have to get, but off course with 10 points in

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Don McKenzie
: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like Don, I can't work out what you want and I don't even have the picture. For example, your specification of color and line type leaves only one point for each color and line type, and the line from one point to the same point

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Don McKenzie
Kingston ON Canada -Original Message- From: drjimle...@gmail.com mailto:drjimle...@gmail.com Sent: Wed, 10 Jun 2015 20:51:52 +1000 To: rosit...@gmail.com mailto:rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like Don, I can't work out what you

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Rosa Oliveira
, aes(region, value, colour = factor)) + geom_line() + facet_grid(sample ~ .) John Kane Kingston ON Canada -Original Message- From: drjimle...@gmail.com Sent: Wed, 10 Jun 2015 20:51:52 +1000 To: rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Don McKenzie
(sample ~ .) John Kane Kingston ON Canada -Original Message- From: drjimle...@gmail.com mailto:drjimle...@gmail.com Sent: Wed, 10 Jun 2015 20:51:52 +1000 To: rosit...@gmail.com mailto:rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Rosa Oliveira
...@gmail.com mailto:rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like Don, I can't work out what you want and I don't even have the picture. For example, your specification of color and line type leaves only one point for each color and line type

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Don McKenzie
: Wed, 10 Jun 2015 20:51:52 +1000 To: rosit...@gmail.com mailto:rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like Don, I can't work out what you want and I don't even have the picture. For example, your specification of color and line type leaves only

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Don McKenzie
:51:52 +1000 To: rosit...@gmail.com mailto:rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like Don, I can't work out what you want and I don't even have the picture. For example, your specification of color and line type leaves only one point for each

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread Don McKenzie
Kane Kingston ON Canada -Original Message- From: drjimle...@gmail.com mailto:drjimle...@gmail.com Sent: Wed, 10 Jun 2015 20:51:52 +1000 To: rosit...@gmail.com mailto:rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Hi Rosa, Like Don, I can't work out

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread John Kane
You have curly quotes rather than plain ones here : col=4,type=“l”,xlab=“Region”,ylab=“factor) John Kane Kingston ON Canada -Original Message- From: d...@u.washington.edu Sent: Wed, 10 Jun 2015 11:32:59 -0700 To: rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread John Kane
a few years ago make me sensitive to such problems. John Kane Kingston ON Canada -Original Message- From: d...@u.washington.edu Sent: Wed, 10 Jun 2015 12:07:27 -0700 To: rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Here is code that IS tested.  I am

[R] graphs, need urgent help (deadline :( )

2015-06-09 Thread Rosa Oliveira
Hi, another naive question (i’m pretty sure :( ) I’m trying to plot a multiple line graph: regionsample factora factorbfactorc 0.1 10 0.895 0.903 0.378 0.2 10 0.811 0.865 0.688 0.1 20 0.735 0.966 0.611 0.2 20

Re: [R] Graphs for scientific publication ?

2015-06-03 Thread Jeremy Clark
The coding I've settled on to save file without clipping is: library(gridExtra) gt - ggplot_gtable(ggplot_build(q3)) gt$layout$clip[gt$layout$name==panel] - off gt4 - arrangeGrob(gt) ggsave - ggplot2::ggsave; body(ggsave) - body(ggplot2::ggsave)[-2] ## from Baptiste ggsave(gt.pdf, plot = gt4,

Re: [R] Graphs for scientific publication ?

2015-06-03 Thread David Winsemius
On Jun 3, 2015, at 3:30 AM, Jeremy Clark wrote: The coding I've settled on to save file without clipping is: What exactly was clipping. You earlier complained about jaggies. There was no restriction of the plotted lines to the plot area in the example you earlier presented. That's what I

Re: [R] Graphs for scientific publication ?

2015-05-04 Thread Jeremy Clark
Dear All, Many thanks for your very comprehensive replies. Here I provide some coding which on my system has the following effects: 1) The italic R is not rendered by CairoX11, but is rendered by quartz. 2) Both geom_smooth and geom_abline here give stepped lines (I've realised the angle of the

Re: [R] Graphs for scientific publication ?

2015-05-04 Thread Ista Zahn
Hi Jeremy, On Mon, May 4, 2015 at 6:13 AM, Jeremy Clark jeremyclark...@gmail.com wrote: Dear All, Many thanks for your very comprehensive replies. Here I provide some coding which on my system has the following effects: 1) The italic R is not rendered by CairoX11, but is rendered by quartz.

Re: [R] Graphs for scientific publication ?

2015-05-04 Thread David Winsemius
On May 4, 2015, at 3:13 AM, Jeremy Clark wrote: Dear All, Many thanks for your very comprehensive replies. Here I provide some coding which on my system has the following effects: 1) The italic R is not rendered by CairoX11, but is rendered by quartz. 2) Both geom_smooth and geom_abline

Re: [R] Graphs for scientific publication ?

2015-05-01 Thread Ista Zahn
On Thu, Apr 30, 2015 at 8:05 AM, Jeremy Clark jeremyclark...@gmail.com wrote: Dear All, First of all, many thanks to all R contributors for a fantastic program, and especially to Hadley Wickham for creating ggplot2. The following is intended to be a warning that, if the apparently

[R] Graphs for scientific publication ?

2015-04-30 Thread Jeremy Clark
Dear All, First of all, many thanks to all R contributors for a fantastic program, and especially to Hadley Wickham for creating ggplot2. The following is intended to be a warning that, if the apparently superficial problems described are not sorted out, R could well find itself being superceded.

Re: [R] Graphs for scientific publication ?

2015-04-30 Thread Bert Gunter
Jeremy: I suggest you have a look at the latest edition of Paul Murrell's book, R Graphics, as you seem to be unaware that ggplot2 (as well as a 3rd graphics paradigm, the lattice package) and base graphics are built on 2 different and incompatible graphics engines. Obviously, you are entitled

Re: [R] Graphs for scientific publication ?

2015-04-30 Thread David L Carlson
College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Bert Gunter Sent: Thursday, April 30, 2015 1:41 PM To: Jeremy Clark Cc: r-help@r-project.org Subject: Re: [R] Graphs for scientific publication ? Jeremy: I suggest you have a look

Re: [R] graphs

2015-03-14 Thread John Kane
...@precheza.cz, r-help@r-project.org Subject: RE: [R] graphs __Dear all, You can see the plot specif curves in the enclosed document. Inclusion of all plot specif curves in one plot may not be look good and finally it will be unreadable. I am agree with Petrr and John. This graph is more

Re: [R] graphs

2015-03-13 Thread David Winsemius
; Mir Salam; r-help@r-project.org Subject: Re: [R] graphs @Petr I agree. I think Mir would get a totally unreadable graph. I occasionally look at some spagetti graphs from climate research, and I find 8 - 12 lines are incomprehensible (I'm not a subject matter expert)' @Mir

Re: [R] graphs

2015-03-13 Thread PIKAL Petr
Salam Sent: Sunday, March 08, 2015 10:57 PM To: r-help@r-project.org Subject: [R] graphs Dear all, I need help to get different 68 plots specifc fitted curves in one plot with respective field data observations (age vs dominant height). aspdomH2-groupedData(domH2~age|plotno,data=aspdomH2

Re: [R] graphs

2015-03-13 Thread John Kane
)) + geom_point() + facet_grid(class ~.) + theme(legend.position=none) p John Kane Kingston ON Canada -Original Message- From: petr.pi...@precheza.cz Sent: Fri, 13 Mar 2015 11:34:42 + To: mir.sa...@uef.fi, r-help@r-project.org Subject: Re: [R] graphs Hi Your example is not reproducible

Re: [R] graphs

2015-03-13 Thread Mir Salam
__ From: John Kane jrkrid...@inbox.com Sent: Friday, March 13, 2015 4:12 PM To: PIKAL Petr; Mir Salam; r-help@r-project.org Subject: Re: [R] graphs @Petr I agree. I think Mir would get a totally unreadable graph. I occasionally look at some spagetti graphs from climate research, and I

[R] graphs

2015-03-08 Thread Mir Salam
Dear all, I need help to get different 68 plots specifc fitted curves in one plot with respective field data observations (age vs dominant height). aspdomH2-groupedData(domH2~age|plotno,data=aspdomH2) names(aspdomH2) plotno, age, origin, soilcharacter, domH2, plotno-different plot

[R] R graphs from database

2012-12-26 Thread David Osborne
Browsing the web recently, I came across what I think is a new utility for generating an interactive, web-based R graph of data from a database. The generated graph can be manipulated by a user to choose different data, limits, etc. I would like to investigate using this with data from our

Re: [R] R graphs from database

2012-12-26 Thread Marc Schwartz
On Dec 26, 2012, at 6:34 AM, David Osborne daosbo...@gmail.com wrote: Browsing the web recently, I came across what I think is a new utility for generating an interactive, web-based R graph of data from a database. The generated graph can be manipulated by a user to choose different data,

Re: [R] R graphs from database

2012-12-26 Thread Suzen, Mehmet
Hi David, I suggest you to have a look at packages that can extract data from sql or nosql databases and graphics. CRAN task views would help: http://cran.r-project.org/web/views/Graphics.html The point is there are lots of alternatives. If you would like to use web-based visualisation d3 is

Re: [R] R graphs from database

2012-12-26 Thread Ben Bolker
David Osborne daosborne at gmail.com writes: Browsing the web recently, I came across what I think is a new utility for generating an interactive, web-based R graph of data from a database. The generated graph can be manipulated by a user to choose different data, limits, etc. I would like

Re: [R] R graphs from database

2012-12-26 Thread David Osborne
Thanks, Marc — yes, it was Shiny that I'd seen. Thanks a lot! regards David On 26 December 2012 16:31, Marc Schwartz marc_schwa...@me.com wrote: On Dec 26, 2012, at 6:34 AM, David Osborne daosbo...@gmail.com wrote: Browsing the web recently, I came across what I think is a new utility

[R] Graphs using R

2012-10-08 Thread Nethal Jajo
Dear, I have a table with four columns similar to the following: Factory Name Production typeMonthsFreq Factory 1 Car type 1 Jan.0 Factory 1 Car type 2 Feb. 1 Factory 2

Re: [R] Graphs using R

2012-10-08 Thread FJ M
Subject: [R] Graphs using R Dear, I have a table with four columns similar to the following: Factory Name Production typeMonthsFreq Factory 1 Car type 1 Jan.0 Factory 1 Car type 2 Feb

Re: [R] Graphs using R

2012-10-08 Thread PIKAL Petr
Hi homework? No homewok policy here. You can check e.g. ggplot2 package Regards Petr -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Nethal Jajo Sent: Monday, October 08, 2012 10:27 AM To: r-help@R-project.org Subject: [R

Re: [R] R graphs differ from exported one

2011-06-13 Thread Mark Seeto
. -- View this message in context: http://r.789695.n4.nabble.com/R-graphs-differ-from-exported-one-tp3592553p3592915.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] R graphs differ from exported one

2011-06-12 Thread Massimiliano
Hello everybody! This is my first mail so I'll write a couple of lines of self-introduction. My name is Massimiliano, I'm from Italy and I'm studying Mathematical Engineering. I started using R in my Statistics course and have to use it to make a project which I'll discuss at the end of the

Re: [R] R graphs differ from exported one

2011-06-12 Thread Joshua Wiley
Hmm, did you shut the device down afterward (i.e., call dev.off() )? I do not have any logic why that would induce the behavior you say you are getting, but this works just fine for me: postscript(tmp.eps, onefile = TRUE) qqnorm(rnorm(20)) dev.off() and creates the attached file (possibly not

Re: [R] R graphs differ from exported one

2011-06-12 Thread Mark Seeto
, some of the graphs end up saving with bits missing. -- View this message in context: http://r.789695.n4.nabble.com/R-graphs-differ-from-exported-one-tp3592553p3592915.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r

Re: [R] R graphs differ from exported one

2011-06-12 Thread Prof Brian Ripley
missing. -- View this message in context: http://r.789695.n4.nabble.com/R-graphs-differ-from-exported-one-tp3592553p3592915.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] graphs and arrays

2011-05-17 Thread Bogdan Tanasa
Dear all, it might not be a R-related question, however, I would appreciate if anyone could suggest a mathematical/statistical framework that integrates graphs and arrays, and potentially has a R implementation. to give an example : given a graph of interactions (gene1 --- gene2, gene3 ---

Re: [R] graphs of gamma, normal fit to a histogram are about half as large as they should be

2011-05-17 Thread Benjamin Caldwell
Rolf, Taking out the scalar multiples did it. Thanks for that. *Ben Caldwell* PhD Candidate University of California, Berkeley On Sun, May 15, 2011 at 10:30 PM, Rolf Turner rolf.tur...@xtra.co.nzwrote: In your example it appears that you are plotting a histogram (on the frequency

Re: [R] graphs of gamma, normal fit to a histogram are about half as large as they should be

2011-05-15 Thread Benjamin Caldwell
Hmm; still missing something - hist defaults to frequencies, not prob. densities; and, I thought I'd scaled the fitted lines to the values in the data frame. Just going with it, I specified freq=FALSE, and the prob density was of course at a different order of magnitude than the lines. What are

Re: [R] graphs of gamma, normal fit to a histogram are about half as large as they should be

2011-05-15 Thread Rolf Turner
In your example it appears that you are plotting a histogram (on the frequency scale) and then superimposing scalar multiples of gamma and Gaussian densities. You should just plot a histogram (with frequency=FALSE) and then superimpose the densities --- without any scalar multipliers. If

[R] graphs of gamma, normal fit to a histogram are about half as large as they should be

2011-05-13 Thread Benjamin Caldwell
Hello, I'm trying to compare the fit of two distributions, normal and gamma, to a histogram of my response variable. rate-mean(na.omit(rwb$post.f.crwn.length))/var(na.omit(rwb$post.f.crwn.length)) shape-rate*mean(na.omit(rwb$post.f.crwn.length)) hist((rwb$post.f.crwn.length),

Re: [R] graphs of gamma, normal fit to a histogram are about half as large as they should be

2011-05-13 Thread Rolf Turner
On 14/05/11 10:00, Benjamin Caldwell wrote: Hello, I'm trying to compare the fit of two distributions, normal and gamma, to a histogram of my response variable. rate-mean(na.omit(rwb$post.f.crwn.length))/var(na.omit(rwb$post.f.crwn.length)) shape-rate*mean(na.omit(rwb$post.f.crwn.length))

[R] review of R Graphs Cookbook

2011-01-25 Thread Patrick Burns
If you are foolish enough not to be following R Bloggers via RSS or twitter, you might miss: http://www.portfolioprobe.com/2011/01/24/review-of-r-graphs-cookbook-by-hrishi-mittal/ Executive summary: Extremely useful for new users, informative to even quite seasoned users. -- Patrick Burns pbu

[R] Can I save R graphs as a R objects

2010-01-15 Thread vikrant
Can I save R graphs as a R objects ? IF yes then if I click this R object can I edit my chart as in Excel. Please suggest your views -- View this message in context: http://n4.nabble.com/Can-I-save-R-graphs-as-a-R-objects-tp1014621p1014621.html Sent from the R help mailing list archive

Re: [R] Can I save R graphs as a R objects

2010-01-15 Thread Paul Hiemstra
vikrant wrote: Can I save R graphs as a R objects ? IF yes then if I click this R object can I edit my chart as in Excel. Please suggest your views When you use the graphics functions from the lattice package (e.g. xyplot) you can save them to a file (see ?save) because it creates

Re: [R] Can I save R graphs as a R objects

2010-01-15 Thread Henrique Dallazuanna
You can use the recordPlot function from base package also On Fri, Jan 15, 2010 at 7:26 AM, vikrant vikrant.shi...@tcs.com wrote: Can I save R graphs as a R objects ? IF yes then if I click this R object can I edit my chart as in Excel. Please suggest your views -- View this message

Re: [R] Can I save R graphs as a R objects

2010-01-15 Thread Rainer M Krug
On Fri, Jan 15, 2010 at 11:26 AM, vikrant vikrant.shi...@tcs.com wrote: Can I save R graphs as a R objects ? I have seen that feature in the rkward GUI (which is by the way the BEST GUI I have seen for a long time!), but I haven't played with that feature a lot, so I can not comment on your

Re: [R] Can I save R graphs as a R objects

2010-01-15 Thread Liviu Andronic
On 1/15/10, vikrant vikrant.shi...@tcs.com wrote: can I edit my chart as in Excel. Sort of, using playwith. You can always try to place the the plot call inside playwith(). For example, require(playwith) playwith(plot(1:10)) Liviu __

Re: [R] Can I save R graphs as a R objects

2010-01-15 Thread Greg Snow
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of vikrant Sent: Friday, January 15, 2010 2:27 AM To: r-help@r-project.org Subject: [R] Can I save R graphs as a R objects Can I save R graphs as a R objects ? IF yes then if I click

Re: [R] graphs

2009-07-26 Thread Poersching
Mary A. Marion schrieb: Hello, I am plotting two distributions and want to draw a vertical line at the critical point 149. How can I stop it from going further up than the norm(140,15) curve? x-seq(75,225,0.1) plot(x,dnorm(x,mean=140, sd=15), type='l', col='navy') abline(v = 149, col =

Re: [R] graphs

2009-07-26 Thread Radha Krishna
Hi Mary, One can use arrows too... Here is the code : x-seq(75,225,0.1) plot(x,dnorm(x,mean=140, sd=15), type='l', col='navy') *arrows(149,0,149,dnorm(149,140,15),length=0) *par(new=T) plot(x,dnorm(x,mean=150, sd=15), type='l', col='orange',axes=F) Regards Radha On Sun, Jul 26, 2009 at 5:09

[R] graphs

2009-07-25 Thread Mary A. Marion
Hello, I am plotting two distributions and want to draw a vertical line at the critical point 149. How can I stop it from going further up than the norm(140,15) curve? x-seq(75,225,0.1) plot(x,dnorm(x,mean=140, sd=15), type='l', col='navy') abline(v = 149, col = black) curve(dnorm(x,mean=150,

Re: [R] graphs

2009-07-25 Thread baptiste auguie
Try with ?segments, x-seq(75,225,0.1) plot(x,dnorm(x,mean=140, sd=15), type='l', col='navy') #abline(v = 149, col = black) segments(149, 0, 149, dnorm(149,140,15)) curve(dnorm(x,mean=150, sd=15),from=75, to=225, col='orange', add=TRUE) HTH, baptiste 2009/7/26 Mary A. Marion

Re: [R] graphs

2009-07-25 Thread Steve Lianoglou
Hi Mary, On Jul 25, 2009, at 7:39 PM, Mary A. Marion wrote: Hello, I am plotting two distributions and want to draw a vertical line at the critical point 149. How can I stop it from going further up than the norm(140,15) curve? x-seq(75,225,0.1) plot(x,dnorm(x,mean=140, sd=15), type='l',

Re: [R] Cross-platforms solution to export R graphs

2009-04-12 Thread cls59
/Cross-platforms-solution-to-export-R-graphs-tp22970668p23016682.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Cross-platforms solution to export R graphs

2009-04-11 Thread Philippe Grosjean
..°})) ) ) ) ) ) ( ( ( ( (Prof. Philippe Grosjean ) ) ) ) ) ( ( ( ( (Numerical Ecology of Aquatic Systems ) ) ) ) ) Mons-Hainaut University, Belgium ( ( ( ( ( .. Liviu

Re: [R] Cross-platforms solution to export R graphs

2009-04-11 Thread Philippe Grosjean
Liviu Andronic wrote: Hello, On Thu, Apr 9, 2009 at 3:04 PM, Philippe Grosjean phgrosj...@sciviews.org wrote: Cross-platforms solution to export R graphs There is playwith, and latticist, which seem cross-platform (binaries available for both MacWin). rattle uses latticist. Yes, right

Re: [R] Cross-platforms solution to export R graphs

2009-04-11 Thread Liviu Andronic
On Sat, Apr 11, 2009 at 3:20 PM, Philippe Grosjean phgrosj...@sciviews.org wrote: format (PDF) to another one (SVG). In Inkscape, you use File - Open... for the first step, and File - Save as... for the second. Since it is a vector format, your graph should not look pixelised. Yes, this is

Re: [R] Cross-platforms solution to export R graphs

2009-04-11 Thread Philippe Grosjean
Liviu Andronic wrote: On Sat, Apr 11, 2009 at 3:20 PM, Philippe Grosjean phgrosj...@sciviews.org wrote: format (PDF) to another one (SVG). In Inkscape, you use File - Open... for the first step, and File - Save as... for the second. Since it is a vector format, your graph should not look

Re: [R] Cross-platforms solution to export R graphs

2009-04-10 Thread Philippe Grosjean
Emmanuel Charpentier wrote: Le jeudi 09 avril 2009 à 15:04 +0200, Philippe Grosjean a écrit : Hello Rusers, I have worked on a R Wiki page for solutions in exporting R graphs, especially, the often-asked questions: - How can I export R graphs in vectorized format (EMF) for inclusion in MS

Re: [R] Cross-platforms solution to export R graphs

2009-04-10 Thread Philippe Grosjean
. Obviously, further experimentation is required here. Best, PhG Philippe Grosjean wrote: Emmanuel Charpentier wrote: Le jeudi 09 avril 2009 à 15:04 +0200, Philippe Grosjean a écrit : Hello Rusers, I have worked on a R Wiki page for solutions in exporting R graphs, especially, the often-asked

Re: [R] Cross-platforms solution to export R graphs

2009-04-10 Thread Liviu Andronic
Hello, On Thu, Apr 9, 2009 at 3:04 PM, Philippe Grosjean phgrosj...@sciviews.org wrote: Cross-platforms solution to export R graphs There is playwith, and latticist, which seem cross-platform (binaries available for both MacWin). rattle uses latticist. Rcmdr can be used for saving graphs

Re: [R] Cross-platforms solution to export R graphs

2009-04-10 Thread Liviu Andronic
On Thu, Apr 9, 2009 at 3:04 PM, Philippe Grosjean phgrosj...@sciviews.org wrote: The page is at: http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:export. The article suggests to use Inksacpe for PDF - SVG conversion. I've recently experimented this, but it seems that the graph

[R] Cross-platforms solution to export R graphs

2009-04-09 Thread Philippe Grosjean
Hello Rusers, I have worked on a R Wiki page for solutions in exporting R graphs, especially, the often-asked questions: - How can I export R graphs in vectorized format (EMF) for inclusion in MS Word or OpenOffice outside of Windows? - What is the best solution(s) for post-editing

Re: [R] Cross-platforms solution to export R graphs

2009-04-09 Thread HBaize
Thank you Philippe. That is very helpful. Philippe Grosjean wrote: Hello Rusers, I have worked on a R Wiki page for solutions in exporting R graphs, especially, the often-asked questions: - How can I export R graphs in vectorized format (EMF) for inclusion in MS Word

Re: [R] Cross-platforms solution to export R graphs

2009-04-09 Thread Emmanuel Charpentier
Le jeudi 09 avril 2009 à 15:04 +0200, Philippe Grosjean a écrit : Hello Rusers, I have worked on a R Wiki page for solutions in exporting R graphs, especially, the often-asked questions: - How can I export R graphs in vectorized format (EMF) for inclusion in MS Word or OpenOffice

[R] Question about R graphs

2008-10-22 Thread legendy
by “gelman.plot”, we can see that the x axis is labeled as “last iteration in chain”. What is the last iteration in chain? I set 3 chains, which chain was the result calculated based on? Thank you very much. Legendy -- View this message in context: http://www.nabble.com/Question-about-R-graphs

[R] graphs in R

2008-10-13 Thread guria
How Graphs in R with leveling of point can be done? Please help. -- View this message in context: http://www.nabble.com/graphs-in-R-tp19955281p19955281.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

Re: [R] graphs in R

2008-10-13 Thread stephen sefick
Do you have an example. I am not sure what you mean. On Mon, Oct 13, 2008 at 9:48 AM, guria [EMAIL PROTECTED] wrote: How Graphs in R with leveling of point can be done? Please help. -- View this message in context: http://www.nabble.com/graphs-in-R-tp19955281p19955281.html Sent from the

Re: [R] graphs for pretest data

2008-08-24 Thread Jim Lemon
On Sat, 2008-08-23 at 12:04 -0400, Juliet Hannah wrote: Is there an easy way to make graphs for the following data. I have pretest and posttest scores for men and women. I would like to form a 'titlted segment' plot for the data. That is, make segments joining the scores, with different types

[R] graphs for pretest data

2008-08-23 Thread Juliet Hannah
Is there an easy way to make graphs for the following data. I have pretest and posttest scores for men and women. I would like to form a 'titlted segment' plot for the data. That is, make segments joining the scores, with different types of segments for men and women. Example data: menpre -

Re: [R] graphs for pretest data

2008-08-23 Thread John Kane
PROTECTED] Subject: [R] graphs for pretest data To: r-help@r-project.org Received: Saturday, August 23, 2008, 12:04 PM Is there an easy way to make graphs for the following data. I have pretest and posttest scores for men and women. I would like to form a 'titlted segment' plot for the data

Re: [R] graphs for pretest data

2008-08-23 Thread Michael Kubovy
Dear Juliet, Perhaps start here: require(lattice) mwpp - data.frame(y = c(43,42,26,39,60,60,46,40,41,36,42,54, 58,43,46,56,81,56,70,70,44,52,81,59,69,68), sex = rep(c(rep('men', 14), rep('women', 12))), pp = c(rep(c('pre', 'post'), each = 7), rep(c('pre', 'post'), each =

Re: [R] graphs for pretest data

2008-08-23 Thread hadley wickham
On Sat, Aug 23, 2008 at 1:10 PM, Michael Kubovy [EMAIL PROTECTED] wrote: Dear Juliet, Perhaps start here: require(lattice) mwpp - data.frame(y = c(43,42,26,39,60,60,46,40,41,36,42,54, 58,43,46,56,81,56,70,70,44,52,81,59,69,68), sex = rep(c(rep('men', 14), rep('women', 12))),

[R] Graphs in R

2008-06-30 Thread Leandro Marino
Hi list, I want to make a lot of graphics to my end course project. So, i was using this sintax: jpeg(filename = graf01.jpg, width = 1024, height = 1024, units = px, pointsize = 25, quality = 100, bg = grey95, res = NA, restoreConsole = TRUE) i=1

Re: [R] Graphs in R

2008-06-30 Thread Gabor Csardi
paste(sep=, graf, 1:250, .jpg) See ?paste, G. On Mon, Jun 30, 2008 at 11:58:51AM -0300, Leandro Marino wrote: Hi list, I want to make a lot of graphics to my end course project. So, i was using this sintax: jpeg(filename = graf01.jpg, width = 1024, height = 1024, units = px,

Re: [R] Graphs in R

2008-06-30 Thread Henrique Dallazuanna
Try: for(i in 1:10){ jpeg(sprintf(Rplots%02d.jpg, i)) plot(rnorm(20)) dev.off() } On Mon, Jun 30, 2008 at 11:58 AM, Leandro Marino [EMAIL PROTECTED] wrote: Hi list, I want to make a lot of graphics to my end course project. So, i was using this sintax: jpeg(filename =

[R] graphs with gradients of colors

2007-09-17 Thread Van Dongen Stefan
Hi All, I would like to fill the area under a curve with a gradient of colors. Are there any packages or trick I could use Thanks Stefan Stefan Van Dongen Antwerp [[alternative HTML version deleted]] __ R-help@r-project.org mailing