[R] double subscripts with Greek letter

William Dunlap wdunlap at tibco.com
Mon Jan 2 05:17:28 CET 2017


Does the following do well enough?
   plot(1,1);title(expression(A[paste(alpha,",",beta)]))


Bill Dunlap
TIBCO Software
wdunlap tibco.com

On Sun, Jan 1, 2017 at 11:22 AM, 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list