dsfb20227 2014-09-10 21:29 采纳率: 0%
浏览 32
已采纳

使用plotinum绘制具有对数刻度y轴的图形

Does anyone have experience using plotinum to draw figures with log-scaled y-axis?

I do not find such examples in plotinum wiki: https://code.google.com/p/plotinum/wiki/Examples

  • 写回答

2条回答 默认 最新

  • drasv0904 2014-09-10 21:45
    关注

    It seems that an appropriate way for that is to use the property Scale of the y-axis as follows:

    p, err := plot.New()
    p.Y.Min = 0.001
    p.Y.Max = 100
    p.Y.Scale = LogScale
    

    See also:

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?