> On May 3, 2018, at 6:28 PM, sunyeping via R-help <r-help@r-project.org> wrote:
> 
> When I check the size of the plot region usingdev.size("in")a new plot region 
> is produced and in the Rconsole I get[1] 5.333333 5.322917

Your test is all mangleed together. You failed in your duty to read the list 
info and the Posting guide . NO HTML!

> If I mean to produce a plot region with size setting 
> bydev.new(length=3,width=3)a plot region is produced, but the size is 
> [2.281250, 5.322917], as detected by the de.size function. If I 
> type:dev.new(length=10,width=10)I get a plot region of with the size of 
> [7.614583, 5.322917]. It seems that the width of the new plot region cannot 
> be set, and tt is always 5.322917. The length of the new plot region can be 
> set, but it is always smaller that the values I set.What do I miss? What is 
> the correct way of setting the dimension of the new plot region? I will be 
> grateful to any help.Best regards,

The size of the device is not the size of the plot region. You need to take 
into account the margins. See ?par


> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

David Winsemius
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   
-Gehm's Corollary to Clarke's Third Law

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to