Learn R Programming

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

plotrix (version 3.7-2)

Various Plotting Functions

Description

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

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

82,106

Version

3.7-2

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

May 27th, 2018

Functions in plotrix (3.7-2)

axis.break

Place a "break" mark on an axis
categoryReshape

Convert object label/attribute label coding.
barNest

Display a nested breakdown of numeric values
brkdn.plot

A point/line plotting routine
boxed.labels

Place labels in boxes
centipede.plot

Display a centipede plot
brkdnNest

Perform a nested breakdown of numeric values
color.scale

Turn values into colors.
barlabels

Label the bars on a barplot
color.scale.lines

Line segments with scaled colors
clean.args

Remove inappropriate arguments from an argument list
color.id

Identify closest match to a color
clock24.plot

Plot values on a 24 hour "clockface"
cylindrect

Display an apparent cylinder
count.overplot

Show overlying points as counts
death_reg

Death registrations from 1996 to 2010
clplot

Plot lines with colors determined by values.
dendroPlot

Display distributions as dendrites
color.legend

Legend matching categories or values to colors
draw.arc

Draw arc
draw.circle

Draw a circle
draw.tilted.sector

Display a 3D pie sector
gantt.chart

Display a Gantt chart
gap.barplot

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

Fill a "corner" of a matrix with values
color2D.matplot

Display a numeric matrix as color matrix
drawNestedBars

Display nested bars
draw.ellipse

Draw ellipse
get_axispos3d

Get axis positions on a 3D plot
corner.label

Find corner locations and optionally display a label
draw.radial.line

Draw a radial line
get.segs

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

Enter soil texture data
jiggle

Calculate equally spaced values within a range.
floating.pie

Display a floating pie chart
intersectDiagram

Display set intersections
dotplot.mtb

Minitab style dotplots.
do.first

Execute a graphic function on a plot
mtext3d

Display text in the margins of a 3D plot
gradient.rect

Display a rectangle filled with an arbitrary color gradient
multhist

Plot a multiple histogram, as a barplot
gap.boxplot

Display a boxplot with a gap (missing range)
p2p_arrows

Draw arrows between points
polar.plot

Plot values on a circular grid of 0 to 360 degrees
gap.plot

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

Draw a hexagon
panes

Prepare a "panel" type layout
listDepth

Find the maximum depth of a list
polygon.shadow

Display a shadow effect for an arbitrary polygon
histStack

Histogram "stacked" by categories
radial.pie

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

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

Plot a dendrite
get.breaks

Get the breakpoints for a weighted histogram
plot.dendrite

Plot a dendrogram of a dendrite object
placeLabels

Place labels in boxes
makeDendrite

Build a list of the mutually exclusive attributes of objects
multivari

Function to draw a multivari chart
get.gantt.info

Gather the information to create a Gantt chart
raw.means.plot

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

Display labels on a circular grid
radialtext

Display text in a radial line
multsymbolbox

Draw boxes filled with symbols
rectFill

Draw a rectangle filled with symbols
staxlab

Place staggered or angled labels on an axis
std.error

Calculate standard error of the mean
triax.plot

Triangle plot
ablineclip

Add a straight line to a plot
radial.plot

Plot values on a circular grid of 0 to 2*pi radians
add.ps

add p-values from t-tests
labbePlot

Display a L'Abbe plot
plot_bg

Add a background color to a plot
sizetree

Display a hierarchical breakdown of disjunct categories
triax.points

Triangle plot points
sliceArray

Slice an array
ladderplot

Ladder Plot
barp

A bar plotting routine
stackpoly

Display the columns of a matrix or data frame as stacked polygons
oz.windrose

Display an Australian wind rose
bin.wind.records

Classify wind direction and speed records
staircase.plot

Display a staircase plot
binciW

Binomial confidence limits
ruginv

Add an Inverse Rug to a Plot
plotrix-package

Specialized plots and plotting accessories
textbox

Add text box
propbrk

Calculate the proportion of specified values in a vector
soil.texture.uk

Soil texture triangle plot using UK conventions
tsxpos

Calculate equispaced x positions.
soils

Soil texture data from 125 soils
print.brklist

Display the output of brkdnNest
twoord.plot

Plot with two ordinates
seats

Arrange N seats in M semicircular rows
color.axis

Display an axis in a specified color
sumDendrite

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

Find the direction away from the closest point
oz.windrose.legend

Display an Australian wind rose legend
battleship.plot

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

Draw segments on a 3D plot
ptext3d

Display text on a 3D plot
binciWl

Lower binomial confidence limit
binciWu

Upper binomial confidence limit
sumbrk

Count specified values in a vector
vectorField

Display magnitude/direction vectors
clustered.dotplots

Display the frequencies of two categories
cluster.overplot

Shift overlying points into clusters
violin_plot

Display a "violin" plot
color.gradient

Calculate an arbitrary sequence of colors
drawSectorAnnulus

Display a radial pie sector
staircasePlot

Display a staircase plot
starPie

A pie-like graphic object
diamondplot

Plot multiple variables as polygons on a radial grid
tab.title

Display the title of a plot as a colored tab
ehplot

Engelmann-Hecker-Plot - EH-Plot
dispersion

Display a measure of dispersion.
fan.plot

Display a fan plot
election

Assign party members to seats
taylor.diagram

Taylor diagram
thigmophobe.labels

Place labels away from the nearest point
feather.plot

Display vectors along a horizontal reference line
emptyspace

Find an empty space on a plot
get.tablepos

Get the position for a legend or table
getFigCtr

Get coordinates in the figure region in user units.
get.triprop

Enter three proportion data - usually soil textures
joyPlot

Display a series of density curves.
triax.abline

Lines for triangle plot
getIntersectList

Enter a set intersection list
weighted.hist

Display a weighted histogram
kiteChart

Magnitude by position chart.
getMarginWidth

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

Correct for aspect and coordinate ratio
legendg

Legend with grouped bars, lines or symbols
lengthKey

Key for interpreting lengths in a plot
zoomInPlot

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

Count set intersections
perspx

Display perspective plot
maxEmptyRect

Find an empty space on a plot
pasteCols

Paste the columns of a matrix together
pie.labels

Place labels on a pie chart
pie3D

Display a 3D pie chart
paxis3d

Display text in the margins of a 3D plot
pie3D.labels

Display labels on a 3D pie chart
plotCI

Plot confidence intervals/error bars
plotH

Scatterplot with histogram-like bars.
rescale

Scale numbers into a new range
pyramid.plot

Pyramid plot
revaxis

Plot with axis direction(s) reversed
smoothColors

Build a vector of color values
radial.grid

Display a radial grid
size_n_color

Display circles with specified size and color
sizeplot

Plot with repeated symbols by size
spreadout

Spread out a vector of numbers to a minimum interval
spread.labels

Spread labels for irregularly spaced values
symbolbarplot

barplot filled with symbols
triax.fill

Triangle plot fill
soil.texture

Soil texture triangle plot
triax.frame

Triangle plot frame
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
axis.mult

Display an axis with values having a multiplier
box.heresy

Display a sort of box plot
bumpchart

Display a "bumps" chart
addtable2plot

Add a table of values to a plot
arctext

Display text on a circular arc