We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f845477 + bc9fa59 commit 21368afCopy full SHA for 21368af
1 file changed
R/axis.R
@@ -96,8 +96,16 @@ draw_axis <- function(gsplot, index.axis) {
96
} else {
97
axis(axisParams)
98
n.minor <- n.minor + 1
99
- #Minor axis:
100
- at <- axTicks(axisParams$side)
+
+ # Minor axis:
101
102
+ #if user hasn't specified "at", calculate it
103
+ if(is.null(axisParams$at)){
104
+ at <- axTicks(axisParams$side)
105
+ } else {
106
+ at <- axisParams$at
107
+ }
108
109
newAT <- c()
110
111
if(axisParams$side %% 2 == 0){
0 commit comments