Learn R Programming

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

plotrix (version 3.7-5)

Various Plotting Functions

Description

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

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

84,511

Version

3.7-5

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

April 7th, 2019

Functions in plotrix (3.7-5)

diamondplot

Plot multiple variables as polygons on a radial grid
dispersion

Display a measure of dispersion.
fan.plot

Display a fan plot
feather.plot

Display vectors along a horizontal reference line
do.first

Execute a graphic function on a plot
get_axispos3d

Get axis positions on a 3D plot
get.soil.texture

Enter soil texture data
get.segs

Calculate the midpoints and limits for a centipede plot
dotplot.mtb

Minitab style dotplots.
bumpchart

Display a "bumps" chart
categoryReshape

Convert object label/attribute label coding.
binciWl

Lower binomial confidence limit
ladderplot

Ladder Plot
gradient.rect

Display a rectangle filled with an arbitrary color gradient
labbePlot

Display a L'Abbe plot
polar.plot

Plot values on a circular grid of 0 to 360 degrees
box.heresy

Display a sort of box plot
barp

A bar plotting routine
battleship.plot

Display a matrix of values as the widths of stacked rectangles
color.id

Identify closest match to a color
boxed.labels

Place labels in boxes
color.legend

Legend matching categories or values to colors
textbox

Add text box
thigmophobe

Find the direction away from the closest point
polygon.shadow

Display a shadow effect for an arbitrary polygon
death_reg

Death registrations from 1996 to 2010
centipede.plot

Display a centipede plot
dendroPlot

Display distributions as dendrites
triax.plot

Triangle plot
brkdn.plot

A point/line plotting routine
draw.tilted.sector

Display a 3D pie sector
brkdnNest

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

Classify wind direction and speed records
binciW

Binomial confidence limits
color.axis

Display an axis in a specified color
color.gradient

Calculate an arbitrary sequence of colors
binciWu

Upper binomial confidence limit
clean.args

Remove inappropriate arguments from an argument list
cluster.overplot

Shift overlying points into clusters
clock24.plot

Plot values on a 24 hour "clockface"
clustered.dotplots

Display the frequencies of two categories
clplot

Plot lines with colors determined by values.
triax.points

Triangle plot points
count.overplot

Show overlying points as counts
cylindrect

Display an apparent cylinder
color.scale

Turn values into colors.
color2D.matplot

Display a numeric matrix as color matrix
corner.label

Find corner locations and optionally display a label
color.scale.lines

Line segments with scaled colors
gantt.chart

Display a Gantt chart
drawSectorAnnulus

Display a radial pie sector
ehplot

Engelmann-Hecker-Plot - EH-Plot
gap.barplot

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

Display nested bars
draw.arc

Draw arc
draw.ellipse

Draw ellipse
draw.circle

Draw a circle
draw.radial.line

Draw a radial line
get.breaks

Get the breakpoints for a weighted histogram
get.tablepos

Get the position for a legend or table
election

Assign party members to seats
get.gantt.info

Gather the information to create a Gantt chart
get.triprop

Enter three proportion data - usually soil textures
emptyspace

Find an empty space on a plot
fullaxis

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

Plot a dendrite
getMarginWidth

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

Display a series of density curves.
getYmult

Correct for aspect and coordinate ratio
makeIntersectList

Count set intersections
kiteChart

Magnitude by position chart.
maxEmptyRect

Find an empty space on a plot
intersectDiagram

Display set intersections
pasteCols

Paste the columns of a matrix together
fill.corner

Fill a "corner" of a matrix with values
paxis3d

Display text in the margins of a 3D plot
jiggle

Calculate equally spaced values within a range.
pie3D

Display a 3D pie chart
pie3D.labels

Display labels on a 3D pie chart
listDepth

Find the maximum depth of a list
floating.pie

Display a floating pie chart
getFigCtr

Get coordinates in the figure region in user units.
getIntersectList

Enter a set intersection list
gap.boxplot

Display a boxplot with a gap (missing range)
radial.pie

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

Build a list of the mutually exclusive attributes of objects
multivari

Function to draw a multivari chart
radial.plot

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

Draw a hexagon
mtext3d

Display text in the margins of a 3D plot
histStack

Histogram "stacked" by categories
oz.windrose

Display an Australian wind rose
gap.plot

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

Draw boxes filled with symbols
print.brklist

Display the output of brkdnNest
oz.windrose.legend

Display an Australian wind rose legend
multhist

Plot a multiple histogram, as a barplot
legendg

Legend with grouped bars, lines or symbols
placeLabels

Place labels in boxes
propbrk

Calculate the proportion of specified values in a vector
sizetree

Display a hierarchical breakdown of disjunct categories
size_n_color

Display circles with specified size and color
p2p_arrows

Draw arrows between points
sizeplot

Plot with repeated symbols by size
lengthKey

Key for interpreting lengths in a plot
soil.texture.uk

Soil texture triangle plot using UK conventions
soils

Soil texture data from 125 soils
panes

Prepare a "panel" type layout
perspx

Display perspective plot
sliceArray

Slice an array
staircasePlot

Display a staircase plot
plot.dendrite

Plot a dendrogram of a dendrite object
pie.labels

Place labels on a pie chart
starPie

A pie-like graphic object
plot_bg

Add a background color to a plot
twoord.stackplot

Multiple (stack) plot with two ordinates
staxlab

Place staggered or angled labels on an axis
valid.n

Find the number of valid (not NA) values
weighted.hist

Display a weighted histogram
zoomInPlot

Display a plot with a rectangular section expanded in an adjacent plot
plotrix-package

Specialized plots and plotting accessories
std.error

Calculate standard error of the mean
triax.fill

Triangle plot fill
triax.frame

Triangle plot frame
pyramid.plot

Pyramid plot
psegments3d

Draw segments on a 3D plot
plotCI

Plot confidence intervals/error bars
plotH

Scatterplot with histogram-like bars.
radial.grid

Display a radial grid
raw.means.plot

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

Display text on a 3D plot
radial.plot.labels

Display labels on a circular grid
rectFill

Draw a rectangle filled with symbols
ruginv

Add an Inverse Rug to a Plot
stackpoly

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

Arrange N seats in M semicircular rows
radialtext

Display text in a radial line
staircase.plot

Display a staircase plot
spread.labels

Spread labels for irregularly spaced values
rescale

Scale numbers into a new range
spreadout

Spread out a vector of numbers to a minimum interval
symbolbarplot

barplot filled with symbols
revaxis

Plot with axis direction(s) reversed
smoothColors

Build a vector of color values
soil.texture

Soil texture triangle plot
symbolbox

Draw a box filled with symbols
tab.title

Display the title of a plot as a colored tab
sumDendrite

Sum the counts in the top level of a dendrite object
thigmophobe.labels

Place labels away from the nearest point
taylor.diagram

Taylor diagram
triax.abline

Lines for triangle plot
sumbrk

Count specified values in a vector
tsxpos

Calculate equispaced x positions.
twoord.plot

Plot with two ordinates
vectorField

Display magnitude/direction vectors
violin_plot

Display a "violin" plot
ablineclip

Add a straight line to a plot
add.ps

add p-values from t-tests
axis.break

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

Display an axis with values having a multiplier
addtable2plot

Add a table of values to a plot
arctext

Display text on a circular arc
barNest

Display a nested breakdown of numeric values
barlabels

Label the bars on a barplot