harrelfe / Hmisc

Harrell Miscellaneous
Other
204 stars 81 forks source link

hist.data.frame() with cex.axis, etc. #168

Open jinghuazhao opened 1 year ago

jinghuazhao commented 1 year ago

Hi Frank,

I tried to enlarge fonts in hist.data.frame() through cex.axis, cex.label, etc., but it appears with no effect -- by looking at the code, I am wondering if those hist() statements should take a (...) argument? When I did that it appears working but the y-axis is in Greek (still in need of figuring it out)!

Thanks very much for creating such a useful function.

Jing Hua Zhao

jinghuazhao commented 1 year ago

After adding (...), a call hist.data.frame(d,cex.axis=2.5,cex.lab=2.5,cex.mtext=2.5,cex.names=2.5,ylab=expression("Frequency")) appears fixing the y-axis label as well (I feel somewhat strange graphics::hist() takes a ylab with no default value in the documentation nevertheless permits a ylab= option).