prettyB
prettyB copied to clipboard
axisnames and cex.axis, cex.names not work
df <- matrix(1:6,ncol=2,dimnames=list(NULL,c('x','y'))) library(prettyB) barplot_p(df,axisnames = F) barplot(df,axisnames=F)
Thanks for the report.
- axisnames is now fixed in the dev version (soon to be CRAN)
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
- {prettyB} changes
par() -
cex.axis/cex.namesuses the default value ofpar(). But whichpar()?
Hopefully come up with a compromise soon.