Closed Sharpie closed 12 years ago
Also worth noting that not every device handles this situation in the same way. For example, Quartz has several different interpretations depending on if the output is going to the screen or to a PDF.
The tikz
device should behave the same as the pdf
device.
R will pass negative widths and heights to the raster routine if the axes of a plot are reversed, for example specifying a decreasing
xlim
:This will fail because the raster routines in the tikzDevice expect
width
andheight
to be positive numbers.