plot.Patterns {pcds}R Documentation

Plot a Patterns object

Description

Plots the points generated from the pattern (color coded for each class) together with the study window

Usage

## S3 method for class 'Patterns'
plot(x, asp = NA, xlab = "x", ylab = "y", ...)

Arguments

x

Object of class Patterns.

asp

A numeric value, giving the aspect ratio for y-axis to x-axis y/x (default is NA), see the official help for asp by typing "? asp".

xlab, ylab

Titles for the x and y axes, respectively (default is xlab="x" and ylab="y").

...

Additional parameters for plot.

Value

None

See Also

print.Patterns, summary.Patterns, and print.summary.Patterns

Examples


nx<-10; #try also 100 and 1000
ny<-5; #try also 1
e<-.15;
Y<-cbind(runif(ny),runif(ny))
#with default bounding box (i.e., unit square)

Xdt<-rseg.circular(nx,Y,e)
Xdt
plot(Xdt,asp=1)



[Package pcds version 0.1.8 Index]