[R] double subscripts with Greek letter
Bert Gunter
bgunter.4567 at gmail.com
Mon Jan 2 05:29:52 CET 2017
... or perhaps simpler and more transparently:
plot(0:1 ~0:1, main = expression(A[alpha*","*beta]))
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sun, Jan 1, 2017 at 7:37 PM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
> Hello!
>
> Here is a solution:
>
>> plot(1:10)
>> xa <- expression(A[list(alpha,beta)])
>> title(xa)
>
>
>
> On Sun, Jan 1, 2017 at 1:22 PM, Jeff Shane <honolulushane at gmail.com> wrote:
>
>> Hi all,
>>
>> I have a question which seems trivial but simply cannot figure out its
>> solution.
>>
>> I want to type A_{\alpha,\beta} in the title of a plot. Uwe once pointed
>> out a solution
>>
>> expression(A[alpha*beta])
>>
>> But the output of the above command does not include the "," in the
>> subscript. Is there a way to solve my question? Thanks so much!
>>
>> Regards,
>> Jeff
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> 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.
>>
>
>
>
> --
> Erin Hodgess
> Associate Professor
> Department of Mathematical and Statistics
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
More information about the R-help
mailing list