[R] R units of margins, text and points in a figure

2015-11-10 Thread Gygli, Gudrun
Dear R-help, I am trying to plot some data in a plot where I leave a big margin free to add other information, namely text and points. I am now struggling with keeping the size of the margin, text and points in a fixed ratio. I want this so that the layout of the figure does not change every

[R] use of writePNG() in a multiplot OR rasterImage() size control in a multiplot

2015-05-27 Thread Gygli, Gudrun
Dear All, I am trying to plot several things in a multiplot using par(mfrow...) AND add a pre-existing png file to that plot. I have found 2 options of doing this in the web: writePNG() and another fix using rasterImage(). writePNG(): the option using writePNG() does not add the " pre-exis

[R] png package in Ubuntu 12.04 with R 3.1.0

2015-05-26 Thread Gygli, Gudrun
Dear All, I am using R to analyse computer simulations of ligand docking in a protein. I am plotting the results as scatterplots and bopxplots, using the code below. This works perfectly fine. I would like now to add a png file to that plot, meaning I want sth like: png(file="analysis.png"