I found a half decent solution to this, output the plots then combine them with the image files in a latex document (using some messy shellscripting). Sweave would be more suitable, but this worked fine. cheers, Jared