Re: [R] Quiz: Who finds the nicest form of X_1^\prime?

From: Yihui Xie <xie_at_yihui.name>
Date: Thu, 07 Apr 2011 17:04:20 -0500

the tikzDevice package has offered a way to write native LaTeX expressions in R plots, so no tricks are really needed there

Regards,
Yihui

--
Yihui Xie <xieyihui_at_gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Thu, Apr 7, 2011 at 12:01 AM, Marius Hofert <m_hofert_at_web.de> wrote:

> Very nice!
>
> Cheers,
>
> Marius
>
> On 2011-04-07, at 04:38 , Dennis Murphy wrote:
>
>> Here are a couple more possibilities:
>>
>> plot(0, 0, main = expression(italic(X)[1]^bold(scriptscriptstyle("/"))))
>> plot(0, 0, main = expression(italic(X)[1]^bolditalic(scriptscriptstyle("/"))))
>>
>> The latter increases the angle a tad.
>>
>> HTH,
>> Dennis
>>
>> On Wed, Apr 6, 2011 at 3:49 PM, Peter Ehlers <ehlers_at_ucalgary.ca> wrote:
>> On 2011-04-06 15:21, Marius Hofert wrote:
>> Haha, I found a hack (using the letter "l"):
>>
>> plot(0,0,main=expression(italic(X)[1]^bolditalic("l")))
>>
>> To my eye, this is a bit neater:
>>
>>  expression(italic(X)[1]^bold("/"))
>>
>> Peter
>>
>>
>>
>> Cheers,
>>
>> Marius
>>
>> ______________________________________________
>> R-help_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Received on Thu 07 Apr 2011 - 22:12:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Apr 2011 - 23:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive