plotrix: Various Plotting Functions

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

Install the latest version of this package by entering the following in R:
AuthorJim Lemon, Ben Bolker, Sander Oom, Eduardo Klein, Barry Rowlingson, Hadley Wickham, Anupam Tyagi, Olivier Eterradossi, Gabor Grothendieck, Michael Toews, John Kane, Rolf Turner, Carl Witthoft, Julian Stander, Thomas Petzoldt, Remko Duursma, Elisa Biancotto, Ofir Levy, Christophe Dutang, Peter Solymos, Robby Engelmann, Michael Hecker, Felix Steinbeck, Hans Borchers, Henrik Singmann, Ted Toal, Derek Ogle
Date of publication2016-12-30 16:27:58
MaintainerJim Lemon <>
LicenseGPL (>= 2)

View on CRAN

Man pages

ablineclip: Add a straight line to a plot add p-values from t-tests

addtable2plot: Add a table of values to a plot

arctext: Display text on a circular arc

axis.break: Place a "break" mark on an axis

axis.mult: Display an axis with values having a multiplier

barlabels: Label the bars on a barplot

barNest: Display a nested breakdown of numeric values

barp: A bar plotting routine

battleship.plot: Display a matrix of values as the widths of stacked...

binciW: Binomial confidence limits

binciWl: Lower binomial confidence limit

binciWu: Upper binomial confidence limit

bin.wind.records: Classify wind direction and speed records

boxed.labels: Place labels in boxes

box.heresy: Display a sort of box plot

brkdnNest: Perform a nested breakdown of numeric values

brkdn.plot: A point/line plotting routine

bumpchart: Display a "bumps" chart

categoryReshape: Convert object label/attribute label coding.

centipede.plot: Display a centipede plot

clean.args: Remove inappropriate arguments from an argument list

clock24.plot: Plot values on a 24 hour "clockface"

clplot: Plot lines with colors determined by values.

cluster.overplot: Shift overlying points into clusters

color2D.matplot: Display a numeric matrix as color matrix

color.axis: Display an axis in a specified color

color.gradient: Calculate an arbitrary sequence of colors Identify closest match to a color

color.legend: Legend matching categories or values to colors

color.scale: Turn values into colors.

color.scale.lines: Line segments with scaled colors

corner.label: Find corner locations and optionally display a label

count.overplot: Show overlying points as counts

cylindrect: Display an apparent cylinder

death_reg: Death registrations from 1996 to 2010

dendroPlot: Display distributions as dendrites

diamondplot: Plot multiple variables as polygons on a radial grid

dispersion: Display a measure of dispersion.

do.first: Execute a graphic function on a plot

dotplot.mtb: Minitab style dotplots

draw.arc: Draw arc Draw a circle

draw.ellipse: Draw ellipse

drawNestedBars: Display nested bars

draw.radial.line: Draw a radial line

drawSectorAnnulus: Display a radial pie sector

draw.tilted.sector: Display a 3D pie sector

ehplot: Engelmann-Hecker-Plot - EH-Plot

election: Assign party members to seats

emptyspace: Find an empty space on a plot

fan.plot: Display a fan plot

feather.plot: Display vectors along a horizontal reference line

fill.corner: Fill a "corner" of a matrix with values

floating.pie: Display a floating pie chart

fullaxis: Add an axis with a line to the edge of the plot

furc: Plot a dendrite

gantt.chart: Display a Gantt chart

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

gap.boxplot: Display a boxplot with a gap (missing range)

gap.plot: Display a plot with one or two gaps (missing ranges) on one...

get_axispos3d: Get axis positions on a 3D plot

get.breaks: Get the breakpoints for a weighted histogram

getFigCtr: Get coordinates in the figure region in user units. Gather the information to create a Gantt chart

getIntersectList: Enter a set intersection list

getMarginWidth: Find the margin width necessary to fit text or a legend next...

get.segs: Calculate the midpoints and limits for a centipede plot

get.soil.texture: Enter soil texture data

get.tablepos: Get the position for a legend or table

get.triprop: Enter three proportion data - usually soil textures

getYmult: Correct for aspect and coordinate ratio

gradient.rect: Display a rectangle filled with an arbitrary color gradient

hexagon: Draw a hexagon

histStack: Histogram "stacked" by categories

intersectDiagram: Display set intersections

jiggle: Calculate equally spaced values within a range.

kiteChart: Magnitude by position chart.

labbePlot: Display a L'Abbe plot

ladderplot: Ladder Plot

legendg: Legend with grouped bars, lines or symbols

lengthKey: Key for interpreting lengths in a plot

listDepth: Find the maximum depth of a list

makeDendrite: Build a list of the mutually exclusive attributes of objects

makeIntersectList: Count set intersections

maxEmptyRect: Find an empty space on a plot

mtext3d: Display text in the margins of a 3D plot

multhist: Plot a multiple histogram, as a barplot

multsymbolbox: Draw boxes filled with symbols

oz.windrose: Display an Australian wind rose

oz.windrose.legend: Display an Australian wind rose legend

p2p_arrows: Draw arrows between points

panes: Prepare a "panel" type layout

pasteCols: Paste the columns of a matrix together

paxis3d: Display text in the margins of a 3D plot

perspx: Display perspective plot

pie3D: Display a 3D pie chart

pie3D.labels: Display labels on a 3D pie chart

pie.labels: Place labels on a pie chart

placeLabels: Place labels in boxes

plot_bg: Add a background color to a plot

plotCI: Plot confidence intervals/error bars

plot.dendrite: Plot a dendrogram of a dendrite object

plotH: Scatterplot with histogram-like bars.

plotrix-package: Specialized plots and plotting accessories

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

polygon.shadow: Display a shadow effect for an arbitrary polygon

print.brklist: Display the output of brkdnNest

propbrk: Calculate the proportion of specified values in a vector

psegments3d: Draw segments on a 3D plot

ptext3d: Display text on a 3D plot

pyramid.plot: Pyramid plot

radial.grid: Display a radial grid

radial.pie: Plot sectors/annuli on a circular grid of 0 to 2*pi radians

radial.plot: Plot values on a circular grid of 0 to 2*pi radians

radial.plot.labels: Display labels on a circular grid

radialtext: Display text in a radial line

raw.means.plot: raw.means.plot: Raw-Means Plots for Experimental Designs

rectFill: Draw a rectangle filled with symbols

rescale: Scale numbers into a new range

revaxis: Plot with axis direction(s) reversed

ruginv: Add an Inverse Rug to a Plot

seats: Arrange N seats in M semicircular rows

size_n_color: Display circles with specified size and color

sizeplot: Plot with repeated symbols by size

sizetree: Display a hierarchical breakdown of disjunct categories

sliceArray: Slice an array

smoothColors: Build a vector of color values

soils: Soil texture data from 125 soils

soil.texture: Soil texture triangle plot Soil texture triangle plot using UK conventions

spread.labels: Spread labels for irregularly spaced values

spreadout: Spread out a vector of numbers to a minimum interval

stackpoly: Display the columns of a matrix or data frame as stacked...

staircase.plot: Display a staircase plot

starPie: A pie-like graphic object

staxlab: Place staggered or angled labels on an axis

std.error: Calculate standard error of the mean

sumbrk: Count specified values in a vector

sumDendrite: Sum the counts in the top level of a dendrite object

symbolbarplot: barplot filled with symbols

symbolbox: Draw a box filled with symbols

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

taylor.diagram: Taylor diagram

textbox: Add text box

thigmophobe: Find the direction away from the closest point

thigmophobe.labels: Place labels away from the nearest point

triax.abline: Lines for triangle plot

triax.fill: Triangle plot fill

triax.frame: Triangle plot frame

triax.plot: Triangle plot

triax.points: Triangle plot points

tsxpos: Calculate equispaced x positions.

twoord.plot: Plot with two ordinates

twoord.stackplot: Multiple (stack) plot with two ordinates

valid.n: Find the number of valid (not NA) values

vectorField: Display magnitude/direction vectors

weighted.hist: Display a weighted histogram

zoomInPlot: Display a plot with a rectangular section expanded in an...


ablineclip Man page Man page
addtable2plot Man page
arctext Man page
axis.break Man page
axis.mult Man page
barlabels Man page
barNest Man page
barp Man page
battleship.plot Man page
binciW Man page
binciWl Man page
binciWu Man page
bin.wind.records Man page
boxed.labels Man page
box.heresy Man page
brkdnNest Man page
brkdn.plot Man page
bumpchart Man page
categoryReshape Man page
centipede.plot Man page
clean.args Man page
clock24.plot Man page
clplot Man page
cluster.overplot Man page
color2D.matplot Man page
color.axis Man page
color.gradient Man page Man page
color.legend Man page
color.scale Man page
color.scale.lines Man page
corner.label Man page
count.overplot Man page
cylindrect Man page
death_reg Man page
dendroPlot Man page
diamondplot Man page
dispbars Man page
dispersion Man page
do.first Man page
dotplot.mtb Man page
draw.arc Man page Man page
draw.ellipse Man page
drawNestedBars Man page
draw.radial.line Man page
drawSectorAnnulus Man page
draw.tilted.sector Man page
ehplot Man page
election Man page
emptyspace Man page
fan.plot Man page
feather.plot Man page
fill.corner Man page
floating.pie Man page
fullaxis Man page
furc Man page
gantt.chart Man page
gap.barplot Man page
gap.boxplot Man page
gap.plot Man page
get_axispos3d Man page
get.breaks Man page
getFigCtr Man page Man page
getIntersectList Man page
getMarginWidth Man page
get.segs Man page
get.soil.texture Man page
get.tablepos Man page
get.triprop Man page
getYmult Man page
gradient.rect Man page
hexagon Man page
histStack Man page
histStack.default Man page
histStack.formula Man page
intersectDiagram Man page
jiggle Man page
kiteChart Man page
labbePlot Man page
ladderplot Man page
ladderplot.default Man page
legendg Man page
lengthKey Man page
listDepth Man page
makeDendrite Man page
makeIntersectList Man page
maxEmptyRect Man page
mtext3d Man page
multhist Man page
multsymbolbox Man page
oz.windrose Man page
oz.windrose.legend Man page
p2p_arrows Man page
panes Man page
pasteCols Man page
paxis3d Man page
perspx Man page
pie3D Man page
pie3D.labels Man page
pie.labels Man page
placeLabels Man page
plot_bg Man page
plotCI Man page
plot.dendrite Man page
plotH Man page
plotH.default Man page
plotH.formula Man page
plotrix Man page
plotrix-package Man page
polar.plot Man page
polygon.shadow Man page
print.brklist Man page
propbrk Man page
psegments3d Man page
ptext3d Man page
pyramid.plot Man page
radial.grid Man page
radial.pie Man page
radial.plot Man page
radial.plot.labels Man page
radialtext Man page
raw.means.plot Man page
raw.means.plot2 Man page
rectFill Man page
remove.args Man page
rescale Man page
revaxis Man page
ruginv Man page
seats Man page
size_n_color Man page
sizeplot Man page
sizetree Man page
sliceArray Man page
smoothColors Man page
soils Man page
soil.texture Man page Man page
spread.labels Man page
spreadout Man page
stackpoly Man page
staircase.plot Man page
starPie Man page
staxlab Man page
std.error Man page
sumbrk Man page
sumDendrite Man page
symbolbarplot Man page
symbolbox Man page
tab.title Man page
taylor.diagram Man page
textbox Man page
thigmophobe Man page
thigmophobe.labels Man page
triax.abline Man page
triax.fill Man page
triax.frame Man page
triax.plot Man page
triax.points Man page
tsxpos Man page
twoord.plot Man page
twoord.stackplot Man page
valid.n Man page
vectorField Man page
weighted.hist Man page
zoomInPlot Man page


R/gantt.R R/panes.R R/diamondplot.R R/dispersion.R R/display.overplot.R R/radialtext.R R/rectFill.R R/cluster.overplot.R R/clean.args.R R/multsymbolbox.R R/symbolbarplot.R R/feather.plot.R R/sizetree.R R/get.tablepos.R R/stackpoly.R R/getIntersectList.R R/barNest.R R/getMarginWidth.R R/taylor.diagram.R R/centipede.plot.R R/ablineclip.R R/twoord.stackplot.R R/smoothColors.R R/box.heresy.R R/plot_bg.R R/gap.boxplot.R R/axis.break.R R/tab.title.R R/barlabels.R R/getYmult.R R/fan.plot.R R/symbolbox.R R/polygon.shadow.R R/twoord.plot.R R/radial.plot.R R/pyramid.plot.R R/textbox.R R/clplot.R R/color.scale.lines.R R/triax.R R/vectorField.R R/p2p_arrows.R R/rescale.R R/raw.means.plot.R R/lengthKey.R R/ladderplot.default.R R/draw.ellipse.R R/std.error.R R/dendrite.R R/color.gradient.R R/makeIntersectList.R R/color.scale.R R/size_n_color.R R/thigmophobe.R R/addtable2plot.R R/axis.mult.R R/staircase.plot.R R/brkdn.plot.R R/emptyspace.R R/starPie.R R/arctext.R R/kiteChart.R R/drawNestedBars.R R/draw.arc.R R/tsxpos.R R/dotplot.mtb.R R/legendg.R R/maxEmptyRect.R R/spreadout.R R/spread.labels.R R/ R/gap.plot.R R/zoomInPlot.R R/corner.label.R R/draw.radial.line.R R/gap.barplot.R R/radial.grid.R R/dendroPlot.R R/labbePlot.R R/ehplot.R R/histStack.R R/radial.pie.R R/getFigCtr.R R/count.overplot.R R/cylindrect.R R/fullaxis.R R/staxlab.R R/brkdnNest.R R/windrose.R R/intersectDiagram.R R/floatpie.R R/ladderplot.R R/plotH.R R/color2D.matplot.R R/election.R R/paxis3d.R R/ruginv.R R/ R/battleship.plot.R R/boxed.labels.R R/color.legend.R R/radial.plot.labels.R R/rm.plot2.R R/weighted.hist.R R/plotCI.R R/multhist.R R/gradient.rect.R R/ R/ R/revaxis.R R/barp.R R/placeLabels.R R/sizeplot.R R/bumpchart.R R/soil.texture.R R/pie3D.R
man/lengthKey.Rd man/cylindrect.Rd man/stackpoly.Rd man/binciW.Rd man/get.segs.Rd man/pie.labels.Rd man/multsymbolbox.Rd man/barNest.Rd man/polar.plot.Rd man/propbrk.Rd man/drawSectorAnnulus.Rd man/legendg.Rd man/radial.plot.labels.Rd man/ man/fill.corner.Rd man/getIntersectList.Rd man/binciWl.Rd man/barlabels.Rd man/sliceArray.Rd man/raw.means.plot.Rd man/color.axis.Rd man/bumpchart.Rd man/triax.points.Rd man/sizeplot.Rd man/labbePlot.Rd man/ man/rectFill.Rd man/symbolbox.Rd man/soils.Rd man/color.gradient.Rd man/addtable2plot.Rd man/perspx.Rd man/categoryReshape.Rd man/count.overplot.Rd man/gap.boxplot.Rd man/spread.labels.Rd man/triax.frame.Rd man/smoothColors.Rd man/pie3D.labels.Rd man/radial.plot.Rd man/triax.fill.Rd man/pie3D.Rd man/staxlab.Rd man/starPie.Rd man/getYmult.Rd man/dotplot.mtb.Rd man/ man/axis.mult.Rd man/psegments3d.Rd man/bin.wind.records.Rd man/textbox.Rd man/sumbrk.Rd man/barp.Rd man/feather.plot.Rd man/get_axispos3d.Rd man/weighted.hist.Rd man/boxed.labels.Rd man/death_reg.Rd man/battleship.plot.Rd man/makeIntersectList.Rd man/get.soil.texture.Rd man/size_n_color.Rd man/plotCI.Rd man/getMarginWidth.Rd man/multhist.Rd man/maxEmptyRect.Rd man/pasteCols.Rd man/symbolbarplot.Rd man/centipede.plot.Rd man/vectorField.Rd man/valid.n.Rd man/paxis3d.Rd man/seats.Rd man/clean.args.Rd man/zoomInPlot.Rd man/get.triprop.Rd man/do.first.Rd man/clplot.Rd man/mtext3d.Rd man/axis.break.Rd man/color2D.matplot.Rd man/gradient.rect.Rd man/pyramid.plot.Rd man/arctext.Rd man/ptext3d.Rd man/plotrix-package.Rd man/draw.radial.line.Rd man/twoord.plot.Rd man/ablineclip.Rd man/ man/triax.plot.Rd man/draw.ellipse.Rd man/jiggle.Rd man/soil.texture.Rd man/polygon.shadow.Rd man/tab.title.Rd man/gantt.chart.Rd man/triax.abline.Rd man/dendroPlot.Rd man/gap.plot.Rd man/emptyspace.Rd man/gap.barplot.Rd man/histStack.Rd man/rescale.Rd man/print.brklist.Rd man/sumDendrite.Rd man/get.breaks.Rd man/draw.arc.Rd man/plot_bg.Rd man/kiteChart.Rd man/get.tablepos.Rd man/fullaxis.Rd man/color.legend.Rd man/taylor.diagram.Rd man/listDepth.Rd man/spreadout.Rd man/intersectDiagram.Rd man/thigmophobe.Rd man/diamondplot.Rd man/revaxis.Rd man/p2p_arrows.Rd man/twoord.stackplot.Rd man/brkdn.plot.Rd man/election.Rd man/clock24.plot.Rd man/plotH.Rd man/fan.plot.Rd man/placeLabels.Rd man/tsxpos.Rd man/brkdnNest.Rd man/dispersion.Rd man/furc.Rd man/thigmophobe.labels.Rd man/drawNestedBars.Rd man/binciWu.Rd man/cluster.overplot.Rd man/color.scale.lines.Rd man/ladderplot.Rd man/ehplot.Rd man/std.error.Rd man/hexagon.Rd man/oz.windrose.Rd man/floating.pie.Rd man/corner.label.Rd man/staircase.plot.Rd man/sizetree.Rd man/ man/getFigCtr.Rd man/makeDendrite.Rd man/radialtext.Rd man/ruginv.Rd man/radial.pie.Rd man/box.heresy.Rd man/plot.dendrite.Rd man/panes.Rd man/color.scale.Rd man/oz.windrose.legend.Rd man/draw.tilted.sector.Rd man/radial.grid.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.