Skip to content
Prev 333362 / 398506 Next

equal horizontal and vertical proportions in graphics

On 11/19/2013 01:03 PM, Mercutio Florid wrote:
Hi Mercutio,
If you have matrices with equal numbers of rows and columns, try:

par(pty="s")

to get a square plot. If the number of rows and columns differ you will 
have to adjust the width and height of the graphic device and the 
margins to get squares. For getting circles regardless of plot 
dimensions, try draw.circle in the plotrix package.

Jim