[Tikzdevice-bugs] metapost device: problem with calculating font space?

Matthieu Stigler matthieu.stigler at gmail.com
Thu Apr 21 11:57:52 CEST 2011


Hi

This metapost() is really nice, thanks again Charlie and Cameron!!

I'm encountering a problem that arises typically with metapost but not 
tikz(): when legend is horinzontal, there is a problem of spacing, as 
well as tick mark below the text. Can you confirm?

library(tikzDevice)

metapost("~/temp/regimes.tex")
plot(runif(100))
legend(0,1, lty=1, leg=c("High regime probability","Future prices") , 
bty="n", horiz=TRUE, lwd=1, bg="white")
dev.off()


Also, do you think you would extend the font size calculation for 
metapost() too soon? Would be so useful!!

Thanks!!

Matthieu




More information about the Tikzdevice-bugs mailing list