Skip to content

savePlot error when type = "eps" or "wmf"

2 messages · jimdare, Paul Murrell

#
Hello,

When I use savePlot(filename="xy",type="eps") or
savePlot(filename="xy",type="wmf")  , I get the following error:

Error in grid.Call("L_textBounds", as.graphicsAnnot(x$label), x$x, x$y,  : 
  Polygon edge not found (zero-width or zero-height?)

This doesn't occur when I change the type to "jpeg" or "bmp".  Can anyone
explain what is going on and how I can fix it?  Your help is much
appreciated,

James
5 days later
#
Hi
jimdare wrote:
The error message says it all:  a calculation is being performed to find
the edge of a polygon (from a grobX() or grobY() call?), but the polygon
has zero width or zero height so the calculation is floundering.  We
need to see the code that did the drawing to tell you more.

Paul