Learn R Programming

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

shape (version 1.1)

Functions for plotting graphical shapes, colors

Description

Plotting functions for creating graphical shapes such as ellipses, circles, cylinders, arrows, ... Support for the book "A guide to ecological modelling" by Karline Soetaert and Peter Herman (in preparation). Includes demo(colorshapes)

Copy Link

Version

Install

install.packages('shape')

Monthly Downloads

171,934

Version

1.1

License

GPL

Maintainer

Karline Soetaert

Last Published

February 23rd, 2024

Functions in shape (1.1)

A4

opens A4-sized window
writelabel

adds a label next to a plot
filledcylinder

adds a colored and rotated cylinder to a plot
graycol

white-black color palette
shadepalette

color palette inbetween two extremes
filledellipse

adds a colored and rotated ellipse to a plot
greycol

white-black color palette
roundrect

adds a rounded rectangular box to a plot
rotatexy

rotates 2-column matrix around a midpoint
cylindersegment

adds part of a cylinder to a plot
emptyplot

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

adds arrowheads to a plot
plotcircle

adds part of a colored circle to a plot
colorlegend

adds a color legend to a plot
plotellipse

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

adds arrows with improved arrowhead to a plot
filledcircle

adds colored circle to a plot
filledshape

adds a colored shape to a plot
drapecol

draping colors over a persp plot
intpalette

color palettes
getellipse

x-y coordinates of ellipse
filledmultigonal

adds a colored and rotated multigonal shape to a plot
femmecol

red-green-blue color palette
filledrectangle

adds a colored and rotated rectangle to a plot