Learn R Programming

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

plotrix (version 3.7-4)

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-4

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

October 3rd, 2018

Functions in plotrix (3.7-4)

bin.wind.records

Classify wind direction and speed records
binciWl

Lower binomial confidence limit
binciWu

Upper binomial confidence limit
clean.args

Remove inappropriate arguments from an argument list
centipede.plot

Display a centipede plot
dispersion

Display a measure of dispersion.
diamondplot

Plot multiple variables as polygons on a radial grid
drawSectorAnnulus

Display a radial pie sector
ehplot

Engelmann-Hecker-Plot - EH-Plot
get.breaks

Get the breakpoints for a weighted histogram
box.heresy

Display a sort of box plot
get.gantt.info

Gather the information to create a Gantt chart
bumpchart

Display a "bumps" chart
histStack

Histogram "stacked" by categories
hexagon

Draw a hexagon
legendg

Legend with grouped bars, lines or symbols
brkdn.plot

A point/line plotting routine
barlabels

Label the bars on a barplot
boxed.labels

Place labels in boxes
lengthKey

Key for interpreting lengths in a plot
binciW

Binomial confidence limits
categoryReshape

Convert object label/attribute label coding.
brkdnNest

Perform a nested breakdown of numeric values
death_reg

Death registrations from 1996 to 2010
do.first

Execute a graphic function on a plot
color.axis

Display an axis in a specified color
color.gradient

Calculate an arbitrary sequence of colors
dendroPlot

Display distributions as dendrites
count.overplot

Show overlying points as counts
dotplot.mtb

Minitab style dotplots.
oz.windrose

Display an Australian wind rose
fan.plot

Display a fan plot
gantt.chart

Display a Gantt chart
cluster.overplot

Shift overlying points into clusters
clustered.dotplots

Display the frequencies of two categories
clplot

Plot lines with colors determined by values.
color2D.matplot

Display a numeric matrix as color matrix
clock24.plot

Plot values on a 24 hour "clockface"
cylindrect

Display an apparent cylinder
color.id

Identify closest match to a color
gap.barplot

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

Turn values into colors.
color.scale.lines

Line segments with scaled colors
color.legend

Legend matching categories or values to colors
corner.label

Find corner locations and optionally display a label
draw.arc

Draw arc
feather.plot

Display vectors along a horizontal reference line
draw.tilted.sector

Display a 3D pie sector
draw.ellipse

Draw ellipse
oz.windrose.legend

Display an Australian wind rose legend
print.brklist

Display the output of brkdnNest
draw.circle

Draw a circle
furc

Plot a dendrite
fullaxis

Add an axis with a line to the edge of the plot
get.segs

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

Enter soil texture data
get.tablepos

Get the position for a legend or table
propbrk

Calculate the proportion of specified values in a vector
size_n_color

Display circles with specified size and color
sizeplot

Plot with repeated symbols by size
getFigCtr

Get coordinates in the figure region in user units.
drawNestedBars

Display nested bars
election

Assign party members to seats
get_axispos3d

Get axis positions on a 3D plot
gradient.rect

Display a rectangle filled with an arbitrary color gradient
getIntersectList

Enter a set intersection list
get.triprop

Enter three proportion data - usually soil textures
joyPlot

Display a series of density curves.
staircasePlot

Display a staircase plot
starPie

A pie-like graphic object
emptyspace

Find an empty space on a plot
makeIntersectList

Count set intersections
draw.radial.line

Draw a radial line
fill.corner

Fill a "corner" of a matrix with values
sumDendrite

Sum the counts in the top level of a dendrite object
floating.pie

Display a floating pie chart
maxEmptyRect

Find an empty space on a plot
intersectDiagram

Display set intersections
thigmophobe.labels

Place labels away from the nearest point
triax.abline

Lines for triangle plot
multivari

Function to draw a multivari chart
gap.boxplot

Display a boxplot with a gap (missing range)
sumbrk

Count specified values in a vector
gap.plot

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

Display a L'Abbe plot
multsymbolbox

Draw boxes filled with symbols
getMarginWidth

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

Ladder Plot
polar.plot

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

Display a shadow effect for an arbitrary polygon
kiteChart

Magnitude by position chart.
getYmult

Correct for aspect and coordinate ratio
mtext3d

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

Pyramid plot
radial.grid

Display a radial grid
perspx

Display perspective plot
p2p_arrows

Draw arrows between points
multhist

Plot a multiple histogram, as a barplot
raw.means.plot

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

Paste the columns of a matrix together
plotCI

Plot confidence intervals/error bars
jiggle

Calculate equally spaced values within a range.
panes

Prepare a "panel" type layout
pie.labels

Place labels on a pie chart
paxis3d

Display text in the margins of a 3D plot
placeLabels

Place labels in boxes
listDepth

Find the maximum depth of a list
plotH

Scatterplot with histogram-like bars.
plot_bg

Add a background color to a plot
plotrix-package

Specialized plots and plotting accessories
psegments3d

Draw segments on a 3D plot
makeDendrite

Build a list of the mutually exclusive attributes of objects
smoothColors

Build a vector of color values
radial.plot.labels

Display labels on a circular grid
plot.dendrite

Plot a dendrogram of a dendrite object
ptext3d

Display text on a 3D plot
radial.plot

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

Display a hierarchical breakdown of disjunct categories
radial.pie

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

Draw a rectangle filled with symbols
radialtext

Display text in a radial line
soil.texture

Soil texture triangle plot
sliceArray

Slice an array
tab.title

Display the title of a plot as a colored tab
rescale

Scale numbers into a new range
pie3D.labels

Display labels on a 3D pie chart
pie3D

Display a 3D pie chart
ruginv

Add an Inverse Rug to a Plot
taylor.diagram

Taylor diagram
revaxis

Plot with axis direction(s) reversed
textbox

Add text box
spread.labels

Spread labels for irregularly spaced values
spreadout

Spread out a vector of numbers to a minimum interval
seats

Arrange N seats in M semicircular rows
soil.texture.uk

Soil texture triangle plot using UK conventions
stackpoly

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

Soil texture data from 125 soils
symbolbarplot

barplot filled with symbols
staircase.plot

Display a staircase plot
symbolbox

Draw a box filled with symbols
twoord.stackplot

Multiple (stack) plot with two ordinates
valid.n

Find the number of valid (not NA) values
zoomInPlot

Display a plot with a rectangular section expanded in an adjacent plot
weighted.hist

Display a weighted histogram
thigmophobe

Find the direction away from the closest point
vectorField

Display magnitude/direction vectors
triax.plot

Triangle plot
violin_plot

Display a "violin" plot
triax.points

Triangle plot points
tsxpos

Calculate equispaced x positions.
staxlab

Place staggered or angled labels on an axis
std.error

Calculate standard error of the mean
triax.fill

Triangle plot fill
triax.frame

Triangle plot frame
twoord.plot

Plot with two ordinates
battleship.plot

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

Add a straight line to a plot
add.ps

add p-values from t-tests
addtable2plot

Add a table of values to a plot
barNest

Display a nested breakdown of numeric values
barp

A bar plotting routine
axis.break

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

Display an axis with values having a multiplier
arctext

Display text on a circular arc