Re: [R] Perpendicular symbol in plotmath?

2007-05-01 Thread Matthew Neilson
That's fantastic, guys! Thank you very much. Paul's solution will definitely suffice until the perpendicular symbol is implemented in plotmath. -Matt On 1 May 2007, at 00:40, Paul Murrell wrote: Hi Matthew Neilson wrote: Thanks for your response, Gabor. That works quite nicely

[R] Perpendicular symbol in plotmath?

2007-04-28 Thread Matthew Neilson
Hey, Does anyone know of an equivalent to the LaTeX \perp (perpendicular) symbol for adding to R plots? Parallel is easy enough (||), but I haven't been able to find a way of adding perpendicular. The plotmath documentation doesn't mention how to do it, so I'm inclined to think that it doesn't

Re: [R] Perpendicular symbol in plotmath?

2007-04-28 Thread Matthew Neilson
, or is this still the best known solution? Many thanks for your help, -Matt On Sat Apr 28 17:35 , 'Gabor Grothendieck' [EMAIL PROTECTED] sent: Its available in the Hershey fonts: plot(0, 0, type = n) text(0, 0, A \\pp B, vfont = c(serif, plain)) On 4/28/07, Matthew Neilson [EMAIL PROTECTED] wrote

Re: [R] Unwanted white borders on semi-transparent polygons?

2007-04-27 Thread Matthew Neilson
on Windows (using Acrobat 7: Acrobat does not exist on Linux, AFAIK). And reading the PDF produced shows no sign of an extra object for the border. On Fri, 27 Apr 2007, Matthew Neilson wrote: Hey all, I'm trying to create a plot of two semi-transparent regions. The reason they need

Re: [R] Unwanted white borders on semi-transparent polygons?

2007-04-27 Thread Matthew Neilson
a version of FAQ 7.36, which turned out to be the smooth line art flag in Adobe Reader? Roger On Fri, 27 Apr 2007, Matthew Neilson wrote: Thanks for your fast response. I'm using R version 2.1.1 on OS X 10.3.9 to create the pdfs. I have tried viewing the pdf output in both Acrobat 6 and 7 (both

Re: [R] Unwanted white borders on semi-transparent polygons?

2007-04-27 Thread Matthew Neilson
free technical assistance doing their bit.] On Fri, 27 Apr 2007, Matthew Neilson wrote: Thanks for your fast response. I'm using R version 2.1.1 on OS X 10.3.9 to create the pdfs. I have tried viewing the pdf output in both Acrobat 6 and 7 (both display a white border around each polygon

Re: [R] (no subject)

2007-04-27 Thread Matthew Neilson
Hey, The syntax is: if(condition){ #COMMANDS_A } else{ #COMMANDS_B } Hope this helps, -Matt On Fri Apr 27 15:07 , elyakhlifi mustapha [EMAIL PROTECTED] sent: hi, I don't understand my error when I submit this program for(k in LR) { + donRep[[k]] +

Re: [R] Write text in the

2007-04-27 Thread Matthew Neilson
Hey Felix, So basically what you want is a figure containing a block of four plots, with a main title for the figure? If that's the case then something like this should work: # BEGIN CODE # par(oma=c(0,0,1,0), mfrow=c(2,2)) for(i in 1:4){ plot(NA,xlim=range(0,10),ylim=range(-5,5))

Re: [R] Unwanted white borders on semi-transparent polygons?

2007-04-27 Thread Matthew Neilson
, at 13:35, Matthew Neilson wrote: Hi Brian, Terribly sorry if I accidentally broke a rule. sessionInfo() produces the following: sessionInfo() R version 2.2.1, 2005-12-20, powerpc-apple-darwin7.9.0 attached base packages: [1] methods stats graphics grDevices utils datasets [7

[R] Unwanted white borders on semi-transparent polygons?

2007-04-26 Thread Matthew Neilson
Hey all, I'm trying to create a plot of two semi-transparent regions. The reason they need to be partially transparent is so that I can see if there's any overlap. Here's some example code: # BEGIN pdf(file=test.pdf,version=1.4) plot(0,0,type=l,ylim=range(-3,3),xlim=range(-1,5))