[R] why the length and width of a plot region produced by the dev.new() function cannot be correctly set?
sunyeping
@unyeping @ending from @liyun@com
Fri May 4 03:28:02 CEST 2018
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.322917If 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,
[[alternative HTML version deleted]]
More information about the R-help
mailing list