[R] need help with plotmath and/or plotting unicode characters
    Dennis Fisher 
    ||@her @end|ng |rom p|e@@th@n@com
       
    Thu Jun  8 04:14:58 CEST 2023
    
    
  
R 4.2.3
OS X
Colleagues
This should be easy -- but not for me.
I want to plot text similar to this:
	N ≥ XX: YY
where XX can be either 1 or 50 and YY is an integer
I envision that there would be two solutions:
UNICODE: If I can generate "≥" via unicode, the problem is solved:
	mtext(side=3, paste0("N ", UNICODE, " ", XX, ": ", YY))
PLOTMATH:
	mtext(side=3, bquote(N <= .(XX) ~":" ~ .(YY)))
This comes close:
	N ≤ 2 : 13
but I want to remove the space between the 2 and ":"
Dennis
Dennis Fisher MD
P < (The "P Less Than" Company)
Phone / Fax: 1-866-PLessThan (1-866-753-7784)
www.PLessThan.com
    
    
More information about the R-help
mailing list