fo_plot_rec: Rectangle plot

Description Usage Arguments Value Examples

View source: R/fo_plotrec.R

Description

Function which plots a rectangle based on its apexes.

Usage

1
fo_plot_rec(x1, y1, x2, y2, x3, y3, x4, y4)

Arguments

x1

Value of the first point on the X axis.

y1

Value of the first point on the Y axis.

x2

Value of the second point on the X axis.

y2

Value of the second point on the Y axis.

x3

Value of the third point on the X axis.

y3

Value of the third point on the Y axis.

x4

Value of the fourth point on the X axis.

y4

Value of the fourth point on the Y axis.

Value

Plot

Examples

1
2
fo_plot_rec(0,0,4,0,4,5,0,5)
fo_plot_rec(-5,-5,5,-5,5,5,-5,5)

spacea/projekt.2019.pacocha documentation built on Jan. 18, 2021, 3:28 p.m.