[R] Transparent Bands in R

2009-10-20 Thread mnstn
Hello All, My question is regarding the attached plot. I would like to have multiple transparent green bands running the length (yaxis) of the plot the width of which is determined by the green lines at y=0 in the plot. Can you suggest a way to do it? For those who can't or are unwilling to

Re: [R] Transparent Bands in R

2009-10-21 Thread mnstn
://www.twitpic.com/md2li Thanks! Jim Lemon-2 wrote: On 10/21/2009 09:40 AM, mnstn wrote: Hello All, My question is regarding the attached plot. I would like to have multiple transparent green bands running the length (yaxis) of the plot the width of which is determined by the green lines at y=0

[R] Conditional read-in of data

2009-11-03 Thread mnstn
/conditional data read) etc. but couldn't find relevant conversations. I apologize if this has already been discussed since it does seem hard to imagine that nobody has come across this problem yet. Any suggestions/comments are welcome. Thanks, mnstn -- View this message in context: http

Re: [R] Conditional read-in of data

2009-11-04 Thread mnstn
wanted to visualize (basically to ensure nothing odd is going on) how the data behaves in each quarter of the data w/o making 150 figures/pdf files. In future as my data size increases I will consider using relational databases. Thanks again, mnstn Gabor Grothendieck wrote: 1. You can pipe your

[R] Conditional plot

2010-02-08 Thread mnstn
Hello All, I have the following data set: all [,1] [,2] [1,] 297.04115 286.34645 [2,] 303.94056 270.81590 [3,] 297.87190 290.48009 [4,] 305.81938

Re: [R] Conditional plot

2010-02-08 Thread mnstn
Thanks Dennis and David, That is precisely what I was looking for. I will remember to post the data in a readable format in future. Cheers! -- View this message in context: http://n4.nabble.com/Conditional-plot-tp1473754p1473834.html Sent from the R help mailing list archive at Nabble.com.

[R] Re-execute previous command

2010-02-09 Thread mnstn
Hello All, In bash, to re-execute a command, say, 'gnuplot plot.gnu', one can type !gnu. Is there a similar feature in the R console? For example: plot(g1$mean,g2$mean) . . . Lines, many lines of commands -Here I want to repeat the previous plot command. !plot and plot(+TAB) do not work. This

Re: [R] Re-execute previous command

2010-02-09 Thread mnstn
Thanks David, I guess I have to settle with the upper-arrow thing I have been doing all along. My figures do not return any value so ggplot, lattice are out. -- View this message in context: http://n4.nabble.com/Re-execute-previous-command-tp1474629p1474813.html Sent from the R help mailing

Re: [R] Re-execute previous command

2010-02-10 Thread mnstn
Anita and Greg, Thank you for the useful information. -- View this message in context: http://n4.nabble.com/Re-execute-previous-command-tp1474629p1475397.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing

[R] Multiple figures margin problem

2010-02-12 Thread mnstn
Hello All, I am trying to make a figure with 3x2 plots in it. Let us name the plots as such: 1 2 3 4 5 6 I begin my script with: par(mfcol=c(3,2)) par(oma=c(0,0,0,0)) -- This is for a postscript figure so I really don't need the outer margins. d=5 par(mar=c(d,d,d,d)) -- This applies

Re: [R] Multiple figures margin problem

2010-02-12 Thread mnstn
Hello Greg, I tried that and got a similar result. The axes are still hidden. I am studying R Intro and Fig2A and 3B in http://research.stowers-institute.org/efg/R/Graphics/Basics/mar-oma/index.htm . They seem to indicate that the mar parameter alone controls the visibility of axis labels. Am I

Re: [R] Multiple figures margin problem

2010-02-15 Thread mnstn
Hi Greg, This is precisely what I want. xaxt/yaxt='n' did the trick. Thanks for pointing it out. MoonStone -- View this message in context: http://n4.nabble.com/Multiple-figures-margin-problem-tp1490455p1556134.html Sent from the R help mailing list archive at Nabble.com.

[R] Help with calculating entropy of data

2010-03-15 Thread mnstn
Hello All, My question is not directly related to R but rather on which statistical method I should look in to for capturing the entropy of a data-set as a number. In this figure http://www.twitpic.com/18sob5 are two data sets blue and green (x-axis is time) that fluctuate between (-1,+1).

Re: [R] Help with calculating entropy of data

2010-03-18 Thread mnstn
Thanks Marsh, I'll look in to those references. MS -- View this message in context: http://n4.nabble.com/Help-with-calculating-entropy-of-data-tp1593954p1597963.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org

[R] Insert .eps files in to an R plot.

2010-03-25 Thread mnstn
Hello Everybody, I have an eps figure an awesome bacteria and a plot (generated using R) also in eps format. Now it looks like there is space for only one figure and I have to insert the picture of the bacteria into the plot. Is there a way to insert figures (eps/png/jpg) in to plots (may be