Learn R Programming

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

plotrix (version 3.6-4)

Various Plotting Functions

Description

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

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

65,636

Version

3.6-4

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

December 30th, 2016

Functions in plotrix (3.6-4)

barNest

Display a nested breakdown of numeric values
barp

A bar plotting routine
add.ps

add p-values from t-tests
battleship.plot

Display a matrix of values as the widths of stacked rectangles
ablineclip

Add a straight line to a plot
addtable2plot

Add a table of values to a plot
axis.break

Place a "break" mark on an axis
arctext

Display text on a circular arc
bumpchart

Display a "bumps" chart
categoryReshape

Convert object label/attribute label coding.
bin.wind.records

Classify wind direction and speed records
binciW

Binomial confidence limits
binciWu

Upper binomial confidence limit
brkdn.plot

A point/line plotting routine
brkdnNest

Perform a nested breakdown of numeric values
box.heresy

Display a sort of box plot
binciWl

Lower binomial confidence limit
color.legend

Legend matching categories or values to colors
color.scale

Turn values into colors.
dendroPlot

Display distributions as dendrites
diamondplot

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

Draw a radial line
draw.tilted.sector

Display a 3D pie sector
cluster.overplot

Shift overlying points into clusters
corner.label

Find corner locations and optionally display a label
color.axis

Display an axis in a specified color
emptyspace

Find an empty space on a plot
count.overplot

Show overlying points as counts
fan.plot

Display a fan plot
clock24.plot

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

Line segments with scaled colors
color2D.matplot

Display a numeric matrix as color matrix
clplot

Plot lines with colors determined by values.
drawNestedBars

Display nested bars
drawSectorAnnulus

Display a radial pie sector
centipede.plot

Display a centipede plot
floating.pie

Display a floating pie chart
axis.mult

Display an axis with values having a multiplier
clean.args

Remove inappropriate arguments from an argument list
dispersion

Display a measure of dispersion.
gap.barplot

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

Minitab style dotplots
do.first

Execute a graphic function on a plot
fullaxis

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

Draw arc
gap.boxplot

Display a boxplot with a gap (missing range)
furc

Plot a dendrite
boxed.labels

Place labels in boxes
gantt.chart

Display a Gantt chart
ehplot

Engelmann-Hecker-Plot - EH-Plot
election

Assign party members to seats
barlabels

Label the bars on a barplot
color.gradient

Calculate an arbitrary sequence of colors
cylindrect

Display an apparent cylinder
draw.circle

Draw a circle
death_reg

Death registrations from 1996 to 2010
color.id

Identify closest match to a color
feather.plot

Display vectors along a horizontal reference line
draw.ellipse

Draw ellipse
fill.corner

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

Get the position for a legend or table
get.triprop

Enter three proportion data - usually soil textures
gradient.rect

Display a rectangle filled with an arbitrary color gradient
maxEmptyRect

Find an empty space on a plot
makeIntersectList

Count set intersections
hexagon

Draw a hexagon
histStack

Histogram "stacked" by categories
intersectDiagram

Display set intersections
perspx

Display perspective plot
paxis3d

Display text in the margins of a 3D plot
plotrix-package

Specialized plots and plotting accessories
polar.plot

Plot values on a circular grid of 0 to 360 degrees
get.breaks

Get the breakpoints for a weighted histogram
get.gantt.info

Gather the information to create a Gantt chart
getMarginWidth

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

Correct for aspect and coordinate ratio
listDepth

Find the maximum depth of a list
makeDendrite

Build a list of the mutually exclusive attributes of objects
pasteCols

Paste the columns of a matrix together
plot.dendrite

Plot a dendrogram of a dendrite object
plot_bg

Add a background color to a plot
panes

Prepare a "panel" type layout
pie3D

Display a 3D pie chart
pie.labels

Place labels on a pie chart
plotH

Scatterplot with histogram-like bars.
plotCI

Plot confidence intervals/error bars
radial.plot

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

Display labels on a circular grid
get.segs

Calculate the midpoints and limits for a centipede plot
get.soil.texture

Enter soil texture data
labbePlot

Display a L'Abbe plot
ladderplot

Ladder Plot
oz.windrose

Display an Australian wind rose
multsymbolbox

Draw boxes filled with symbols
pie3D.labels

Display labels on a 3D pie chart
revaxis

Plot with axis direction(s) reversed
placeLabels

Place labels in boxes
ruginv

Add an Inverse Rug to a Plot
spreadout

Spread out a vector of numbers to a minimum interval
stackpoly

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

Draw a box filled with symbols
symbolbarplot

barplot filled with symbols
gap.plot

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

Display text in the margins of a 3D plot
get_axispos3d

Get axis positions on a 3D plot
multhist

Plot a multiple histogram, as a barplot
radialtext

Display text in a radial line
raw.means.plot

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

Triangle plot
sumbrk

Count specified values in a vector
triax.points

Triangle plot points
sumDendrite

Sum the counts in the top level of a dendrite object
triax.fill

Triangle plot fill
triax.frame

Triangle plot frame
vectorField

Display magnitude/direction vectors
weighted.hist

Display a weighted histogram
psegments3d

Draw segments on a 3D plot
propbrk

Calculate the proportion of specified values in a vector
rectFill

Draw a rectangle filled with symbols
rescale

Scale numbers into a new range
soil.texture

Soil texture triangle plot
soil.texture.uk

Soil texture triangle plot using UK conventions
staxlab

Place staggered or angled labels on an axis
thigmophobe.labels

Place labels away from the nearest point
std.error

Calculate standard error of the mean
triax.abline

Lines for triangle plot
radial.pie

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

Display a radial grid
zoomInPlot

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

Display circles with specified size and color
seats

Arrange N seats in M semicircular rows
staircase.plot

Display a staircase plot
starPie

A pie-like graphic object
thigmophobe

Find the direction away from the closest point
textbox

Add text box
twoord.stackplot

Multiple (stack) plot with two ordinates
getIntersectList

Enter a set intersection list
getFigCtr

Get coordinates in the figure region in user units.
valid.n

Find the number of valid (not NA) values
kiteChart

Magnitude by position chart.
jiggle

Calculate equally spaced values within a range.
legendg

Legend with grouped bars, lines or symbols
lengthKey

Key for interpreting lengths in a plot
oz.windrose.legend

Display an Australian wind rose legend
p2p_arrows

Draw arrows between points
polygon.shadow

Display a shadow effect for an arbitrary polygon
ptext3d

Display text on a 3D plot
print.brklist

Display the output of brkdnNest
pyramid.plot

Pyramid plot
smoothColors

Build a vector of color values
sliceArray

Slice an array
soils

Soil texture data from 125 soils
spread.labels

Spread labels for irregularly spaced values
sizeplot

Plot with repeated symbols by size
sizetree

Display a hierarchical breakdown of disjunct categories
tab.title

Display the title of a plot as a colored tab
taylor.diagram

Taylor diagram
tsxpos

Calculate equispaced x positions.
twoord.plot

Plot with two ordinates