Description Usage Arguments Value References See Also Examples
Flip (or reflect) coordinates across any given line.
1 | coordflip(pts, seg)
|
pts |
A numeric matrix with two columns of x and y coordinates to be rotated. |
seg |
A numeric matrix of dimension 2 x 2 giving two points which define the line over which the coordinates will be flipped. |
A numeric matrix with same dimension as pts
with
the flipped x and y coordinates.
Based on a method posted by Il-Bhima on 22 July 2010 on stackoverflow [link].
coordplot
, coordmove
,
coordturn
, coordtri
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.