ggplot2 polar plot axis label location

前端 未结 2 1629
不思量自难忘°
不思量自难忘° 2021-02-19 18:28

This is just a extension for a old question ggplot2 polar plot arrows \"Compass

You will find th

2条回答
  •  野的像风
    2021-02-19 19:00

    You have not provided code to reproduce the problem so this will be just a guess.

    I've used whitespace, \n in particular, to move text "away" in the past. Perhaps a custom formatter might work here. Here is how you can write a custom tick mark label formatter.

    If this fails, you can always hide the axis labels and paint them yourself using geom_text by adding another layer.

    Hope this helps. @hadley's book on ggplot2 is very good, by the way.

提交回复
热议问题