Re: [R] Don't understand plotmath behaviour (bug?)

2005-07-30 Thread Peter Dalgaard
Gabor Grothendieck [EMAIL PROTECTED] writes: Numbers, not in characters strings do not come out bold: plot(1:5, type = n) text(x=3,y=3, quote(bold(paste(a==a ~~ 0.5 == 0.5 (what's the paste() for?) ...and it is a design choice of course. Notice that operators are not boldfaced either,

Re: [R] Don't understand plotmath behaviour (bug?)

2005-07-30 Thread Gabor Grothendieck
On 30 Jul 2005 09:16:26 +0200, Peter Dalgaard [EMAIL PROTECTED] wrote: Gabor Grothendieck [EMAIL PROTECTED] writes: Numbers, not in characters strings do not come out bold: plot(1:5, type = n) text(x=3,y=3, quote(bold(paste(a==a ~~ 0.5 == 0.5 (what's the paste() for?) I had a

Re: [R] Don't understand plotmath behaviour (bug?)

2005-07-29 Thread Gabor Grothendieck
Numbers, not in characters strings do not come out bold: plot(1:5, type = n) text(x=3,y=3, quote(bold(paste(a==a ~~ 0.5 == 0.5 On 7/25/05, Wladimir Eremeev [EMAIL PROTECTED] wrote: Dear Thomas, TL In case 1 you have the string 0.5, in case 2 you have the number 0.5. TLtext(x=2,y=2,

[R] Don't understand plotmath behaviour (bug?)

2005-07-25 Thread Wladimir Eremeev
Hello, all Please, consider the following pieces of code. 1. v-0.5 text(x=2,y=2,eval(substitute(expression(bold(S==V)),list(V=formatC(v,format=f,digits=2) This plots S=0.5 in bold. Both S and 0.5 are bold. 2. v-0.5

Re: [R] Don't understand plotmath behaviour (bug?)

2005-07-25 Thread Thomas Lumley
On Mon, 25 Jul 2005, Wladimir Eremeev wrote: Hello, all Please, consider the following pieces of code. 1. v-0.5 text(x=2,y=2,eval(substitute(expression(bold(S==V)),list(V=formatC(v,format=f,digits=2) This plots S=0.5 in bold. Both S and 0.5 are bold. 2. v-0.5

Re: [R] Don't understand plotmath behaviour (bug?)

2005-07-25 Thread Wladimir Eremeev
Dear Thomas, TL In case 1 you have the string 0.5, in case 2 you have the number 0.5. TLtext(x=2,y=2, quote(bold(0.5==0.5))) TL shows what is happening. I know about the different types in the cases. That is, 'bold' affects only on text strings. Am I right? --- Best regards, Wladimir