I am having problems exporting a plot to a jpg file. I am first setting up a basic plot, and then opening up a viewport and overlaying grid.arrows onto the plot - I don't seem able to save this plot with the overlaid arrows to a file, can anyone offer any advice? I am using R-1.8.0 on Debian Linux. Thank you in advance, Laura
Saving jpg of plot with grid.arrows
3 messages · Laura Quinn, Barry Rowlingson, Deepayan Sarkar
Laura Quinn wrote:
I am having problems exporting a plot to a jpg file. I am first setting up a basic plot, and then opening up a viewport and overlaying grid.arrows onto the plot - I don't seem able to save this plot with the overlaid arrows to a file, can anyone offer any advice?
Have you got a minimal example of the code that produces this problem? Sounds like about six lines tops, so shouldn't exactly flood the mailing list... Baz
On Friday 16 January 2004 10:02, Laura Quinn wrote:
I am having problems exporting a plot to a jpg file. I am first setting up a basic plot, and then opening up a viewport and overlaying grid.arrows onto the plot - I don't seem able to save this plot with the overlaid arrows to a file, can anyone offer any advice? I am using R-1.8.0 on Debian Linux.
Could you give us some specific code that doesn't work ? The simplest case
jpeg() grid.arrows() dev.off()
seems to work for me. Deepayan