Learn R Programming

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

plotrix (version 3.6-6)

Various Plotting Functions

Description

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

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

90,795

Version

3.6-6

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

August 16th, 2017

Functions in plotrix (3.6-6)

ablineclip

Add a straight line to a plot
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
barp

A bar plotting routine
battleship.plot

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

Display a nested breakdown of numeric values
barlabels

Label the bars on a barplot
add.ps

add p-values from t-tests
box.heresy

Display a sort of box plot
boxed.labels

Place labels in boxes
cluster.overplot

Shift overlying points into clusters
binciWl

Lower binomial confidence limit
binciWu

Upper binomial confidence limit
color.axis

Display an axis in a specified color
bumpchart

Display a "bumps" chart
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.scale

Turn values into colors.
color.scale.lines

Line segments with scaled colors
color.gradient

Calculate an arbitrary sequence of colors
count.overplot

Show overlying points as counts
cylindrect

Display an apparent cylinder
clustered.dotplots

Display the frequencies of two categories
color2D.matplot

Display a numeric matrix as color matrix
corner.label

Find corner locations and optionally display a label
draw.ellipse

Draw ellipse
bin.wind.records

Classify wind direction and speed records
binciW

Binomial confidence limits
color.id

Identify closest match to a color
color.legend

Legend matching categories or values to colors
diamondplot

Plot multiple variables as polygons on a radial grid
dispersion

Display a measure of dispersion.
do.first

Execute a graphic function on a plot
dotplot.mtb

Minitab style dotplots
election

Assign party members to seats
draw.tilted.sector

Display a 3D pie sector
drawNestedBars

Display nested bars
fill.corner

Fill a "corner" of a matrix with values
floating.pie

Display a floating pie chart
emptyspace

Find an empty space on a plot
gap.boxplot

Display a boxplot with a gap (missing range)
gap.plot

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

Find the margin width necessary to fit text or a legend next to a plot
get.segs

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

Enter soil texture data
kiteChart

Magnitude by position chart.
labbePlot

Display a L'Abbe plot
draw.arc

Draw arc
draw.circle

Draw a circle
fan.plot

Display a fan plot
multhist

Plot a multiple histogram, as a barplot
multsymbolbox

Draw boxes filled with symbols
oz.windrose

Display an Australian wind rose
oz.windrose.legend

Display an Australian wind rose legend
draw.radial.line

Draw a radial line
fullaxis

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

Plot a dendrite
getYmult

Correct for aspect and coordinate ratio
ladderplot

Ladder Plot
legendg

Legend with grouped bars, lines or symbols
polar.plot

Plot values on a circular grid of 0 to 360 degrees
polygon.shadow

Display a shadow effect for an arbitrary polygon
pyramid.plot

Pyramid plot
feather.plot

Display vectors along a horizontal reference line
get.breaks

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

Gather the information to create a Gantt chart
intersectDiagram

Display set intersections
getFigCtr

Get coordinates in the figure region in user units.
getIntersectList

Enter a set intersection list
hexagon

Draw a hexagon
histStack

Histogram "stacked" by categories
makeDendrite

Build a list of the mutually exclusive attributes of objects
makeIntersectList

Count set intersections
pasteCols

Paste the columns of a matrix together
brkdn.plot

A point/line plotting routine
brkdnNest

Perform a nested breakdown of numeric values
centipede.plot

Display a centipede plot
clean.args

Remove inappropriate arguments from an argument list
radial.grid

Display a radial grid
size_n_color

Display circles with specified size and color
sizeplot

Plot with repeated symbols by size
perspx

Display perspective plot
pie.labels

Place labels on a pie chart
plot_bg

Add a background color to a plot
jiggle

Calculate equally spaced values within a range.
lengthKey

Key for interpreting lengths in a plot
listDepth

Find the maximum depth of a list
p2p_arrows

Draw arrows between points
paxis3d

Display text in the margins of a 3D plot
placeLabels

Place labels in boxes
plot.dendrite

Plot a dendrogram of a dendrite object
death_reg

Death registrations from 1996 to 2010
dendroPlot

Display distributions as dendrites
drawSectorAnnulus

Display a radial pie sector
stackpoly

Display the columns of a matrix or data frame as stacked polygons
staircase.plot

Display a staircase plot
taylor.diagram

Taylor diagram
plotrix-package

Specialized plots and plotting accessories
rectFill

Draw a rectangle filled with symbols
ruginv

Add an Inverse Rug to a Plot
seats

Arrange N seats in M semicircular rows
std.error

Calculate standard error of the mean
sumDendrite

Sum the counts in the top level of a dendrite object
panes

Prepare a "panel" type layout
print.brklist

Display the output of brkdnNest
propbrk

Calculate the proportion of specified values in a vector
raw.means.plot

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

Add text box
twoord.plot

Plot with two ordinates
twoord.stackplot

Multiple (stack) plot with two ordinates
ehplot

Engelmann-Hecker-Plot - EH-Plot
gantt.chart

Display a Gantt chart
gap.barplot

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

Get the position for a legend or table
get.triprop

Enter three proportion data - usually soil textures
get_axispos3d

Get axis positions on a 3D plot
sumbrk

Count specified values in a vector
symbolbarplot

barplot filled with symbols
triax.points

Triangle plot points
psegments3d

Draw segments on a 3D plot
ptext3d

Display text on a 3D plot
smoothColors

Build a vector of color values
soil.texture

Soil texture triangle plot
soil.texture.uk

Soil texture triangle plot using UK conventions
soils

Soil texture data from 125 soils
triax.abline

Lines for triangle plot
triax.fill

Triangle plot fill
gradient.rect

Display a rectangle filled with an arbitrary color gradient
maxEmptyRect

Find an empty space on a plot
mtext3d

Display text in the margins of a 3D plot
pie3D

Display a 3D pie chart
tsxpos

Calculate equispaced x positions.
pie3D.labels

Display labels on a 3D pie chart
plotCI

Plot confidence intervals/error bars
plotH

Scatterplot with histogram-like bars.
radial.pie

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

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

Display a hierarchical breakdown of disjunct categories
sliceArray

Slice an array
spread.labels

Spread labels for irregularly spaced values
triax.frame

Triangle plot frame
triax.plot

Triangle plot
radial.plot.labels

Display labels on a circular grid
radialtext

Display text in a radial line
rescale

Scale numbers into a new range
spreadout

Spread out a vector of numbers to a minimum interval
symbolbox

Draw a box filled with symbols
tab.title

Display the title of a plot as a colored tab
violin_plot

Display a "violin" plot
weighted.hist

Display a weighted histogram
revaxis

Plot with axis direction(s) reversed
starPie

A pie-like graphic object
staxlab

Place staggered or angled labels on an axis
thigmophobe

Find the direction away from the closest point
thigmophobe.labels

Place labels away from the nearest point
valid.n

Find the number of valid (not NA) values
vectorField

Display magnitude/direction vectors
zoomInPlot

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