Ive created a postscript files that looks just like I want it to look except instead of being 6'' x 6'' i want it to be 2''x 2''. i used the postscipt() function (R 1.5.1 on redhat). if i use width and height in par to change the scale the figure looks terrible cause cex,mar,etc.. dont appear to change. before i start tinkering with the cex's and mar... is there an easier way to make the figure exactly the same but at a smaller scale? thanks, rafael -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 20 Jun 2002, Rafael A. Irizarry wrote:> Ive created a postscript files that looks just like I want it to look > except instead of being 6'' x 6'' i want it to be 2''x 2''. i used the > postscipt() function (R 1.5.1 on redhat). if i use width and > height in par to change the scale the figure looks terrible cause > cex,mar,etc.. dont appear to change. > before i start tinkering with the cex's and mar... is there an easier way > to make the figure exactly the same but at a smaller scale?1) Do the shrinking with a postscript wrapper or 2) Change pointsize proportionally to width and height. Take a look at dev.print, for example. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Rafael A. Irizarry" wrote:> > Ive created a postscript files that looks just like I want it to look > except instead of being 6'' x 6'' i want it to be 2''x 2''. i used the > postscipt() function (R 1.5.1 on redhat). if i use width and > height in par to change the scale the figure looks terrible cause > cex,mar,etc.. dont appear to change. > before i start tinkering with the cex's and mar... is there an easier way > to make the figure exactly the same but at a smaller scale?Set with and height in postscript(), see ?postscript. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I believe psresize (part of psutils) should do the work. It's probably a lot easier than fiddling with it in R. Andy> -----Original Message----- > From: Rafael A. Irizarry [mailto:ririzarr at jhsph.edu] > Sent: Thursday, June 20, 2002 10:31 AM > To: r-help at stat.math.ethz.ch > Subject: [R] small ps > > > Ive created a postscript files that looks just like I want it to look > except instead of being 6'' x 6'' i want it to be 2''x 2''. i > used the > postscipt() function (R 1.5.1 on redhat). if i use width and > height in par to change the scale the figure looks terrible cause > cex,mar,etc.. dont appear to change. > before i start tinkering with the cex's and mar... is there > an easier way > to make the figure exactly the same but at a smaller scale? > > thanks, > rafael > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. > -.-.-.-.-.-.-.-.- > r-help mailing list -- Read > http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: > r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. > _._._._._._._._._ >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 6/20/2002 at 10:30 AM, you wrote:>Ive created a postscript files that looks just like I want it to look >except instead of being 6'' x 6'' i want it to be 2''x 2''.[...] >before i start tinkering with the cex's and mar... is there an easier way >to make the figure exactly the same but at a smaller scale?If you are going to insert it into a document (e.g., with Word or LaTeX), convert it to an eps file and the application should be able to scale it perfectly. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._