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

From: Peter Ehlers <ehlers_at_ucalgary.ca>
Date: Wed, 06 Apr 2011 14:28:50 -0700

see inline;

On 2011-04-06 14:22, Peter Ehlers wrote:
> On 2011-04-06 14:14, Marius Hofert wrote:
>> Dear expeRts,
>>
>> I would like to create a plotmath-label of the form X_1^\prime. Here is how to *not* do it [not nicely aligned symbols]:
>>
>> plot(0,0,main=expression(italic(X*minute[1])))
>> plot(0,0,main=expression(italic(X[1]*minute)))
>> plot(0,0,main=expression(italic(X)[1]*minute))
>>
>> Any suggestions?

>
> Hmm ....; your subject line is a clue:
>
> expression(italic(X)[1]^minute)
>
> Note the '^'.

and if you want a 'straight' prime:

    expression(italic(X)[1]^"\'")

Peter

>
> Peter Ehlers
>
>>
>> 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 Wed 06 Apr 2011 - 21:30:55 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 Wed 06 Apr 2011 - 21:50:28 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