Skip to content
Prev 138662 / 398513 Next

Axes in polymars

On Wed, 2008-03-05 at 15:32 -0500, Shewcraft, Ryan wrote:
If I understand what you mean by parameters, see the xlim and ylim
arguments to plot.polymars(). So say you want the x and y axes to range
from 0 to 1:

x.lim <- y.lim <- c(0,1)
plot(poly, 1, xlim = x.lim, ylim = y.lim)

If you have data then try range() on the x and y values respectively and
store the results as your x and y limits.

HTH

G