Learn R Programming

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

plotrix (version 3.8-1)

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.8-1

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

January 21st, 2021

Functions in plotrix (3.8-1)

ablineclip

Add a straight line to a plot
binciWu

Upper binomial confidence limit
binciWl

Lower binomial confidence limit
barNest

Display a nested breakdown of numeric values
add.ps

add p-values from t-tests
arctext

Display text on a circular arc
addtable2plot

Add a table of values to a plot
brkdnNest

Perform a nested breakdown of numeric values
centipede.plot

Display a centipede plot
clustered.dotplots

Display the frequencies of two categories
brkdn.plot

A point/line plotting routine
cluster.overplot

Shift overlying points into clusters
axis.break

Place a "break" mark on an axis
barp

A bar plotting routine
densityGrid

Display a matrix of cell values as symbols.
clean.args

Remove inappropriate arguments from an argument list
color.scale

Turn values into colors.
box.heresy

Display a sort of box plot
boxed.labels

Place labels in boxes
axis.mult

Display an axis with values having a multiplier
clock24.plot

Plot values on a 24 hour "clockface"
battleship.plot

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

Display an apparent cylinder
barlabels

Label the bars on a barplot
count.overplot

Show overlying points as counts
dotplot.mtb

Minitab style dotplots.
dispersion

Display a measure of dispersion.
clplot

Plot lines with colors determined by values.
color.scale.lines

Line segments with scaled colors
draw.arc

Draw arc
gantt.chart

Display a Gantt chart
get.segs

Calculate the midpoints and limits for a centipede plot
fullaxis

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

Display vectors along a horizontal reference line
do.first

Execute a graphic function on a plot
get.soil.texture

Enter soil texture data
getFigCtr

Get coordinates in the figure region in user units.
draw.radial.line

Draw a radial line
diamondplot

Plot multiple variables as polygons on a radial grid
fill.corner

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

Get the breakpoints for a weighted histogram
draw.tilted.sector

Display a 3D pie sector
bumpchart

Display a "bumps" (sequential ranking) chart
getIntersectList

Enter a set intersection list
jiggle

Calculate equally spaced values within a range.
intersectDiagram

Display set intersections
ehplot

Engelmann-Hecker-Plot - EH-Plot
binciW

Binomial confidence limits
ladderplot

Ladder Plot
get.gantt.info

Gather the information to create a Gantt chart
bin.wind.records

Classify wind direction and speed records
color.id

Identify closest match to a color
election

Assign party members to seats
categoryReshape

Convert object label/attribute label coding.
drawNestedBars

Display nested bars
legendg

Legend with grouped bars, lines or symbols
gap.plot

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

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

Draw a hexagon
histStack

Histogram "stacked" by categories
color.legend

Legend matching categories or values to colors
oz.windrose

Display an Australian wind rose
makeDensityMatrix

Compute a matrix of counts from a list of x,y positions
drawSectorAnnulus

Display a radial pie sector
lengthKey

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

Display an Australian wind rose legend
propbrk

Calculate the proportion of specified values in a vector
corner.label

Find corner locations and optionally display a label
color2D.matplot

Display a numeric matrix as color matrix
find_max_cell

Maximum (or minimum) value cell in a matrix.
plotCI

Plot confidence intervals/error bars
placeLabels

Place labels in boxes
draw.circle

Draw a circle
death_reg

Death registrations from 1996 to 2010
color.gradient

Calculate an arbitrary sequence of colors
color.axis

Display an axis in a specified color
get_axispos3d

Get axis positions on a 3D plot
dendroPlot

Display distributions as dendrites
pasteCols

Paste the columns of a matrix together
draw.ellipse

Draw ellipse
psegments3d

Draw segments on a 3D plot
emptyspace

Find an empty space on a plot
gradient.rect

Display a rectangle filled with an arbitrary color gradient
floating.pie

Display a floating pie chart
radial.pie

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

Display text in a radial line
maxEmptyRect

Find an empty space on a plot
makeIntersectList

Count set intersections
radial.grid

Display a radial grid
raw.means.plot

raw.means.plot: Raw-Means Plots for Experimental Designs
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
fan.plot

Display a fan plot
sizetree

Display a hierarchical breakdown of disjunct categories
staircase.plot

Display a staircase plot
starPie

A pie-like graphic object
staircasePlot

Display a staircase plot
sizeplot

Plot with repeated symbols by size
gap.barplot

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

Display a boxplot with a gap (missing range)
mtext3d

Display text in the margins of a 3D plot
joyPlot

Display a series of density curves.
textbox

Add text box
thigmophobe

Find the direction away from the closest point
ptext3d

Display text on a 3D plot
smoothColors

Build a vector of color values
seats

Arrange N seats in M semicircular rows
size_n_color

Display circles with specified size and color
pyramid.plot

Pyramid plot
symbolbarplot

barplot filled with symbols
sliceArray

Slice an array
staxlab

Place staggered or angled labels on an axis
multhist

Plot a multiple histogram, as a barplot
symbolbox

Draw a box filled with symbols
triax.fill

Triangle plot fill
pie3D

Display a 3D pie chart
p2p_arrows

Draw arrows between points
panes

Prepare a "panel" type layout
kiteChart

Magnitude by position chart.
perspx

Display perspective plot
pie.labels

Place labels on a pie chart
get.tablepos

Get the position for a legend or table
triax.plot

Triangle plot
triax.points

Triangle plot points
get.triprop

Enter three proportion data - usually soil textures
triax.frame

Triangle plot frame
weighted.hist

Display a weighted histogram
zoomInPlot

Display a plot with a rectangular section expanded in an adjacent plot
pie3D.labels

Display labels on a 3D pie chart
polygon.shadow

Display a shadow effect for an arbitrary polygon
print.brklist

Display the output of brkdnNest
revaxis

Plot with axis direction(s) reversed
ruginv

Add an Inverse Rug to a Plot
getMarginWidth

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

Scale numbers into a new range
rectFill

Draw a rectangle filled with symbols
spreadout

Spread out a vector of numbers to a minimum interval
stackpoly

Display the columns of a matrix or data frame as stacked polygons
std.error

Calculate standard error of the mean
soils

Soil texture data from 125 soils
getYmult

Correct for aspect and coordinate ratio
labbePlot

Display a L'Abbe plot
l2010

World lightning strike data from 2010
multivari

Function to draw a multivari chart
spread.labels

Spread labels for irregularly spaced values
taylor.diagram

Taylor diagram
twoord.stackplot

Multiple (stack) plot with two ordinates
valid.n

Find the number of valid (not NA) values
tab.title

Display the title of a plot as a colored tab
sumbrk

Count specified values in a vector
thigmophobe.labels

Place labels away from the nearest point
triax.abline

Lines for triangle plot
multsymbolbox

Draw boxes filled with symbols
plotH

Scatterplot with histogram-like bars.
plot_bg

Add a background color to a plot
radial.plot.labels

Display labels on a circular grid
twoord.plot

Plot with two ordinates
soil.texture.uk

Soil texture triangle plot using UK conventions
radial.plot

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

Calculate equispaced x positions.
soil.texture

Soil texture triangle plot
vectorField

Display magnitude/direction vectors
violin_plot

Display a "violin" plot