Learn R Programming

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

plotrix (version 3.8-3)

Various Plotting Functions

Description

Lots of plots, various labeling, axis and color scaling functions. The author/maintainer died in September 2023.

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

109,055

Version

3.8-3

License

GPL (>= 2)

Maintainer

ORPHANED

Last Published

November 2nd, 2023

Functions in plotrix (3.8-3)

box.heresy

Display a sort of box plot
boxed.labels

Place labels in boxes
binciWu

Upper binomial confidence limit
brkdnNest

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

Classify wind direction and speed records
bumpchart

Display a "bumps" (sequential ranking) chart
binciW

Binomial confidence limits
categoryReshape

Convert object label/attribute label coding.
clock24.plot

Plot values on a 24 hour "clockface"
clplot

Plot lines with colors determined by values.
color.gradient

Calculate an arbitrary sequence of colors
color.axis

Display an axis in a specified color
clustered.dotplots

Display the frequencies of two categories
cluster.overplot

Shift overlying points into clusters
cylindrect

Display an apparent cylinder
color.id

Identify closest match to a color
death_reg

Death registrations from 1996 to 2010
count.overplot

Show overlying points as counts
color.legend

Legend matching categories or values to colors
dendroPlot

Display distributions as dendrites
color.scale

Turn values into colors.
color.scale.lines

Line segments with scaled colors
diamondplot

Plot multiple variables as polygons on a radial grid
densityGrid

Display a matrix of cell values as symbols.
dispersion

Display a measure of dispersion.
do.first

Execute a graphic function on a plot
clean.args

Remove inappropriate arguments from an argument list
color2D.matplot

Display a numeric matrix as color matrix
centipede.plot

Display a centipede plot
draw.tilted.sector

Display a 3D pie sector
dotplot.mtb

Minitab style dotplots.
draw.arc

Draw arc
drawNestedBars

Display nested bars
find_max_cell

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

Add an axis with a line to the edge of the plot
gantt.chart

Display a Gantt chart
floating.pie

Display a floating pie chart
election

Assign party members to seats
drawSectorAnnulus

Display a radial pie sector
ehplot

Engelmann-Hecker-Plot - EH-Plot
draw.radial.line

Draw a radial line
emptyspace

Find an empty space on a plot
get.triprop

Enter three proportion data - usually soil textures
feather.plot

Display vectors along a horizontal reference line
get.tablepos

Get the position for a legend or table
fill.corner

Fill a "corner" of a matrix with values
get.breaks

Get the breakpoints for a weighted histogram
gap.barplot

Display a barplot with a gap (missing range) on one axis
get.gantt.info

Gather the information to create a Gantt chart
get.soil.texture

Enter soil texture data
get.segs

Calculate the midpoints and limits for a centipede plot
fan.plot

Display a fan plot
getMarginWidth

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

Draw a hexagon
intersectDiagram

Display set intersections
histStack

Histogram "stacked" by categories
corner.label

Find corner locations and optionally display a label
gap.plot

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

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

Draw a circle
jiggle

Calculate equally spaced values within a range.
getYmult

Correct for aspect and coordinate ratio
ladderplot

Ladder Plot
lengthKey

Key for interpreting lengths in a plot
getFigCtr

Get coordinates in the figure region in user units.
draw.ellipse

Draw ellipse
legendg

Legend with grouped bars, lines or symbols
makeDensityMatrix

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

Enter a set intersection list
get_axispos3d

Get axis positions on a 3D plot
makeIntersectList

Count set intersections
paxis3d

Display text in the margins of a 3D plot
gradient.rect

Display a rectangle filled with an arbitrary color gradient
pasteCols

Paste the columns of a matrix together
maxEmptyRect

Find an empty space on a plot
gap.boxplot

Display a boxplot with a gap (missing range)
multhist

Plot a multiple histogram, as a barplot
mtext3d

Display text in the margins of a 3D plot
labbePlot

Display a L'Abbe plot
joyPlot

Display a series of density curves.
p2p_arrows

Draw arrows between points
l2010

World lightning strike data from 2010
plotrix-package

Specialized plots and plotting accessories
oz.windrose.legend

Display an Australian wind rose legend
kiteChart

Magnitude by position chart.
pie3D.labels

Display labels on a 3D pie chart
panes

Prepare a "panel" type layout
oz.windrose

Display an Australian wind rose
pie3D

Display a 3D pie chart
perspx

Display perspective plot
pie.labels

Place labels on a pie chart
placeLabels

Place labels in boxes
multivari

Function to draw a multivari chart
propbrk

Calculate the proportion of specified values in a vector
ptext3d

Display text on a 3D plot
pyramid.plot

Pyramid plot
plotCI

Plot confidence intervals/error bars
radial.plot

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

Add a background color to a plot
multsymbolbox

Draw boxes filled with symbols
polygon.shadow

Display a shadow effect for an arbitrary polygon
radial.plot.labels

Display labels on a circular grid
print.brklist

Display the output of brkdnNest
plotH

Scatterplot with histogram-like bars.
raw.means.plot

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

Plot with repeated symbols by size
sizetree

Display a hierarchical breakdown of disjunct categories
radialtext

Display text in a radial line
rectFill

Draw a rectangle filled with symbols
radial.grid

Display a radial grid
ruginv

Add an Inverse Rug to a Plot
psegments3d

Draw segments on a 3D plot
rescale

Scale numbers into a new range
radial.pie

Plot sectors/annuli on a circular grid of 0 to 2*pi radians
seats

Arrange N seats in M semicircular rows
polar.plot

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

Build a vector of color values
sliceArray

Slice an array
size_n_color

Display circles with specified size and color
soil.texture

Soil texture triangle plot
soil.texture.uk

Soil texture triangle plot using UK conventions
stackpoly

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

Spread out a vector of numbers to a minimum interval
sumbrk

Count specified values in a vector
soils

Soil texture data from 125 soils
staircasePlot

Display a staircase plot
tab.title

Display the title of a plot as a colored tab
staxlab

Place staggered or angled labels on an axis
spread.labels

Spread labels for irregularly spaced values
revaxis

Plot with axis direction(s) reversed
staircase.plot

Display a staircase plot
starPie

A pie-like graphic object
taylor.diagram

Taylor diagram
textbox

Add text box
thigmophobe

Find the direction away from the closest point
std.error

Calculate standard error of the mean
symbolbarplot

barplot filled with symbols
symbolbox

Draw a box filled with symbols
twoord.stackplot

Multiple (stack) plot with two ordinates
thigmophobe.labels

Place labels away from the nearest point
tsxpos

Calculate equispaced x positions.
triax.plot

Triangle plot
triax.points

Triangle plot points
vectorField

Display magnitude/direction vectors
violin_plot

Display a "violin" plot
valid.n

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

Triangle plot fill
triax.frame

Triangle plot frame
triax.abline

Lines for triangle plot
weighted.hist

Display a weighted histogram
zoomInPlot

Display a plot with a rectangular section expanded in an adjacent plot
twoord.plot

Plot with two ordinates
ablineclip

Add a straight line to a plot
barNest

Display a nested breakdown of numeric values
arctext

Display text on a circular arc
barlabels

Label the bars on a barplot
addtable2plot

Add a table of values to a plot
barp

A bar plotting routine
battleship.plot

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

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

Display an axis with values having a multiplier
add.ps

add p-values from t-tests
brkdn.plot

A point/line plotting routine
binciWl

Lower binomial confidence limit