[R] Quiz: Who finds the nicest form of X_1^\prime?
David Winsemius
dwinsemius at comcast.net
Thu Apr 7 00:08:57 CEST 2011
On Apr 6, 2011, at 5:58 PM, Marius Hofert wrote:
> Dear Peter, Dear David,
>
> this is also what I tried: plot(0,0,main=expression(italic(X)
> [1]^minute)) [as suggested by Peter]. The problem is that the prime
> seems so small/short when used with "^". Is there a way to get a
> thicker/larger prime?
This any better?
plot(0,0,main=expression(italic(X)[1]^bolditalic("'")))
>
> Cheers,
>
> Marius
>
> On 2011-04-06, at 23: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 '^'.
>>
>> 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.
>>
>
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list