jumpingrivers / prettyB

Prettified base graphics
64 stars 4 forks source link

axisnames and cex.axis, cex.names not work #14

Open yikeshu0611 opened 3 years ago

yikeshu0611 commented 3 years ago

df <- matrix(1:6,ncol=2,dimnames=list(NULL,c('x','y'))) library(prettyB) barplot_p(df,axisnames = F) barplot(df,axisnames=F)

csgillespie commented 3 years ago

Thanks for the report.

But I'm not sure about how best to handle cex.axis and cex.names. This is what makes base graphics a bit messy, as they are then past to par().

Setting par(cex.axis = 2) before calling barplot_p will give the same effect. The issue I have is that

Hopefully come up with a compromise soon.