mc_clearplot: Clear scatterplot

Description Usage Arguments Value See Also Examples

View source: R/mc_plot.R

Description

Remove a scatterplot created with mc_plot() by replacing the blocks with air.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
mc_clearplot(
  lowerleft,
  x,
  y,
  xlab = "x",
  ylab = "y",
  width = 120,
  height = 120,
  dir = c("east", "west", "north", "south", "up", "down"),
  top = c("up", "north", "south", "east", "west", "down")
)

Arguments

lowerleft

Vector of length 3, specifying the position of the lower-left corner of the plot.

x

Vector of x values

y

Vector of y values

xlab

x-axis label

ylab

y-axis label

width

Width of plot in blocks

height

Height of plot in blocks

dir

Direction the plot will go

top

Direction for the top of the plot

Value

None.

See Also

mc_plot()

Examples

1
2
3
4
5
6
7
8
## Not run: 
v <- mc_plot(x=iris$Sepal.Length, y=iris$Sepal.Width, group=iris$Species,
             xlab="Sepal.Length", ylab="Sepal.Width")
Sys.sleep(10)
mc_clearplot(v, x=iris$Sepal.Length, y=iris$Sepal.Width,
             xlab="Sepal.Length", ylab="Sepal.Width")

## End(Not run)

ropenscilabs/miner.extra documentation built on Dec. 20, 2020, 1:25 p.m.