Skip to content

dev.copy(pdf) messes up legend box

2 messages · Brian Ripley, Jonathan Williams

#
You need to match the pointsizes on the source and the destination
devices, relative to the width and height.  It is not the box which is too
small but the text which is too large.  (See the comment in MASS4 p.454.)

Alternatively, re-plot on the intended destination device.
On Wed, 21 May 2003, Jonathan Williams wrote:

            

  
    
#
When I use dev.print(pdf) and dev.copy(pdf) to print the *same*
graph, the box around the legend is too small using dev.copy(pdf)
- it cuts off the last letter of the (7-letter) labels.

Jonathan Williams
OPTIMA
Radcliffe Infirmary
Woodstock Road
OXFORD OX2 6HE
Tel +1865 (2)24356