Learn R Programming

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

shape (version 1.3.4)

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.4

License

GPL (>= 3)

Maintainer

Karline Soetaert

Last Published

August 11th, 2011

Functions in shape (1.3.4)

cylindersegment

adds part of a cylinder to a plot
Arrows

adds arrows with improved arrowhead to a plot
textflag

adds a filled rounded rectangular box with a text to a plot
shape-package

Functions for plotting graphical shapes, colors
filledellipse

adds a colored and rotated ellipse to a plot
plotcircle

adds part of a colored circle to a plot
drapecol

draping colors over a persp plot
filledrectangle

adds a colored and rotated rectangle to a plot
plotellipse

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

x-y coordinates of ellipse
shadepalette

color palette inbetween two extremes
writelabel

adds a label next to a plot
rotatexy

rotates 2-column matrix around a midpoint
A4

opens A4-sized window
femmecol

red-green-blue color palette
filledcircle

adds colored circle to a plot
emptyplot

open a plot without axes, labels,...
roundrect

adds a rounded rectangular box to a plot
filledcylinder

adds a colored and rotated cylinder to a plot
intpalette

color palettes
greycol

white-black color palette
filledmultigonal

adds a colored and rotated multigonal shape to a plot
Arrowhead

adds arrowheads to a plot
colorlegend

adds a color legend to a plot.
filledshape

adds a colored shape to a plot