2016-04-07 16 views
0

Çizim simgesinde, yüzde sembolünü alt simge olarak nasıl kullanabilirim?Plotmath içinde altdizini% olarak kullanma

Aşağıdaki senaryoyu kullanıyorum:

text(4.2,0.45, expression(paste(P[Con_30%Fat], "=0.611")), cex = 1.3) 

ve aşağıdaki hatayı alıyorum:

Error: unexpected input in "text(4.2,0.45, expression(paste(P[Con_30%Fat], "=0.611")), cex = 1.3)" 

cevap

1
plot.new() 
text(0.5, 0.5, expression(paste(P[Con_30*"%"*Fat], "=0.611")), cex = 1.3) 
İlgili konular