【问题标题】:X and Y axis font size for charts.PerformanceSummary in Performance Analytics Package图表的 X 和 Y 轴字体大小。性能分析包中的性能摘要
【发布时间】:2014-05-06 16:06:14
【问题描述】:

我正在使用 Performance Analytics 包,它可以工作,但我的 X 和 Y 的字体非常小。你知道如何改变轴的字体大小吗?

到目前为止,我只能使用 cex.main 和 cex.lab 更改标题和轴标签的大小,但是当我尝试更改实际轴的大小时,cex.axis 似乎不起作用。

这是我的代码:

par(cex.main=3,cex.lab=3,cex.axis=3) ##cex.axis does not not seem to work
charts.PerformanceSummary(data,main=paste("Performance of ",input$Desk ,sep=""),geometric= FALSE)

谢谢。 马克

【问题讨论】:

    标签: r


    【解决方案1】:

    您应该在charts.PerformanceSummay 函数调用本身中传递cex.axis=3

    data(edhec)
    charts.PerformanceSummary(edhec[,c(1,13)])
    

    charts.PerformanceSummary(edhec[,c(1,13)], cex.axis = 3)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-09-02
      • 2012-09-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多