[R] Aspect Ratio

Spencer Graves spencer.graves at structuremonitoring.com
Thu Aug 19 23:50:12 CEST 2010


        The documentation is not clear.  It would help if it had an 
example like the following:


plot(1:2, 1:2/10)
plot(1:2, 1:2/10, asp=1)


       Does looking at these two plots answer the question?


       Spencer Graves


On 8/19/2010 2:36 PM, David Winsemius wrote:
>
> On Aug 19, 2010, at 5:28 PM, r.ookie wrote:
>
>> Well, I had to look further into the documentation to see 'If asp is 
>> a finite positive value then the window is set up so that one data 
>> unit in the x direction is equal in length to asp * one data unit in 
>> the y direction'
>>
>> Okay, so in what situations is the 'asp' helpful?
>
> It yet again appears that you are asking us to read the help pages for 
> you.
>
>
>>
>> On Aug 19, 2010, at 2:24 PM, David Winsemius wrote:
>>
>>
>> On Aug 19, 2010, at 5:13 PM, r.ookie wrote:
>>
>>> set.seed(1)
>>> x <- rnorm(n = 1000, mean = 0, sd = 1)
>>> plot(x = x, asp = 2000)
>>>
>>> Could someone please explain what the 'asp' parameter is doing?
>>
>> You want us to read the help page to you?
>>
>> -- 
>
> David Winsemius, MD
> West Hartford, CT
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Spencer Graves, PE, PhD
President and Chief Operating Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph:  408-655-4567



More information about the R-help mailing list