Learn R Programming

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

plotrix (version 3.0-2)

Various plotting functions

Description

Lots of plots, various labeling, axis and color scaling functions.

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

68,165

Version

3.0-2

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

November 4th, 2010

Functions in plotrix (3.0-2)

brkdnNest

Perform a nested breakdown of numeric values
corner.label

Find corner locations and optionally display a label
addtable2plot

Add a table of values to a plot
color.gradient

Calculate an arbitrary sequence of colors
barNest.svymean

Display a nested breakdown of means
dotplot.mtb

Minitab style dotplots
barp

A bar plotting routine
rectFill

Draw a rectangle filled with symbols
drawNestedBars

Display nested bars
gap.plot

Display a plot with one or two gaps (missing ranges) on one axis
getMarginWidth

Find the margin width necessary to fit text or a legend next to a plot
sizetree

Display a hierarchical breakdown of disjunct categories
floating.pie

Display a floating pie chart
ablineclip

Add a straight line to a plot
color.id

Identify closest match to a color
color.scale.lines

Line segments with scaled colors
propbrk

Calculate the proportion of specified values in a vector
getFigCtr

Get coordinates in the figure region in user units.
plot.dendrite

Plot a dendrogram of a dendrite object
oz.windrose

Display an Australian wind rose
oz.windrose.legend

Display an Australian wind rose legend
gradient.rect

Display a rectangle filled with an arbitrary color gradient
boxed.labels

Place labels in boxes
color2D.matplot

Display a numeric matrix as color matrix
gap.barplot

Display a barplot with a gap (missing range) on one axis
textbox

Add text box
arctext

Display text on a circular arc
kiteChart

Magnitude by position chart.
fullaxis

Add an axis with a line to the edge of the plot
diamondplot

Plot multiple variables as polygons on a radial grid
draw.circle

Draw a circle
listDepth

Find the maximum depth of a list
rescale

Scale numbers into a new range
lengthKey

Key for interpreting lengths in a plot
centipede.plot

Display a centipede plot
get.gantt.info

Gather the information to create a Gantt chart
axis.mult

Display an axis with values having a multiplier
perspx

Display perspective plot
multsymbolbox

Draw boxes filled with symbols
clock24.plot

Plot values on a 24 hour "clockface"
emptyspace

Find an empty space on a plot
get.soil.texture

Enter soil texture data
intersectDiagram

Display set intersections
axis.break

Place a "break" mark on an axis
radial.plot

Plot values on a circular grid of 0 to 2*pi radians
symbolbarplot

barplot filled with symbols
hexagon

Draw a hexagon
color.scale

Turn values into colors.
radial.plot.labels

Display labels on a circular grid
bin.wind.records

Classify wind direction and speed records
pasteCols

Paste the columns of a matrix together
draw.tilted.sector

Display a 3D pie sector
gantt.chart

Display a Gantt chart
polar.plot

Plot values on a circular grid of 0 to 360 degrees
staircase.plot

Display a staircase plot
barNest.svyprop

Display a nested breakdown of numeric proportions
pie3D

Display a 3D pie chart
smoothColors

Build a vector of color values
gap.boxplot

Display a boxplot with a gap (missing range)
cylindrect

Display an apparent cylinder
get.breaks

Get the breakpoints for a weighted histogram
furc

Plot a dendrite
makeIntersectList

Count set intersections
fan.plot

Display a fan plot
feather.plot

Display vectors along a horizontal reference line
makeDendrite

Build a list of the mutually exclusive attributes of objects
thigmophobe

Find the direction away from the closest point
multhist

Plot a multiple histogram, as a barplot
pie.labels

Place labels on a pie chart
soils

Soil texture data from 125 soils
getIntersectList

Enter the information for a set intersection display
panes

Prepare a "panel" type layout
sizeplot

Plot with repeated symbols by size
paxis3d

Display text in the margins of a 3D plot
soil.texture

Soil texture triangle plot
legendg

Legend with grouped bars, lines or symbols
draw.arc

Draw arc
clplot

Plot lines with colors determined by values.
bumpchart

Display a "bumps" chart
color.legend

Legend matching categories or values to colors
spread.labels

Spread labels for irregularly spaced values
plotCI

Plot confidence intervals/error bars
revaxis

Plot with axis direction(s) reversed
clean.args

Remove inappropriate arguments from an argument list
cluster.overplot

Shift overlying points into clusters
dispersion

Display a measure of dispersion
stackpoly

Display the columns of a matrix or data frame as stacked polygons
qt.plot

Quantity by interval plot
barNest

Display a nested breakdown of numeric values
psegments3d

Draw segments on a 3D plot
print.brklist

Display the output of brkdnNest
polygon.shadow

Display a shadow effect for an arbitrary polygon
twoord.plot

Plot with two ordinates
triax.frame

Triangle plot frame
triax.points

Triangle plot points
triax.abline

Lines for triangle plot
mtext3d

Display text in the margins of a 3D plot
std.error

Calculate standard error of the mean
pie3D.labels

Display labels on a 3D pie chart
spreadout

Spread out a vector of numbers to a minimum interval
tab.title

Display the title of a plot as a colored tab
triax.plot

Triangle plot
twoord.stackplot

Multiple (stack) plot with two ordinates
soil.texture.uk

Soil texture triangle plot using UK conventions
ptext3d

Display text on a 3D plot
taylor.diagram

Taylor diagram
thigmophobe.labels

Place labels away from the nearest point
staxlab

Place staggered or angled labels on an axis
sumDendrite

Sum the counts in the top level of a dendrite object
vectorField

Display magnitude/direction vectors
zoomInPlot

Display a plot with a rectangular section expanded in an adjacent plot
weighted.hist

Display a weighted histogram
valid.n

Find the number of valid (not NA) values
triax.fill

Triangle plot fill
count.overplot

Show overlying points as counts
get.segs

Calculate the midpoints and limits for a centipede plot
get_axispos3d

Get axis positions on a 3D plot
brkdn.plot

A point/line plotting routine
get.triprop

Enter three proportion data - usually soil textures
pyramid.plot

Pyramid plot
symbolbox

Draw a box filled with symbols