plotIntervals | R Documentation |
Yp
points
together with Xp
pointsPlots the Xp
points
and the intervals based on Yp
points.
plotIntervals(
Xp,
Yp,
main = NULL,
xlab = NULL,
ylab = NULL,
xlim = NULL,
ylim = NULL,
...
)
Xp |
A set of 1D points whose scatter-plot is provided. |
Yp |
A set of 1D points which constitute the end points of the intervals which partition the real line. |
main |
An overall title for the plot (default= |
xlab, ylab |
Titles for the |
xlim, ylim |
Two |
... |
Additional |
Plot of the intervals based on Yp
points
and also scatter plot of Xp
points
Elvan Ceyhan
plotPEregs1D
and plotDelaunay.tri
## Not run:
a<-0; b<-10;
#nx is number of X points (target) and ny is number of Y points (nontarget)
nx<-20; ny<-4; #try also nx<-40; ny<-10 or nx<-1000; ny<-10;
set.seed(1)
Xp<-runif(nx,a,b)
Yp<-runif(ny,a,b)
plotIntervals(Xp,Yp,xlab="",ylab="")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.