Re: [R] plot background - excel gradient style background ?

2012-06-30 Thread Greg Snow
Here are examples of a histogram and a boxplot using rasterImage to make the background: bg <- matrix( c('#ff','#ff','#ff'), ncol=1 ) tmp <- hist(iris$Sepal.Width) xylim <- par('usr') rasterImage(bg, xylim[1], xylim[3], xylim[2], xylim[4]) plot(tmp, add=TRUE, lwd=3) plot( Petal.Le

Re: [R] plot background - excel gradient style background ?

2012-06-30 Thread Jim Lemon
On 06/30/2012 07:07 AM, jcrosbie wrote: I have a number of different figures I wish to create with a gradient background. In addition to the two examples I've uploaded I need a boxplot, histogram, etc. http://r.789695.n4.nabble.com/file/n4634932/fig1.png fig1.png http://r.789695.n4.nabble.com/f

Re: [R] plot background - excel gradient style background ?

2012-06-29 Thread baptiste auguie
Looking at these, and in retrospect, if I were writing a manuscript of the pre-digital age, I would definitely add a burning mark as a finishing touch to complete the work. Perhaps waving the parchment above a burning candle. With modern digital support, you can fake a similar result using e.g. gr

Re: [R] plot background - excel gradient style background ?

2012-06-29 Thread jcrosbie
I have a number of different figures I wish to create with a gradient background. In addition to the two examples I've uploaded I need a boxplot, histogram, etc. http://r.789695.n4.nabble.com/file/n4634932/fig1.png fig1.png http://r.789695.n4.nabble.com/file/n4634932/fig2.png fig2.png -- View

Re: [R] plot background - excel gradient style background ?

2012-06-05 Thread Greg Snow
Well that answers the question as answer. So while you are working within the system to get your company to change the policy you can use rasterImage to add a gradient background to the plot, then use points or lines or other functions to put the parts of interest back on top of the gradient (if i

Re: [R] plot background - excel gradient style background ?

2012-06-05 Thread jcrosbie
I'm not the one who is choosing to use gradient background. It's our company policy. -- View this message in context: http://r.789695.n4.nabble.com/plot-background-excel-gradient-style-background-tp4632138p4632409.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] plot background - excel gradient style background ?

2012-06-02 Thread Greg Snow
The short answer is "yes". The question as answer is "what is wrong with your data that you feel the need to hide/distort information and distract from the story of the data?". The hopefully thought provoking answer is "fortune(197)". The answer to the question not asked that should have been is

[R] plot background - excel gradient style background ?

2012-06-01 Thread jcrosbie
Is there away of putting an excel style gradient background? I want to have dark blue in the middle and shad to white on the top and bottom. -- View this message in context: http://r.789695.n4.nabble.com/plot-background-excel-gradient-style-background-tp4632138.html Sent from the R help mailing