LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2011)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 2 May 2011 12:46:46 -0600
Reply-To:     Jon K Peck <peck@us.ibm.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Jon K Peck <peck@us.ibm.com>
Subject:      Re: How can I specify the dimensions of a R chart in SPSS?
Comments: To: Frans Marcelissen <fransiepansiekevertje@hotmail.com>
In-Reply-To:  <BAY160-w593CB0053CDFE03D59BDACBF9F0@phx.gbl>
Content-Type: multipart/alternative;

Here is an example of setting the height and width in an R graphic within Statistics. The pin parameter is specified in inches, so this plot is 2 inches wide and 6 inches high.

begin program r. x=rnorm(200,0,1) y=rnorm(200,1,2) par("pin"=c(2,6)) plot(x,y) end program.

HTH,

Jon Peck Senior Software Engineer, IBM peck@us.ibm.com new phone: 720-342-5621

From: Frans Marcelissen <fransiepansiekevertje@hotmail.com> To: SPSSX-L@LISTSERV.UGA.EDU Date: 05/02/2011 09:21 AM Subject: [SPSSX-L] How can I specifythe dimensions of a R chart in SPSS? Sent by: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>

I try to make al long graph in R under spss(18). In the external R interface I can specify the height and width of the graphical driver. The graphical R driver under SPSS (spssRGraphics) does not seem to have such an option. How do I specify the height and width of a graph? Thanks Frans


[text/html]


Back to: Top of message | Previous page | Main SPSSX-L page