Skip to content

'equivalent' sign in plot title

2 messages · jjh21, Peter Alspach

#
Hello,

I would like to add the 'equivalent' sign (i.e., three horizontal lines,
almost like an equal sign) to a plot. Does R have anything like the LaTeX
command '\equiv' that I could put into a plot title?

Thanks
#
Try

plot(1:10, main=expression(x%==%y))

For more details see

?plotmath

or

demo(plotmath) 

HTH ...

Peter Alspach
The contents of this e-mail are confidential and may be subject to legal privilege.
 If you are not the intended recipient you must not use, disseminate, distribute or
 reproduce all or any part of this e-mail or attachments.  If you have received this
 e-mail in error, please notify the sender and delete all material pertaining to this
 e-mail.  Any opinion or views expressed in this e-mail are those of the individual
 sender and may not represent those of The New Zealand Institute for Plant and
 Food Research Limited.