Some examples of plotmath
The plotmath expressions are never very easy to use. Here are some examples:
plot(1:10, type="n", xaxt="n", yaxt="n", axes=FALSE, xlab="", ylab="")
text(2, 8, expression(paste(bolditalic(p)^"*", ' expression(paste(bolditalic(p)^"*"))')), pos=4)
text(2, 6, expression(paste(bolditalic(p)^textstyle("*"), ' expression(paste(bolditalic(p)^textstyle("*")))')), pos=4)
text(2, 4, expression(paste(bolditalic(p)*"*", ' expression(paste(bolditalic(p)*"*"))')), pos=4)
plot(1:10, type="n", xaxt="n", yaxt="n", axes=FALSE, xlab="", ylab="")
text(2, 8, expression(paste(bolditalic(p)^"*", ' expression(paste(bolditalic(p)^"*"))')), pos=4)
text(2, 6, expression(paste(bolditalic(p)^textstyle("*"), ' expression(paste(bolditalic(p)^textstyle("*")))')), pos=4)
text(2, 4, expression(paste(bolditalic(p)*"*", ' expression(paste(bolditalic(p)*"*"))')), pos=4)
Commentaires
Enregistrer un commentaire