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

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Sat 30 Jul 2005 - 22:12:32 EST

On 30 Jul 2005 09:16:26 +0200, Peter Dalgaard <p.dalgaard@biostat.ku.dk> wrote:
> Gabor Grothendieck <ggrothendieck@gmail.com> 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 different example at the beginning but changed it and forgot to remove the paste.

>
> ...and it is a design choice of course. Notice that operators are not
> boldfaced either, e.g., in text(x=3,y=3, quote(bold("x"==2*a + b ~~ "x
> = 2a+b"))) you get the = and the + in non-bold in the first part
> (granted, a bit hard to see for =). As I recall it, LaTeX does
> similarly unless you jump through a couple of hoops. It is
> intentional, but if you try to do it otherwise you'd run into trouble
> with the absense of a bold symbol font.
>
> > On 7/25/05, Wladimir Eremeev <wl@eimb.ru> wrote:
> > > Dear Thomas,
> > >
> > > TL> In case 1 you have the string "0.5", in case 2 you have the number 0.5.
> > > TL> text(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 mailto:wl@eimb.ru
> > >
> > > ______________________________________________
> > > R-help@stat.math.ethz.ch mailing list
> > > https://stat.ethz.ch/mailman/listinfo/r-help
> > > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> > >
> >
> > ______________________________________________
> > R-help@stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> >
>
> --
> O__ ---- Peter Dalgaard ุster Farimagsgade 5, Entr.B
> c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
> (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jul 30 22:19:05 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 14:59:46 EST