Skip to content
Prev 246567 / 398503 Next

Cairo pdf canvas size

On Wed, Jan 5, 2011 at 7:35 PM, Eduardo de Oliveira Horta
<eduardo.oliveirahorta at gmail.com> wrote:
Wow, you must like light colors :)

To the point, just set margins, for example

par(mar = c(2,2,0.5, 0.5))

(margins are bottom, left, top, right)

after the Cairo command.

BTW, Cairo doesn't work for me either... but I tried your example by
plotting to the screen.

Peter




 Notice how the canvas' margins are relatively far from the plotting area.