[R] problem with x11 and PS devices on different machines
Dear R help, I run R at home and the work, I have Debian Linux on both machines and the same 'r-base-core' deb packages installed. So I tried to run the same R script, which plots graph in x11 device and then dump it to eps file (x11 and eps you'll find attached). On the home machine there are some stranges in x11 plot as well as in eps file. On the work machine all the ok, despite of that I use the _same_ version of binary deb package. May be any troubles with the font paths? Thank you in advance for any suggestions! -- WBR, Timur attachment: x11-bad.pngattachment: x11-good.png__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] problem with x11 and PS devices on different machines
Timur Elzhov [EMAIL PROTECTED] wrote: I run R at home and the work, I have Debian Linux on both machines and the same 'r-base-core' deb packages installed. So I tried to run the same R script, which plots graph in x11 device and then dump it to eps file (x11 and eps you'll find attached). On the home machine there are some stranges in x11 plot as well as in eps file. On the work machine all the ok, despite of that I use the _same_ version of binary deb package. May be any troubles with the font paths? Thank you in advance for any suggestions! I ran the unix tool 'file' on your two attached files: x11-good.png: PNG image data, 600 x 420, 8-bit/color RGB, non-interlaced x11-bad.png: PNG image data, 449 x 315, 8-bit/color RGB, non-interlaced It could be that your X11 Modes differ between both machines, with a different number of dots per inch. Hth, -- Philippe __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] problem with x11 and PS devices on different machines
On Wed, Nov 12, 2003 at 05:26:51PM +0700, Philippe Glaziou wrote: I run R at home and the work, I have Debian Linux on both machines and the same 'r-base-core' deb packages installed. So I tried to run the same R script, which plots graph in x11 device and then dump it to eps file (x11 and eps you'll find attached). On the home machine there are some stranges in x11 plot as well as in eps file. On the work machine all the ok, despite of that I use the _same_ version of binary deb package. May be any troubles with the font paths? Thank you in advance for any suggestions! x11-good.png: PNG image data, 600 x 420, 8-bit/color RGB, non-interlaced x11-bad.png: PNG image data, 449 x 315, 8-bit/color RGB, non-interlaced Right, bad x11() picture is smaller. These 'png' are simply their screen shots (made by gimp). It could be that your X11 Modes differ between both machines, with a different number of dots per inch. I use the same resolution, 1024x768 on both machines. Anyway, I do not think that xserver resolution is important for screenshot size (in pixels) :) -- Timur __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] problem with x11 and PS devices on different machines
Timur Elzhov [EMAIL PROTECTED] wrote: It could be that your X11 Modes differ between both machines, with a different number of dots per inch. I use the same resolution, 1024x768 on both machines. Anyway, I do not think that xserver resolution is important for screenshot size (in pixels) :) The width and height of a default R x11 plotting window are both 7 inches. There will be a different number of dots within those 7x7 square inches if the number of dots per inch is not similar. This could be the case even though your two xservers are set at 1024x768. Does 'xdpyinfo | grep dots' return the same numbers on both machines? -- Philippe __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] problem with x11 and PS devices on different machines
On Wed, Nov 12, 2003 at 07:14:01PM +0700, Philippe Glaziou wrote: The width and height of a default R x11 plotting window are both 7 inches. There will be a different number of dots within those 7x7 square inches if the number of dots per inch is not similar. This could be the case even though your two xservers are set at 1024x768. Does 'xdpyinfo | grep dots' return the same numbers on both machines? I see :) I am in the office now, but I tried to play with dpi. I used to think that dpi _is_ resolution / real_monitor_dimensions, and could not be set in Xserver config. But I found its set in xdm/Xservers, I saw that x11 R device and ps dump from them are dependent on it. Thank you! -- Timur __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help