Learn R Programming

⚠️There's a newer version (1.4.6.1) of this package.Take me there.

shape (version 1.3.1)

Functions for plotting graphical shapes, colors

Description

Functions for plotting graphical shapes such as ellipses, circles, cylinders, arrows, ... Support for the book "A practical guide to ecological modelling - using R as a simulation platform" by Karline Soetaert and Peter M.J. Herman (2009). Springer. Includes demo(colorshapes)

Copy Link

Version

Install

install.packages('shape')

Monthly Downloads

189,581

Version

1.3.1

License

GPL (>= 2)

Maintainer

Karline Soetaert

Last Published

March 7th, 2011

Functions in shape (1.3.1)

colorlegend

adds a color legend to a plot.
drapecol

draping colors over a persp plot
intpalette

color palettes
filledcircle

adds colored circle to a plot
Arrows

adds arrows with improved arrowhead to a plot
filledmultigonal

adds a colored and rotated multigonal shape to a plot
writelabel

adds a label next to a plot
shadepalette

color palette inbetween two extremes
femmecol

red-green-blue color palette
filledcylinder

adds a colored and rotated cylinder to a plot
filledshape

adds a colored shape to a plot
rotatexy

rotates 2-column matrix around a midpoint
greycol

white-black color palette
filledrectangle

adds a colored and rotated rectangle to a plot
filledellipse

adds a colored and rotated ellipse to a plot
plotcircle

adds part of a colored circle to a plot
cylindersegment

adds part of a cylinder to a plot
A4

opens A4-sized window
Arrowhead

adds arrowheads to a plot
roundrect

adds a rounded rectangular box to a plot
getellipse

x-y coordinates of ellipse
shape-package

Functions for plotting graphical shapes, colors
plotellipse

adds part of a colored and rotated ellipse to a plot
emptyplot

open a plot without axes, labels,...