Skip to content
Back to formatted view

Raw Message

Message-ID: <4FFFD8B0.3000704@gmail.com>
Date: 2012-07-13T08:13:36Z
From: mlell08
Subject: how to add a variable to a graph title
In-Reply-To: <FD082B34-C551-4330-9EAF-CCABA7FFFAE8@gmail.com>

To use variables in mathematical expressions, bquote can be used:

#Term in in .( ) is evaluated
plot(1:10,main=bquote(frac(alpha,.(2+2))))


-- 
GnuPG Key: 0x7340821E