Re: [R] Plot help

2016-03-19 Thread Jim Lemon
Hi Andre, Try this: plot(x= Index, y=Values, ylim= c(-16,16), pch= 19, col = "blue",yaxt="n") points (Log, pch = 19, col="green") axis(2,at=seq(-16,16,by=4)) Jim On Thu, Mar 17, 2016 at 8:32 AM, André Luis Neves wrote: > Dear all: > > > I was wondering how I modify the

[R] Plot help

2016-03-18 Thread André Luis Neves
Dear all: I was wondering how I modify the plot command below so that the y-axis displays the numbers in a 4 by 4 scale. It looks like the plot generated by the commands below shows the y-axis in a 5 by 5 scale: Values <- c(1/16, 1/8, 1/4, 1/2, 1, 2, 4, 8, 16) Values Log <- log2(Values)

[R] Plot help

2013-09-12 Thread Moshiur Rahman
Hi R-helpers, Can anyone help me to give hints/packages to make a simple bar plot with mean and standard error of variables (A, C F) that I'd like to plot in X and the values in Y? The factor (sex) should be as legend (Male Female). Actually, I'd prefer to have a plot like the attached Fig.

Re: [R] Plot help

2013-09-12 Thread Jim Lemon
On 09/13/2013 12:48 AM, Moshiur Rahman wrote: Hi R-helpers, Can anyone help me to give hints/packages to make a simple bar plot with mean and standard error of variables (A, C F) that I'd like to plot in X and the values in Y? The factor (sex) should be as legend (Male Female). Actually, I'd

[R] r-plot help-it prints outside frame

2012-10-10 Thread piranha piranha
Hello, i have been doing browns exponential smooting for myself and have a little trouble with plotting values: par(xpd=TRUE) plot(vector,xlab=Period,ylab=Values) legend(max(vector), legend = c(Original values, Estimated values), col=c(blue,red),lwd=0.5, cex=1, xjust=0.1, yjust=-0.3)

Re: [R] r-plot help-it prints outside frame

2012-10-10 Thread Duncan Murdoch
On 12-10-10 5:31 AM, piranha piranha wrote: Hello, i have been doing browns exponential smooting for myself and have a little trouble with plotting values: par(xpd=TRUE) The line above says allow plotting outside the frame. plot(vector,xlab=Period,ylab=Values)

Re: [R] r-plot help-it prints outside frame

2012-10-10 Thread Jessica Streicher
You could set xlim and slim when using plot() plot(vector,xlab=Period,ylab=Values,xlim=range(0,length(vector)+1),ylim=range(vector,est_vector,forecast)) i think - you forgot to provide data for the vectors :) On 10.10.2012, at 11:31, piranha piranha wrote: Hello, i have been doing browns

Re: [R] Plot help

2010-10-21 Thread Jim Lemon
On 10/20/2010 08:34 PM, Peter Francis wrote: Dear List, I am relatively new to R and am trying to create more attractive plots than excel can manage! I have looked through the various programmes ggplot, lattice, hmisc etc but my case seems to be not metnioned, maybe it is but i have not

[R] Plot help

2010-10-20 Thread Peter Francis
Dear List, I am relatively new to R and am trying to create more attractive plots than excel can manage! I have looked through the various programmes ggplot, lattice, hmisc etc but my case seems to be not metnioned, maybe it is but i have not noticed - if this is the case i apologise.

Re: [R] Plot help

2010-10-20 Thread Dennis Murphy
Hi: Your confidence intervals are so short that the size of the point in the graphics region covers the endpoints! You also have a wide range of simulated means (0 - 52) and actual values (0 - 54). Here are some measures of your CIs: with(simvsact, max(simCI.upper - simCI.lower))# maximum

[R] Plot help

2010-10-20 Thread Peter Francis
Dear List, I am relatively new to R and am trying to create more attractive plots than excel can manage! I have looked through the various programmes ggplot, lattice, hmisc etc but my case seems to be not metnioned, maybe it is but i have not noticed - if this is the case i apologise.

Re: [R] Plot help

2010-10-20 Thread jim holtman
I think that your first problem is that you have a very large range of values and the CIs are small in comparison, so you won't see any difference on the plots. Do you want to plot each of the 35 values showing the complete range and then where the actual value lies either inside/outside the

[R] Plot help

2010-03-04 Thread ManInMoon
Is there an easy way to do two things: I have a dataframe with headers and 18 columns I want to plot all the columns on same y axis plot(df) does this. BUT 1. There is no legend, the legend function seems pedantic - surely there must be an easy way to just pick up my headers? 2. How do I

Re: [R] plot help

2008-01-24 Thread Henrique Dallazuanna
Try this: #some data y1=rnorm(1:3) y2=rnorm(1:3) #draw two plots on the same screen par(mfrow=c(2,1),oma = c(6, 0, 5, 0)) par(mar=c(0, 5.1, 0, 5.1)) plot(y1,xaxt=n,type=n) #1st plot par(mar=c(0, 5.1, 0, 5.1)) plot(y2,xaxt=n,type=n) #2nd plot #try to draw lines onto each plot on the screen

Re: [R] plot help

2008-01-24 Thread tom soyer
Thanks Henrique! On 1/24/08, Henrique Dallazuanna [EMAIL PROTECTED] wrote: Try this: #some data y1=rnorm(1:3) y2=rnorm(1:3) #draw two plots on the same screen par(mfrow=c(2,1),oma = c(6, 0, 5, 0)) par(mar=c(0, 5.1, 0, 5.1)) plot(y1,xaxt=n,type=n) #1st plot par(mar=c(0, 5.1, 0, 5.1))

Re: [R] plot help

2008-01-24 Thread Greg Snow
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of tom soyer Sent: Wednesday, January 23, 2008 8:14 PM To: r-help@r-project.org Subject: [R] plot help Hi, Suppose I already have two plots on the same screen, and I want to draw lines in each of them. Is that possible in R? It seems that once

[R] plot help

2008-01-23 Thread tom soyer
Hi, Suppose I already have two plots on the same screen, and I want to draw lines in each of them. Is that possible in R? It seems that once you have two plots on the screen, you can only draw lines in the the last plot, never the 1st. Here is what I mean: #some data y1=rnorm(1:3) y2=rnorm(1:3)