Sharpie/RTikZDevice — Issue #49: Distance of tick labels different for x and y axis
Author: sebschub
Created: 2011-12-05 21:38:33+00:00
State: open

I am rather new to R so forgive me if this is obviously stupid. Using the following example with tikzDevice 0.6.2:

```R
library(tikzDevice)

x <- 1:10
y <- sin(x)

tikz("test.tex",standAlone=TRUE)
plot(x,y)
dev.off()

pdf("test2.pdf")
plot(x,y)
dev.off()
q()
```

I get rather equal distances of the tick labels to the ticks for x and y axes. The tikzdevice output (when run through pdflatex) has different spacings when comparing x and y axis. The space between ticks and labels of the x axis are larger than for the y axis. Is this expected? What can I do?