Learn R Programming

plotrix

plotrix is an R package that provides many plotting, labeling, and axis & color scaling functions.

Its original author and maintainer, Jim Lemon, passed away in September 2023.

Currently it is being maintained by Duncan Murdoch. Please submit bug reports to https://github.com/dmurdoch/plotrix/issues.

Authors

Jim 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, Darshan Baral, Ulrike Groemping, Bill Venables

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

73,280

Version

3.8-4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

November 10th, 2023

Functions in plotrix (3.8-4)

binciWu

Upper binomial confidence limit
binciWl

Lower binomial confidence limit
box.heresy

Display a sort of box plot
boxed.labels

Place labels in boxes
clustered.dotplots

Display the frequencies of two categories
cluster.overplot

Shift overlying points into clusters
color.legend

Legend matching categories or values to colors
color.id

Identify closest match to a color
clean.args

Remove inappropriate arguments from an argument list
centipede.plot

Display a centipede plot
color.gradient

Calculate an arbitrary sequence of colors
cylindrect

Display an apparent cylinder
clplot

Plot lines with colors determined by values.
death_reg

Death registrations from 1996 to 2010
color.axis

Display an axis in a specified color
densityGrid

Display a matrix of cell values as symbols.
corner.label

Find corner locations and optionally display a label
color2D.matplot

Display a numeric matrix as color matrix
draw.radial.line

Draw a radial line
color.scale.lines

Line segments with scaled colors
categoryReshape

Convert object label/attribute label coding.
diamondplot

Plot multiple variables as polygons on a radial grid
color.scale

Turn values into colors.
clock24.plot

Plot values on a 24 hour "clockface"
draw.tilted.sector

Display a 3D pie sector
dendroPlot

Display distributions as dendrites
count.overplot

Show overlying points as counts
bumpchart

Display a "bumps" (sequential ranking) chart
dispersion

Display a measure of dispersion.
do.first

Execute a graphic function on a plot
dotplot.mtb

Minitab style dotplots.
fullaxis

Add an axis with a line to the edge of the plot
draw.ellipse

Draw ellipse
drawNestedBars

Display nested bars
find_max_cell

Maximum (or minimum) value cell in a matrix.
drawSectorAnnulus

Display a radial pie sector
draw.circle

Draw a circle
emptyspace

Find an empty space on a plot
get.segs

Calculate the midpoints and limits for a centipede plot
gantt.chart

Display a Gantt chart
fan.plot

Display a fan plot
gradient.rect

Display a rectangle filled with an arbitrary color gradient
draw.arc

Draw arc
get_axispos3d

Get axis positions on a 3D plot
get.breaks

Get the breakpoints for a weighted histogram
gap.plot

Display a plot with one or two gaps (missing ranges) on one axis
get.soil.texture

Enter soil texture data
ehplot

Engelmann-Hecker-Plot - EH-Plot
election

Assign party members to seats
get.gantt.info

Gather the information to create a Gantt chart
fill.corner

Fill a "corner" of a matrix with values
hexagon

Draw a hexagon
feather.plot

Display vectors along a horizontal reference line
get.tablepos

Get the position for a legend or table
get.triprop

Enter three proportion data - usually soil textures
floating.pie

Display a floating pie chart
gap.barplot

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

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

Get coordinates in the figure region in user units.
jiggle

Calculate equally spaced values within a range.
getIntersectList

Enter a set intersection list
intersectDiagram

Display set intersections
l2010

World lightning strike data from 2010
labbePlot

Display a L'Abbe plot
gap.boxplot

Display a boxplot with a gap (missing range)
maxEmptyRect

Find an empty space on a plot
plotH

Scatterplot with histogram-like bars.
makeIntersectList

Count set intersections
plot_bg

Add a background color to a plot
histStack

Histogram "stacked" by categories
lengthKey

Key for interpreting lengths in a plot
propbrk

Calculate the proportion of specified values in a vector
oz.windrose.legend

Display an Australian wind rose legend
oz.windrose

Display an Australian wind rose
placeLabels

Place labels in boxes
plotCI

Plot confidence intervals/error bars
psegments3d

Draw segments on a 3D plot
mtext3d

Display text in the margins of a 3D plot
makeDensityMatrix

Compute a matrix of counts from a list of x,y positions
multhist

Plot a multiple histogram, as a barplot
ladderplot

Ladder Plot
legendg

Legend with grouped bars, lines or symbols
polygon.shadow

Display a shadow effect for an arbitrary polygon
raw.means.plot

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

Display the output of brkdnNest
staircasePlot

Display a staircase plot
radialtext

Display text in a radial line
pie3D.labels

Display labels on a 3D pie chart
plotrix-package

Specialized plots and plotting accessories
pasteCols

Paste the columns of a matrix together
paxis3d

Display text in the margins of a 3D plot
pie3D

Display a 3D pie chart
staircase.plot

Display a staircase plot
seats

Arrange N seats in M semicircular rows
tab.title

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

Plot values on a circular grid of 0 to 360 degrees
getYmult

Correct for aspect and coordinate ratio
taylor.diagram

Taylor diagram
getMarginWidth

Find the margin width necessary to fit text or a legend next to a plot
triax.fill

Triangle plot fill
joyPlot

Display a series of density curves.
triax.frame

Triangle plot frame
size_n_color

Display circles with specified size and color
multsymbolbox

Draw boxes filled with symbols
multivari

Function to draw a multivari chart
radial.plot.labels

Display labels on a circular grid
sliceArray

Slice an array
radial.plot

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

Plot with axis direction(s) reversed
radial.grid

Display a radial grid
radial.pie

Plot sectors/annuli on a circular grid of 0 to 2*pi radians
spread.labels

Spread labels for irregularly spaced values
soils

Soil texture data from 125 soils
ruginv

Add an Inverse Rug to a Plot
kiteChart

Magnitude by position chart.
panes

Prepare a "panel" type layout
p2p_arrows

Draw arrows between points
std.error

Calculate standard error of the mean
spreadout

Spread out a vector of numbers to a minimum interval
stackpoly

Display the columns of a matrix or data frame as stacked polygons
sumbrk

Count specified values in a vector
starPie

A pie-like graphic object
staxlab

Place staggered or angled labels on an axis
textbox

Add text box
smoothColors

Build a vector of color values
perspx

Display perspective plot
thigmophobe

Find the direction away from the closest point
triax.plot

Triangle plot
triax.points

Triangle plot points
triax.abline

Lines for triangle plot
thigmophobe.labels

Place labels away from the nearest point
ptext3d

Display text on a 3D plot
pie.labels

Place labels on a pie chart
pyramid.plot

Pyramid plot
weighted.hist

Display a weighted histogram
zoomInPlot

Display a plot with a rectangular section expanded in an adjacent plot
violin_plot

Display a "violin" plot
vectorField

Display magnitude/direction vectors
sizeplot

Plot with repeated symbols by size
sizetree

Display a hierarchical breakdown of disjunct categories
soil.texture

Soil texture triangle plot
rescale

Scale numbers into a new range
soil.texture.uk

Soil texture triangle plot using UK conventions
rectFill

Draw a rectangle filled with symbols
symbolbarplot

barplot filled with symbols
symbolbox

Draw a box filled with symbols
twoord.stackplot

Multiple (stack) plot with two ordinates
valid.n

Find the number of valid (not NA) values
tsxpos

Calculate equispaced x positions.
twoord.plot

Plot with two ordinates
addtable2plot

Add a table of values to a plot
axis.mult

Display an axis with values having a multiplier
ablineclip

Add a straight line to a plot
barNest

Display a nested breakdown of numeric values
add.ps

add p-values from t-tests
arctext

Display text on a circular arc
brkdn.plot

A point/line plotting routine
battleship.plot

Display a matrix of values as the widths of stacked rectangles
axis.break

Place a "break" mark on an axis
barlabels

Label the bars on a barplot
barp

A bar plotting routine
brkdnNest

Perform a nested breakdown of numeric values
bin.wind.records

Classify wind direction and speed records
binciW

Binomial confidence limits