Re: [R] Plots not showing up in the RStudio plot pane

2022-02-27 Thread Md. Moyazzem Hossain
Dear Jeff Newmiller Thank you very much for your reply. Take care. Hossain On Sat, Feb 26, 2022 at 10:30 PM Jeff Newmiller wrote: > This mailing list is about R, not RStudio [1]. RStudio normally sets up > the default graphics device to be their IDE device, but details as to why > that behav

Re: [R] Plots not showing up in the RStudio plot pane

2022-02-27 Thread Edjabou Vincent
Hej Try maybe: dev.off() before plotting. Regards, Vincent Edjabou Mobile: +45 31 95 99 33 linkedin.com/vincent Orcid: -0003-2849-6151 On Sat, Feb 26, 2022 at 11:04 PM Md. Moyazzem Hossain wrote: > Dear R-experts, > > I hope that

Re: [R] Plots in ioslides and R markdown

2018-08-26 Thread Duncan Murdoch
On 26/08/2018 4:40 AM, Patrick Connolly wrote: On Sat, 25-Aug-2018 at 08:10PM -0400, Duncan Murdoch wrote: |> On 25/08/2018 7:37 PM, Patrick Connolly wrote: |> >On Sat, 25-Aug-2018 at 07:53AM -0400, Duncan Murdoch wrote: |> > |> >|> On 25/08/2018 6:21 AM, Patrick Connolly wrote: |> >|> >--- |> >

Re: [R] Plots in ioslides and R markdown

2018-08-26 Thread Patrick Connolly
On Sat, 25-Aug-2018 at 08:10PM -0400, Duncan Murdoch wrote: |> On 25/08/2018 7:37 PM, Patrick Connolly wrote: |> >On Sat, 25-Aug-2018 at 07:53AM -0400, Duncan Murdoch wrote: |> > |> >|> On 25/08/2018 6:21 AM, Patrick Connolly wrote: |> >|> >--- |> >|> >title: "Barking up the wrong tree" |> >|> >au

Re: [R] Plots in ioslides and R markdown

2018-08-25 Thread Jeff Newmiller
a) Duncan, he provided sessionInfo below his reprex. b) Patrick: you appear to be trying to use a common file to generate multiple output formats. I will caution you that I have found considerable disappointment in trying that, and suggest that you focus your efforts on one output format for ea

Re: [R] Plots in ioslides and R markdown

2018-08-25 Thread Duncan Murdoch
On 25/08/2018 7:37 PM, Patrick Connolly wrote: On Sat, 25-Aug-2018 at 07:53AM -0400, Duncan Murdoch wrote: |> On 25/08/2018 6:21 AM, Patrick Connolly wrote: |> >--- |> >title: "Barking up the wrong tree" |> >author: "Patrick Connolly" |> >date: "`r format(Sys.time(), '%a %d/%m/%Y %H:%M')`" |> >o

Re: [R] Plots in ioslides and R markdown

2018-08-25 Thread Patrick Connolly
On Sat, 25-Aug-2018 at 07:53AM -0400, Duncan Murdoch wrote: |> On 25/08/2018 6:21 AM, Patrick Connolly wrote: |> >--- |> >title: "Barking up the wrong tree" |> >author: "Patrick Connolly" |> >date: "`r format(Sys.time(), '%a %d/%m/%Y %H:%M')`" |> >output: |> > ioslides_presentation: default |> >

Re: [R] Plots in ioslides and R markdown

2018-08-25 Thread Duncan Murdoch
On 25/08/2018 6:21 AM, Patrick Connolly wrote: --- title: "Barking up the wrong tree" author: "Patrick Connolly" date: "`r format(Sys.time(), '%a %d/%m/%Y %H:%M')`" output: ioslides_presentation: default slidy_presentation: default beamer_presentation: default --- ```{r global_options,

Re: [R] Plots in ioslides and R markdown

2018-08-25 Thread Patrick Connolly
I've simplified it so that it's reproducible: --- title: "Barking up the wrong tree" author: "Patrick Connolly" date: "`r format(Sys.time(), '%a %d/%m/%Y %H:%M')`" output: ioslides_presentation: default slidy_presentation: default beamer_presentation: default --- ```{r global_options, echo

Re: [R] Plots in ioslides and R markdown

2018-08-24 Thread Patrick Connolly
On Thu, 23-Aug-2018 at 07:23AM -0700, Jeff Newmiller wrote: |> This is not reproducible because you have not provided the plot |> code or sample data. Output of sessionInfo would probably be |> appropriate as well. I took it as read that the plotting functions themselves aren't an issue since the

Re: [R] Plots in ioslides and R markdown

2018-08-24 Thread Jeff Newmiller
a) Keep the mailing list in the conversation... someone else may have useful input, and others may benefit from reading the discussion. b) If the issue can be reproduced on your end with something like a basic plot(mpg~disk, data=mtcars) call, then you should use that instead of your complicate

Re: [R] Plots in ioslides and R markdown

2018-08-23 Thread Jeff Newmiller
This is not reproducible because you have not provided the plot code or sample data. Output of sessionInfo would probably be appropriate as well. As to whether needing to load objects is typical... yes, rmarkdown runs from a fresh environment to emphasize reproducibility, but your load command i

[R] Plots in ioslides and R markdown

2018-08-23 Thread Patrick Connolly
I'm having difficulty getting plots into ioslides. It seems to me that the scale is completely out, but I can't figure out what to do about it. Whatever I try, I get the title slide, then a second with a horizontal line and a vertical line in the bottom right corner. It looks like a badly scaled

Re: [R] problem with the behaviour of dashed lines in R plots

2017-12-04 Thread Duncan Mackay
boun...@r-project.org] On Behalf Of jean-philippe Sent: Tuesday, 5 December 2017 04:14 To: R mailing list Subject: [R] problem with the behaviour of dashed lines in R plots dear R users, I am performing a linear regression with lm, and I would like to plot the regressor in dashed lines. I know that the

Re: [R] problem with the behaviour of dashed lines in R plots

2017-12-04 Thread Eric Berger
Hi, Sarah's last comment about using min/max x got me thinking. It's not that the points are "very close together", it's that the x-values are not ordered. So the plot is actually drawing a dashed line back-and-forth between different points on the line, which has the effect of making the result ap

Re: [R] problem with the behaviour of dashed lines in R plots

2017-12-04 Thread jean-philippe
hi Sarah, Thanks a lot for having taken time to answer me and for your reply. I wonder how I missed this solution. Indeed plotting the line with the 2 extreme data points works perfectly. Best, Jean-Philippe Fontaine On 04/12/2017 18:30, Sarah Goslee wrote: It's because you are plottin

Re: [R] problem with the behaviour of dashed lines in R plots

2017-12-04 Thread Sarah Goslee
Hi, It's because you are plotting a line between each of the points in your data frame, and they are very close together: > cbind(df1$B,predict(regressor,df1)) [,1] [,2] 1 1.410832 -13.96466 2 1.589383 -15.21169 3 1.446662 -14.21491 4 1.488665 -14.50826 5 1.487035 -14.49687 6 1.

[R] problem with the behaviour of dashed lines in R plots

2017-12-04 Thread jean-philippe
dear R users, I am performing a linear regression with lm, and I would like to plot the regressor in dashed lines. I know that the lty=2 option is the way out, but it has a very strange behaviour: the line starts dashed but then the spaces between each dash becomes very tiny and so the line b

Re: [R] Plots for lmrob function

2016-05-22 Thread varin sacha via R-help
Perfect, many thanks Best S De : David Winsemius À : varin sacha Cc : R-help Mailing List Envoyé le : Vendredi 20 mai 2016 21h13 Objet : Re: [R] Plots for lmrob function > On May 20, 2016, at 8:28 AM, varin sacha via R-help > wrote: > > Dear R-helpers, > &g

Re: [R] Plots for lmrob function

2016-05-20 Thread David Winsemius
> On May 20, 2016, at 8:28 AM, varin sacha via R-help > wrote: > > Dear R-helpers, > > I have fitted a robust regression using lmrob function from robustbase > package. I try to get the different plots for diagnostics of residuals and > others. I can't get them, a window opens but nothing ap

[R] Plots for lmrob function

2016-05-20 Thread varin sacha via R-help
Dear R-helpers, I have fitted a robust regression using lmrob function from robustbase package. I try to get the different plots for diagnostics of residuals and others. I can't get them, a window opens but nothing appears on it (the window remains white, no graph appears) and I get this error

Re: [R] Plots Help

2015-09-05 Thread Dan D
length(post) is 1 (i.e., it is just a single function), but length(post(t)) == length(t) -- View this message in context: http://r.789695.n4.nabble.com/Plots-Help-tp4711894p4711897.html Sent from the R help mailing list archive at Nabble.com. __ R-he

Re: [R] Plots Help

2015-09-05 Thread Dan D
As written, the code does not run because you are trying to plot post vs. t. Try instead: plot(t, post(t)), or, more simply, plot(t, dbeta(t,1.05,30)) -Dan -- View this message in context: http://r.789695.n4.nabble.com/Plots-Help-tp4711894p4711896.html Sent from the R help mailing list archive

Re: [R] Plots without X11 in CentOS

2015-04-25 Thread peter dalgaard
> On 25 Apr 2015, at 05:57 , Sudip Chatterjee wrote: > > Hi Peter, > > I did the same but I received an error stating X11 is not available. Hm?? Did something change while I wasn't looking? I'd expect PDF to be handled by the postscript driver and be independent of X11. Could you show a t

Re: [R] Plots without X11 in CentOS

2015-04-24 Thread Sudip Chatterjee
Hi Peter, I did the same but I received an error stating X11 is not available. On Fri, Apr 24, 2015 at 8:11 PM, peter dalgaard wrote: > Plot directly to the appropriate device, e.g. > > pdf(file="my.pdf") > plot(rnorm(500)) > dev.off() > > This is often recommendable even if you do have an on-

Re: [R] Plots without X11 in CentOS

2015-04-24 Thread peter dalgaard
Plot directly to the appropriate device, e.g. pdf(file="my.pdf") plot(rnorm(500)) dev.off() This is often recommendable even if you do have an on-screen graphics device because some subtleties can get lost in translation for one device to another. (The prototypical example is that a legend box

[R] Plots without X11 in CentOS

2015-04-24 Thread Sudip Chatterjee
Hi All, I am wondering how to save plots in R at CentOS when X11 is not available, any suggestion would be appreciated. Warm Regards Sudip [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] title of r plots

2015-02-28 Thread William Dunlap
Use help("plotmath") to see all the details - you can use tildes for spaces, asterisks for no spaces. Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Feb 27, 2015 at 8:52 PM, li li wrote: > > Thanks very much. > Also How do add an empty space when using expression()? > When I do the follow

Re: [R] title of r plots

2015-02-27 Thread li li
Thanks very much. Also How do add an empty space when using expression()? When I do the following, it returns an error message. plot(1,1,main=expression(-70*degree*C%+-%10*degree*C/Ambient Condition)) Hanna 2015-02-27 23:03 GMT-05:00 William Dunlap : > plot(1,1,main=expression(-70*degre

Re: [R] title of r plots

2015-02-27 Thread William Dunlap
plot(1,1,main=expression(-70*degree*C%+-%10*degree*C/Ambient)) Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Feb 27, 2015 at 7:27 PM, li li wrote: > Hi all, > I would like to add "-70°C ± 10°C/Ambient" as the title of my plot. > Could anyone give some help on this? > Thanks. >

[R] title of r plots

2015-02-27 Thread li li
Hi all, I would like to add "-70°C ± 10°C/Ambient" as the title of my plot. Could anyone give some help on this? Thanks. Hanna [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see htt

Re: [R] plots on log="y" scale with smooths

2014-09-17 Thread David Winsemius
On Sep 17, 2014, at 4:34 PM, Michael Friendly wrote: In the following example, I am trying to plot a response on a log scale, and add one or more smoothed curves, e.g., lowess and abline. In base graphics, I'd like to do this using log="y", so that the Y axis is spaced on the log scale, but

[R] plots on log="y" scale with smooths

2014-09-17 Thread Michael Friendly
In the following example, I am trying to plot a response on a log scale, and add one or more smoothed curves, e.g., lowess and abline. In base graphics, I'd like to do this using log="y", so that the Y axis is spaced on the log scale, but labeled as the actual response values. Using ggplot2, I'

Re: [R] Label customization in R plots

2014-04-28 Thread Jim Lemon
On 04/29/2014 03:47 AM, Ayan Mitra wrote: Hi all, I am a new comer in R . i am trying to figure out how to put in the label of a plot the basic statistics values like mean= no of data = media = chi-square = in a box. I tried a lot to se

Re: [R] Label customization in R plots

2014-04-28 Thread Bert Gunter
See also ?panel.text for lattice. This presumes that you know how to use panel functions, however. -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." H. Gilbert Welch On Mon, A

Re: [R] Label customization in R plots

2014-04-28 Thread David Carlson
Cc: r-help@r-project.org Subject: Re: [R] Label customization in R plots On Apr 28, 2014, at 10:47 AM, Ayan Mitra wrote: > Hi all, > I am a new comer in R . i am trying to figure out how to put in the > label of a plot the basic statistics values like mean= >

Re: [R] Label customization in R plots

2014-04-28 Thread David Winsemius
On Apr 28, 2014, at 10:47 AM, Ayan Mitra wrote: > Hi all, > I am a new comer in R . i am trying to figure out how to put in the > label of a plot the basic statistics values like mean= > no of data = > media = > chi-square = In base graphics yo

[R] Label customization in R plots

2014-04-28 Thread Ayan Mitra
ne as yet. Thanks in advance for suggestions. Ayan. -- View this message in context: http://r.789695.n4.nabble.com/Label-customization-in-R-plots-tp4689616.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing

Re: [R] plots

2014-03-14 Thread David Stevens
David Carlson's solution is obviously better! (sorry, I just saw it) David Stevens On 3/14/2014 4:57 PM, David Stevens wrote: Renalda - your figure got stripped out. I'll assume you mean to have depth on the vertical axis with a zero at the top and increasing (+) depth as you go down. This is

Re: [R] plots

2014-03-14 Thread David Stevens
Renalda - your figure got stripped out. I'll assume you mean to have depth on the vertical axis with a zero at the top and increasing (+) depth as you go down. This is pretty simple to do. 1) use the (-) of depth on the y-axis 2) make the plot without the y-axis labels (yaxt='n') using ylim=c

Re: [R] plots

2014-03-14 Thread Jim Lemon
On 03/14/2014 06:55 PM, Renalda Munubi-Misinzo wrote: I would like to have a plot with values in a reversed order (as shown in fig 2). I tried to plot the graph in R using the following codes plot(density,depth,pch=as.numeric(species),xlab="fish density (#/m2)",ylab="water depth (m)") legend(

Re: [R] plots

2014-03-14 Thread David Carlson
ent of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Renalda Munubi-Misinzo Sent: Friday, March 14, 2014 2:55 AM To: r-help@r-project.org Subject: [R] plots I wou

[R] plots

2014-03-14 Thread Renalda Munubi-Misinzo
I would like to have a plot with values in a reversed order (as shown in fig 2). I tried to plot the graph in R using the following codes plot(density,depth,pch=as.numeric(species),xlab="fish density (#/m2)",ylab="water depth (m)") legend(locator(n=1),legend=c("Tropheus brichardi","Petrochromis

[R] plots

2014-03-14 Thread Renalda Munubi-Misinzo
I would like to have a plot with values in a reversed order (as shown in fig 2). I tried to plot the graph in R using the following codes plot(density,depth,pch=as.numeric(species),xlab="fish density (#/m2)",ylab="water depth (m)") legend(locator(n=1),legend=c("Tropheus brichardi","Petrochromis

Re: [R] Plots with Y axis split into two scales

2014-02-27 Thread John Kane
Here, here. John Kane Kingston ON Canada > -Original Message- > From: 538...@gmail.com > Sent: Wed, 26 Feb 2014 10:07:12 -0700 > To: j...@mail.bitwrit.com.au, achim.zeil...@r-project.org > Subject: Re: [R] Plots with Y axis split into two scales > > I nominate

Re: [R] Plots with Y axis split into two scales

2014-02-26 Thread MacQueen, Don
Imagine you were plotting two sets, (x1, y1) and (x2, y2) on the same plot, where x1 and x2 have the same range, but y1 and y2 need different axis scales. Here's an example that I think illustrates the idea. It's a long way from being general, and if I were making it into a function in a package,

Re: [R] Plots with Y axis split into two scales

2014-02-26 Thread Greg Snow
I nominate the following for the fortunes package. > . I still don't think it would be fair to the data, and you > don't want those data liberation people parading around your laboratory > with pictures of helpless data being devoured by a Babbage Difference > Engine. -- Gregory (Greg) L. Sno

Re: [R] Plots with Y axis split into two scales

2014-02-25 Thread Peter Alspach
: Re: [R] Plots with Y axis split into two scales > I have a "Y" variable with many values less than 50, and many fewer > between 50 and 250.I'd like to plot those Y's against an X, with two > scales on the Y axis---maybe 60% of the axis height for 0-50 and the >

Re: [R] Plots with Y axis split into two scales

2014-02-25 Thread Jim Lemon
> I have a "Y" variable with many values less than 50, and many fewer > between 50 and 250.I'd like to plot those Y's against an X, with two > scales on the Y axis---maybe 60% of the axis height for 0-50 and the top > 40% for 50-250.(I can't use log(Y) because there are many zeroes, and > that is t

Re: [R] Plots with Y axis split into two scales

2014-02-25 Thread Jeff Newmiller
Please be a good netizen and post plain text on the list. Jim can probably point you to some plotrix function that will do what you ask, but I would encourage you to plot the data twice rather than confusing the audience with nonlinear (discontinuous) scales in a single plot. ---

Re: [R] Plots with Y axis split into two scales

2014-02-25 Thread Greg Snow
One option is the gap.plot function in the plotrix package. On Tue, Feb 25, 2014 at 10:18 AM, David Parkhurst wrote: > I have a "Y" variable with many values less than 50, and many fewer > between 50 and 250.I'd like to plot those Y's against an X, with two > scales on the Y axis---maybe 60% of t

[R] Plots with Y axis split into two scales

2014-02-25 Thread David Parkhurst
I have a "Y" variable with many values less than 50, and many fewer between 50 and 250.I'd like to plot those Y's against an X, with two scales on the Y axis---maybe 60% of the axis height for 0-50 and the top 40% for 50-250.(I can't use log(Y) because there are many zeroes, and that is the mos

Re: [R] understanding cex (R plots)

2013-02-26 Thread Martin Batholdy
thank you! It seems like the problem was the layout-function automatically changing the cex parameter for the subplots. adding par(cex =1) after the layout() call solved it. Now, character expansion levels seem equal across plots. On Feb 27, 2013, at 00:57 , Greg Snow <538...@gmail.com> wrote:

Re: [R] understanding cex (R plots)

2013-02-26 Thread Greg Snow
Have you queried the value of 'cex' and related parameters at the different time points? The help page for par says that when you set mfcol or mfrow that cex is changed, but I don't know if the layout function also changes those or not. I would start by peppering your code with calls to par('cex'

[R] understanding cex (R plots)

2013-02-26 Thread Martin Batholdy
Hi, I try to make multiple plots look as similar as possible. I create each plot with pdf(), using the same height but different width in inch. For some plots I use the layout() function to draw multiple subplots side by side in one pdf. For each plot I use the same cex values for the differe

Re: [R] plots for presentation

2012-10-12 Thread Greg Snow
Duncan's answer is probably the easiest, but another alternative is to use the tikz device instead of .eps files, then you can find the code within the figure for the parts that you want to appear later and enclose them in the beamer commands that will make them appear later. Unfortunately this is

Re: [R] plots for presentation

2012-10-11 Thread Duncan Murdoch
On 11/10/2012 1:08 PM, mamush bukana wrote: Dear users, I am preparing a presentation in latex(beamer) . I would like to show parts of my plots per click. Example, consider I have two time series x and y: x<-ts(rnorm(100), start=1900,end=1999) y<-ts(rnorm(100), start=1900,end=1999) plot(x) lines

[R] plots for presentation

2012-10-11 Thread mamush bukana
Dear users, I am preparing a presentation in latex(beamer) . I would like to show parts of my plots per click. Example, consider I have two time series x and y: x<-ts(rnorm(100), start=1900,end=1999) y<-ts(rnorm(100), start=1900,end=1999) plot(x) lines(y,col=2) Then I imported this plot into late

[R] plots for residual analysis

2012-01-06 Thread jose romero
Hello List: I'm writing in R some code to produce plots for residual analysis and diagnostics in linear regressions.  An example of the plots produced is given for downloading at http://dl.dropbox.com/u/25445316/res_plots.png .  Regarding the example plot, I'd like to point out that: 1) Tendenc

Re: [R] Labelling R plots using Greek letters

2011-12-11 Thread Yihui Xie
A short answer is you can consider the tikzDevice package; then a long (really really long) answer is this: http://yihui.github.com/knitr/demo/graphics/ Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames,

Re: [R] Labelling R plots using Greek letters

2011-12-11 Thread David Winsemius
On Dec 11, 2011, at 6:38 PM, john james wrote: Dear R Users, Please I have the following query. I want to label one of the axes of my graph with the follwing latex expression- \beta^{\prime}x, i.e I have the transpose of beta. How do I go abt this. My second query is similar but it has

[R] Labelling R plots using Greek letters

2011-12-11 Thread john james
Dear R Users, Please I have the following query. I want to label  one of the axes of my graph with the follwing latex expression- \beta^{\prime}x, i.e I have the transpose of beta. How do I go abt this. My second query is similar but it has to do with the conditioning symbol. The other axis

Re: [R] A questions regarding R plots

2011-10-19 Thread Jackie Jia Zhou
Thanks for this email, Sarah. I used the package 'Vennerable'. Here is the sample code I used to generate the plot. -- set1 <- ('snp1', 'snp2', 'snp3') set2 <- ('snp2', 'snp5', 'snp6') set3 <- ('snp1','snp7','snp8','s

Re: [R] A questions regarding R plots

2011-10-19 Thread Patrick Connolly
On Wed, 19-Oct-2011 at 09:21AM -0700, karena wrote: |> Hi Dear all, |> |> I am making Venn Diagram plots in R. I attached an example: |> http://r.789695.n4.nabble.com/file/n3919206/venn.jpeg |> |> I want to get rid of the black boarder line, is there any way to do it? Don't draw it in the fir

Re: [R] A questions regarding R plots

2011-10-19 Thread Sarah Goslee
Hi Karena, On Wed, Oct 19, 2011 at 12:21 PM, karena wrote: > Hi Dear all, > > I am making Venn Diagram plots in R. I attached an example: > http://r.789695.n4.nabble.com/file/n3919206/venn.jpeg > > I want to get rid of the black boarder line, is there any way to do it? Probably. But there are a

[R] A questions regarding R plots

2011-10-19 Thread karena
/A-questions-regarding-R-plots-tp3919206p3919206.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-project.org

[R] Questions regarding R plots

2011-10-19 Thread karena
context: http://r.789695.n4.nabble.com/Questions-regarding-R-plots-tp3919144p3919144.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

Re: [R] Help with R plots

2011-10-12 Thread Jeff Newmiller
All complete newbies should read the posting guide referenced at the bottom of every message. One of the rules mentioned there is that this is not the appropriate venue for homework questions, since you have an instructor to get you up to speed. When you finish the course and are familiar with t

Re: [R] Help with R plots

2011-10-12 Thread Weidong Gu
try hist(gender$HeartRate,main='Histogram: HeartRate distribution for Temperature Data') Weidong Gu On Wed, Oct 12, 2011 at 8:44 PM, Jonathan Edwin wrote: > Hi all, > > Mind my ignorance and complete newbiness, but I am very new to R and am > currently learning it through my stats course at un

[R] Help with R plots

2011-10-12 Thread Jonathan Edwin
Hi all, Mind my ignorance and complete newbiness, but I am very new to R and am currently learning it through my stats course at university. My question is regarding adding titles to plots. I'll post the code below, and then explain my issue: > hist(gender$HeartRate) > title(Histogram: HeartRate

Re: [R] plots of correlation matrices

2011-10-11 Thread Dénes TÓTH
> Hi, > > One way to do that is this (avoiding the use of a for loop): > > > l.txt<- "id category attribute1 attribute2 attribute3 attribute4 > 661 SCHS 43.2 0 56.5 1 > 12202 SCHS 161.7 5.7 155 16 > 1182 SCHS 21.4 0 29 0 > 1356 SSS 8.8182 0.1818 10.6667 0.6667 > 1864 SCHS 443.7273 9.9091 537 4

Re: [R] plots of correlation matrices

2011-10-11 Thread Carlos Ortega
Hi, One way to do that is this (avoiding the use of a for loop): l.txt<- "id category attribute1 attribute2 attribute3 attribute4 661 SCHS 43.2 0 56.5 1 12202 SCHS 161.7 5.7 155 16 1182 SCHS 21.4 0 29 0 1356 SSS 8.8182 0.1818 10.6667 0.6667 1864 SCHS 443.7273 9.9091 537 46 12360 SOA 6.6364 0 1

[R] plots of correlation matrices

2011-10-11 Thread gj
Hi, I want to do a visualisation of a matrix plot made up of several plots of correlation matrices (using corrplot()). My data is in csv format. Here's an example: id,category,attribute1,attribute2,attribute3,attribute4 661,SCHS,43.2,0,56.5,1 12202,SCHS,161.7,5.7,155,16 1182,SCHS,21.4,0,29,0 1356

Re: [R] Giant font on the R plots...

2011-10-04 Thread Uwe Ligges
cex.lab). Uwe Ligges I tried cex.lab = 0.5, it helped only with the y axis and not the x-axis... Any help please?! -- View this message in context: http://r.789695.n4.nabble.com/Giant-font-on-the-R-plots-tp3870335p3870335.html Sent from the R help mailing list archive at Nabble.com. __

[R] Giant font on the R plots...

2011-10-04 Thread D.Emad
ith the y axis and not the x-axis... Any help please?! -- View this message in context: http://r.789695.n4.nabble.com/Giant-font-on-the-R-plots-tp3870335p3870335.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mail

Re: [R] convert R plots into annotated web-graphics

2011-08-10 Thread danreb
Hi, Does anyone have feed back on using flot (javascript plotting library) for R data (e.g. ggplot2) visualisation on the web? Thanks for your comments, -- View this message in context: http://r.789695.n4.nabble.com/convert-R-plots-into-annotated-web-graphics-tp1471984p3734407.html Sent

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-22 Thread Jannis
help. Adele -Original Message- From: bt_jan...@yahoo.de [mailto:bt_jan...@yahoo.de] Sent: Wednesday, May 18, 2011 04:53 PM To: Thompson, Adele - adele_thomp...@cargill.com Cc: r-help@r-project.org Subject: Re: [R] Plots: I've deleted axes, now to delete space On 05/16/2011 06:18 PM, a

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-18 Thread Adele_Thompson
Cc: r-help@r-project.org Subject: Re: [R] Plots: I've deleted axes, now to delete space On 05/16/2011 06:18 PM, adele_thomp...@cargill.com wrote: > Re-sizing within the dev command works well. I'm not sure why I would need > the dev.off(). I have the plot commands run. Then I

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-18 Thread Jannis
annis -Original Message- From: greg.s...@imail.org [mailto:greg.s...@imail.org] Sent: Monday, May 16, 2011 11:11 AM To: Thompson, Adele - adele_thomp...@cargill.com; r-help@r-project.org Subject: RE: [R] Plots: I've deleted axes, now to delete space If your goal is to end up with a

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-16 Thread Adele_Thompson
2011 11:11 AM To: Thompson, Adele - adele_thomp...@cargill.com; r-help@r-project.org Subject: RE: [R] Plots: I've deleted axes, now to delete space If your goal is to end up with a pdf file, then I would suggest creating the pdf file directly using the pdf function (you can specify height an

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-16 Thread Greg Snow
-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Schatzi Sent: Monday, May 16, 2011 8:41 AM To: r-help@r-project.org Subject: Re: [R] Plots: I've deleted axes, now to delete space I am outputting the plot to a pdf file using the code: dev.copy2pdf(file="t

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-16 Thread Adele_Thompson
gunter.ber...@gene.com [mailto:gunter.ber...@gene.com] Sent: Monday, May 16, 2011 10:28 AM To: Thompson, Adele - adele_thomp...@cargill.com Cc: r-help@r-project.org Subject: Re: [R] Plots: I've deleted axes, now to delete space Presumably you have read the help file and tried specifying width and/o

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-16 Thread Bert Gunter
t; a<-seq(1,3,1) >> plot(a,a, ann=FALSE, main= "plot of a vs a") >> } >> mtext("Plot of a vs a",side=3,outer=TRUE) >> >> >> -Original Message- >> From: murdoch.dun...@gmail.com [mailto:murdoch.dun...@gmail.com] >> Sent: F

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-16 Thread Schatzi
a,a, ann=FALSE, main= "plot of a vs a") > } > mtext("Plot of a vs a",side=3,outer=TRUE) > > > -Original Message- > From: murdoch.dun...@gmail.com [mailto:murdoch.dun...@gmail.com] > Sent: Friday, May 13, 2011 03:25 PM > To: Thompson, Adele - adel

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-13 Thread Adele_Thompson
riday, May 13, 2011 03:25 PM To: Thompson, Adele - adele_thomp...@cargill.com Cc: greg.s...@imail.org; r-help@r-project.org Subject: Re: [R] Plots: I've deleted axes, now to delete space On 11-05-13 4:21 PM, adele_thomp...@cargill.com wrote: > Easy fix. Under ?par, I don't see where

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-13 Thread Greg Snow
age- > From: adele_thomp...@cargill.com [mailto:adele_thomp...@cargill.com] > Sent: Friday, May 13, 2011 2:21 PM > To: Greg Snow; r-help@r-project.org > Subject: RE: [R] Plots: I've deleted axes, now to delete space > > Easy fix. Under ?par, I don't see where I can ent

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-13 Thread Duncan Murdoch
riginal Message- From: greg.s...@imail.org [mailto:greg.s...@imail.org] Sent: Friday, May 13, 2011 03:17 PM To: Thompson, Adele - adele_thomp...@cargill.com; r-help@r-project.org Subject: RE: [R] Plots: I've deleted axes, now to delete space Look at the help for par, specifically the sec

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-13 Thread Adele_Thompson
elp@r-project.org Subject: RE: [R] Plots: I've deleted axes, now to delete space Look at the help for par, specifically the section on 'mar' to set the per plot margins smaller and the section on 'oma' to leave room for the overall title. -- Gregory (Greg) L. Snow Ph.D. Statist

Re: [R] Plots: I've deleted axes, now to delete space

2011-05-13 Thread Greg Snow
11 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Schatzi > Sent: Friday, May 13, 2011 2:13 PM > To: r-help@r-project.org > Subject: [R] Plots: I've deleted axes, now to delete space > > I am plotting

[R] Plots: I've deleted axes, now to delete space

2011-05-13 Thread Schatzi
I am plotting 28 plots on one screen: par(mfrow=c(4,7)) for (i in 1:28) { a<-seq(1,3,1) plot(a,a, ann=FALSE) } I want a main title for all the plots (I tried using main but that doesn't work). I deleted the axes, but am not sure how to delete the space. There are such large margins between plots

Re: [R] How to get R plots with FastRweb

2011-04-20 Thread Simon Urbanek
Devi, FastRWeb doesn't use Java - it is entirely R based so all you need is a web server with either CGI or PHP. The client it uses is either a C++ client (part of FastRWeb in the cgi-bin directory of the installed package - just copy to you server's cgi-bin) or a PHP client (in Rserve/src/clie

[R] How to get R plots with FastRweb

2011-04-20 Thread MLSC MANIPAL
Dear friends, I am working in a web service project which uses integration of Java with R. I have used RJava to connect with Java and that is working fine. As R produces more interactive plots, I would also like to pipe plots generate from R on web page. I came to know that FastRWeb, R2HTML, brew

Re: [R] R plots pdf() does not allow spotcolors?

2011-04-13 Thread mat
ll now did not need any other software. But I am scared we will need use kind of Indesign& co softwares to be able to use our R plots, since R can't export into spotcolor... I've just had a look into how PostScript handles spot colours, having been hacking PS files for many yea

Re: [R] R plots pdf() does not allow spotcolors?

2011-04-13 Thread baptiste auguie
ually have LaTeX produce the pdf image with spot colors. Worth a try, perhaps. baptiste [*] http://wiki.contextgarden.net/Colors#In_TikZ On 13 April 2011 21:15, Matthieu Stigler wrote: > Hi > > We are about to publish a book, which contains figures made with R plots. An > important d

Re: [R] R plots pdf() does not allow spotcolors?

2011-04-13 Thread Jeremy Hetzel
By the way, I had trouble importing PDFs into Scribus 1.3.3. However, Scribus 1.4.0rc3 had no problem opening multi-page PDFs, assuming the appropriate Ghostscript was also installed (I'm on Windows 7 at the moment). So Matthieu might be able to combine all of his figures into a single PDF, c

Re: [R] R plots pdf() does not allow spotcolors?

2011-04-13 Thread Barry Rowlingson
On Wed, Apr 13, 2011 at 5:26 PM, Jeremy Hetzel wrote: > Scribus claims to be able to convert RGB/CMYK colors to spot colors: > http://documentation.scribus.net/index.php/Spot_Colors > > I've never used Scribus, but it's floss. Scribus can import output from R's svg driver (with at least some deg

Re: [R] R plots pdf() does not allow spotcolors?

2011-04-13 Thread Jeremy Hetzel
Scribus claims to be able to convert RGB/CMYK colors to spot colors: http://documentation.scribus.net/index.php/Spot_Colors I've never used Scribus, but it's floss. Jeremy __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] R plots pdf() does not allow spotcolors?

2011-04-13 Thread Barry Rowlingson
esign & co softwares to be able > to use our R plots, since R can't export into spotcolor... I've just had a look into how PostScript handles spot colours, having been hacking PS files for many years its not something I'd played with before. This page gave me a PS file

Re: [R] R plots pdf() does not allow spotcolors?

2011-04-13 Thread Matthieu Stigler
Jim Thanks for your feedback! The problem is that the people "those responsible for layout" are us... We are doing the book in Latex, and till now did not need any other software. But I am scared we will need use kind of Indesign & co softwares to be able to use our R plots,

Re: [R] R plots pdf() does not allow spotcolors?

2011-04-13 Thread Hadley Wickham
> Even so, this would depend on what your publisher/printer > requires in what you submit. It would be important to obtain > from them a full and exact specification of what they require > for colour printing in files submitted to them for printing. No one else has mentioned this, but the publishe

  1   2   >