Learn R Programming

smallstuff (version 1.0.3)

coord2D: Plot a 2D Coordinate System

Description

Plot a coordinate system in 2D with the origin in the center.

Usage

coord2D(x = 5, y = 5)

Value

No return value, called for side effects

Arguments

x

Distance from the origin to the maximum x-value.

y

Distance from the origin to the maximum y-value.

Examples

Run this code
coord2D()

Run the code above in your browser using DataLab