Learn R Programming

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

plotrix (version 3.7-7)

Various Plotting Functions

Description

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

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

84,962

Version

3.7-7

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

December 5th, 2019

Functions in plotrix (3.7-7)

barp

A bar plotting routine
barNest

Display a nested breakdown of numeric values
battleship.plot

Display a matrix of values as the widths of stacked rectangles
add.ps

add p-values from t-tests
boxed.labels

Place labels in boxes
box.heresy

Display a sort of box plot
ablineclip

Add a straight line to a plot
barlabels

Label the bars on a barplot
binciWl

Lower binomial confidence limit
color.gradient

Calculate an arbitrary sequence of colors
cylindrect

Display an apparent cylinder
drawSectorAnnulus

Display a radial pie sector
color.axis

Display an axis in a specified color
count.overplot

Show overlying points as counts
drawNestedBars

Display nested bars
ehplot

Engelmann-Hecker-Plot - EH-Plot
binciWu

Upper binomial confidence limit
election

Assign party members to seats
color.legend

Legend matching categories or values to colors
diamondplot

Plot multiple variables as polygons on a radial grid
do.first

Execute a graphic function on a plot
color.id

Identify closest match to a color
dispersion

Display a measure of dispersion.
densityGrid

Display a matrix of cell values as symbols.
furc

Plot a dendrite
gantt.chart

Display a Gantt chart
get.gantt.info

Gather the information to create a Gantt chart
cluster.overplot

Shift overlying points into clusters
brkdn.plot

A point/line plotting routine
get.segs

Calculate the midpoints and limits for a centipede plot
dendroPlot

Display distributions as dendrites
clustered.dotplots

Display the frequencies of two categories
death_reg

Death registrations from 1996 to 2010
brkdnNest

Perform a nested breakdown of numeric values
getYmult

Correct for aspect and coordinate ratio
get_axispos3d

Get axis positions on a 3D plot
draw.radial.line

Draw a radial line
l2010

World lightning strike data from 2010
placeLabels

Place labels in boxes
oz.windrose

Display an Australian wind rose
pie3D.labels

Display labels on a 3D pie chart
kiteChart

Magnitude by position chart.
multsymbolbox

Draw boxes filled with symbols
psegments3d

Draw segments on a 3D plot
draw.tilted.sector

Display a 3D pie sector
feather.plot

Display vectors along a horizontal reference line
propbrk

Calculate the proportion of specified values in a vector
gap.barplot

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

Display a plot with one or two gaps (missing ranges) on one axis
fill.corner

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

Get the breakpoints for a weighted histogram
lengthKey

Key for interpreting lengths in a plot
legendg

Legend with grouped bars, lines or symbols
hexagon

Draw a hexagon
gradient.rect

Display a rectangle filled with an arbitrary color gradient
gap.boxplot

Display a boxplot with a gap (missing range)
maxEmptyRect

Find an empty space on a plot
mtext3d

Display text in the margins of a 3D plot
radial.plot

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

Plot a dendrogram of a dendrite object
histStack

Histogram "stacked" by categories
sliceArray

Slice an array
starPie

A pie-like graphic object
radial.plot.labels

Display labels on a circular grid
smoothColors

Build a vector of color values
staxlab

Place staggered or angled labels on an axis
polygon.shadow

Display a shadow effect for an arbitrary polygon
print.brklist

Display the output of brkdnNest
plotCI

Plot confidence intervals/error bars
rectFill

Draw a rectangle filled with symbols
axis.break

Place a "break" mark on an axis
triax.frame

Triangle plot frame
axis.mult

Display an axis with values having a multiplier
rescale

Scale numbers into a new range
spreadout

Spread out a vector of numbers to a minimum interval
addtable2plot

Add a table of values to a plot
categoryReshape

Convert object label/attribute label coding.
bumpchart

Display a "bumps" (sequential ranking) chart
centipede.plot

Display a centipede plot
arctext

Display text on a circular arc
triax.plot

Triangle plot
bin.wind.records

Classify wind direction and speed records
clean.args

Remove inappropriate arguments from an argument list
weighted.hist

Display a weighted histogram
violin_plot

Display a "violin" plot
clplot

Plot lines with colors determined by values.
clock24.plot

Plot values on a 24 hour "clockface"
color.scale.lines

Line segments with scaled colors
binciW

Binomial confidence limits
color.scale

Turn values into colors.
dotplot.mtb

Minitab style dotplots.
color2D.matplot

Display a numeric matrix as color matrix
draw.arc

Draw arc
emptyspace

Find an empty space on a plot
corner.label

Find corner locations and optionally display a label
fan.plot

Display a fan plot
textbox

Add text box
stackpoly

Display the columns of a matrix or data frame as stacked polygons
std.error

Calculate standard error of the mean
sumDendrite

Sum the counts in the top level of a dendrite object
taylor.diagram

Taylor diagram
get.triprop

Enter three proportion data - usually soil textures
getFigCtr

Get coordinates in the figure region in user units.
jiggle

Calculate equally spaced values within a range.
labbePlot

Display a L'Abbe plot
joyPlot

Display a series of density curves.
draw.ellipse

Draw ellipse
floating.pie

Display a floating pie chart
ladderplot

Ladder Plot
pasteCols

Paste the columns of a matrix together
panes

Prepare a "panel" type layout
paxis3d

Display text in the margins of a 3D plot
draw.circle

Draw a circle
fullaxis

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

Display perspective plot
get.tablepos

Get the position for a legend or table
get.soil.texture

Enter soil texture data
getIntersectList

Enter a set intersection list
plotrix-package

Specialized plots and plotting accessories
polar.plot

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

Arrange N seats in M semicircular rows
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
tab.title

Display the title of a plot as a colored tab
symbolbox

Draw a box filled with symbols
getMarginWidth

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

Display set intersections
listDepth

Find the maximum depth of a list
plot_bg

Add a background color to a plot
plotH

Scatterplot with histogram-like bars.
multivari

Function to draw a multivari chart
triax.abline

Lines for triangle plot
makeDendrite

Build a list of the mutually exclusive attributes of objects
multhist

Plot a multiple histogram, as a barplot
ptext3d

Display text on a 3D plot
pyramid.plot

Pyramid plot
makeDensityMatrix

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

Count set intersections
radialtext

Display text in a radial line
triax.fill

Triangle plot fill
p2p_arrows

Draw arrows between points
pie.labels

Place labels on a pie chart
oz.windrose.legend

Display an Australian wind rose legend
zoomInPlot

Display a plot with a rectangular section expanded in an adjacent plot
raw.means.plot

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

Soil texture data from 125 soils
pie3D

Display a 3D pie chart
revaxis

Plot with axis direction(s) reversed
radial.grid

Display a radial grid
spread.labels

Spread labels for irregularly spaced values
ruginv

Add an Inverse Rug to a Plot
radial.pie

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

Display a hierarchical breakdown of disjunct categories
sizeplot

Plot with repeated symbols by size
sumbrk

Count specified values in a vector
staircase.plot

Display a staircase plot
symbolbarplot

barplot filled with symbols
staircasePlot

Display a staircase plot
triax.points

Triangle plot points
thigmophobe

Find the direction away from the closest point
thigmophobe.labels

Place labels away from the nearest point
twoord.plot

Plot with two ordinates
twoord.stackplot

Multiple (stack) plot with two ordinates
valid.n

Find the number of valid (not NA) values
tsxpos

Calculate equispaced x positions.
vectorField

Display magnitude/direction vectors