In page 19 of the stm tutorial, Figure 6: Graphical display of topical prevalence contrast
https://cran.r-project.org/web/packages/stm/vignettes/stmVignette.pdf
How to change the font size of the custom lables of Figure 6 (i.e., font size of 'Obama', 'Sarah Palin', 'Bush Presidency' become smaller / bigger)?
I've tried to add text.cex to the code, but has no results.
plot.STM()withtext.cex = 2, instead ofplot(), and see if there's a difference?plot.STM()might not be appropriateprepis "estimateEffect", so the plotting function used 'internally' when you typeplot()isplot.estimateEffect()(github.com/bstewart/stm/blob/…). Unfortunately this plotting function doesn't appear to have a 'cex' parameter, or any other way of resizing the text. One option would be to runpar(cex = 1.2)before you run your plot (all of the text is larger), or you could exclude the custom.labels and place the labels on the plot yourself. Sorry this wasn't the answer you were hoping forpar(cex.axis = 1.4)before plotting and see you get your desired outcome @Jamespar(cex = 1.2)before running the plot works for me. Thanks @jared_mamrot. I got another question. I wonder if I can decide the side of the text to be appeared. For example, for 'Obama' and 'Sarah Palin' I would like to put it on the left hand side of the dot while for 'Bush Presidency' I would like to put it on the right hand side of the dot. Is this possible?