Learn R Programming

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

plotrix (version 3.7-8)

Various Plotting Functions

Description

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

Copy Link

Version

Install

install.packages('plotrix')

Monthly Downloads

90,000

Version

3.7-8

License

GPL (>= 2)

Maintainer

Last Published

April 16th, 2020

Functions in plotrix (3.7-8)

cluster.overplot

Shift overlying points into clusters
clplot

Plot lines with colors determined by values.
count.overplot

Show overlying points as counts
draw.arc

Draw arc
cylindrect

Display an apparent cylinder
emptyspace

Find an empty space on a plot
clock24.plot

Plot values on a 24 hour "clockface"
add.ps

add p-values from t-tests
dotplot.mtb

Minitab style dotplots.
binciW

Binomial confidence limits
fan.plot

Display a fan plot
clustered.dotplots

Display the frequencies of two categories
gap_barp

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

Death registrations from 1996 to 2010
getIntersectList

Enter a set intersection list
binciWl

Lower binomial confidence limit
dendroPlot

Display distributions as dendrites
drawNestedBars

Display nested bars
getFigCtr

Get coordinates in the figure region in user units.
binciWu

Upper binomial confidence limit
color.id

Identify closest match to a color
drawSectorAnnulus

Display a radial pie sector
gap.plot

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

Engelmann-Hecker-Plot - EH-Plot
election

Assign party members to seats
get.tablepos

Get the position for a legend or table
color.legend

Legend matching categories or values to colors
do.first

Execute a graphic function on a plot
get.triprop

Enter three proportion data - usually soil textures
corner.label

Find corner locations and optionally display a label
color2D.matplot

Display a numeric matrix as color matrix
furc

Plot a dendrite
gantt.chart

Display a Gantt chart
barlabels

Label the bars on a barplot
barNest

Display a nested breakdown of numeric values
get_axispos3d

Get axis positions on a 3D plot
histStack

Histogram "stacked" by categories
gap.boxplot

Display a boxplot with a gap (missing range)
hexagon

Draw a hexagon
l2010

World lightning strike data from 2010
gradient.rect

Display a rectangle filled with an arbitrary color gradient
brkdn.plot

A point/line plotting routine
dispersion

Display a measure of dispersion.
gap.barplot

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

Key for interpreting lengths in a plot
makeDendrite

Build a list of the mutually exclusive attributes of objects
makeDensityMatrix

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

Display text in the margins of a 3D plot
multhist

Plot a multiple histogram, as a barplot
panes

Prepare a "panel" type layout
color.gradient

Calculate an arbitrary sequence of colors
color.axis

Display an axis in a specified color
listDepth

Find the maximum depth of a list
brkdnNest

Perform a nested breakdown of numeric values
p2p_arrows

Draw arrows between points
draw.radial.line

Draw a radial line
color.scale.lines

Line segments with scaled colors
color.scale

Turn values into colors.
perspx

Display perspective plot
labbePlot

Display a L'Abbe plot
feather.plot

Display vectors along a horizontal reference line
polar.plot

Plot values on a circular grid of 0 to 360 degrees
makeIntersectList

Count set intersections
draw.tilted.sector

Display a 3D pie sector
arctext

Display text on a circular arc
addtable2plot

Add a table of values to a plot
fill.corner

Fill a "corner" of a matrix with values
pie3D.labels

Display labels on a 3D pie chart
box.heresy

Display a sort of box plot
polygon.shadow

Display a shadow effect for an arbitrary polygon
maxEmptyRect

Find an empty space on a plot
size_n_color

Display circles with specified size and color
revaxis

Plot with axis direction(s) reversed
pie3D

Display a 3D pie chart
pie.labels

Place labels on a pie chart
clean.args

Remove inappropriate arguments from an argument list
rescale

Scale numbers into a new range
boxed.labels

Place labels in boxes
densityGrid

Display a matrix of cell values as symbols.
centipede.plot

Display a centipede plot
sizeplot

Plot with repeated symbols by size
plotH

Scatterplot with histogram-like bars.
get.segs

Calculate the midpoints and limits for a centipede plot
plotCI

Plot confidence intervals/error bars
diamondplot

Plot multiple variables as polygons on a radial grid
getYmult

Correct for aspect and coordinate ratio
draw.circle

Draw a circle
symbolbox

Draw a box filled with symbols
get.soil.texture

Enter soil texture data
pyramid.plot

Pyramid plot
symbolbarplot

barplot filled with symbols
getMarginWidth

Find the margin width necessary to fit text or a legend next to a plot
draw.ellipse

Draw ellipse
triax.plot

Triangle plot
triax.points

Triangle plot points
ladderplot

Ladder Plot
get.breaks

Get the breakpoints for a weighted histogram
legendg

Legend with grouped bars, lines or symbols
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
radial.grid

Display a radial grid
plotrix-package

Specialized plots and plotting accessories
ruginv

Add an Inverse Rug to a Plot
plot_bg

Add a background color to a plot
fullaxis

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

Display a floating pie chart
smoothColors

Build a vector of color values
sumDendrite

Sum the counts in the top level of a dendrite object
oz.windrose

Display an Australian wind rose
seats

Arrange N seats in M semicircular rows
triax.fill

Triangle plot fill
sumbrk

Count specified values in a vector
soil.texture

Soil texture triangle plot
triax.frame

Triangle plot frame
sizetree

Display a hierarchical breakdown of disjunct categories
sliceArray

Slice an array
oz.windrose.legend

Display an Australian wind rose legend
twoord.stackplot

Multiple (stack) plot with two ordinates
jiggle

Calculate equally spaced values within a range.
get.gantt.info

Gather the information to create a Gantt chart
plot.dendrite

Plot a dendrogram of a dendrite object
propbrk

Calculate the proportion of specified values in a vector
placeLabels

Place labels in boxes
intersectDiagram

Display set intersections
valid.n

Find the number of valid (not NA) values
radial.plot.labels

Display labels on a circular grid
print.brklist

Display the output of brkdnNest
stackpoly

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

Display a staircase plot
joyPlot

Display a series of density curves.
multivari

Function to draw a multivari chart
thigmophobe

Find the direction away from the closest point
radialtext

Display text in a radial line
soils

Soil texture data from 125 soils
textbox

Add text box
staircasePlot

Display a staircase plot
soil.texture.uk

Soil texture triangle plot using UK conventions
multsymbolbox

Draw boxes filled with symbols
kiteChart

Magnitude by position chart.
starPie

A pie-like graphic object
pasteCols

Paste the columns of a matrix together
violin_plot

Display a "violin" plot
thigmophobe.labels

Place labels away from the nearest point
vectorField

Display magnitude/direction vectors
ptext3d

Display text on a 3D plot
triax.abline

Lines for triangle plot
raw.means.plot

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

Display a weighted histogram
psegments3d

Draw segments on a 3D plot
spread.labels

Spread labels for irregularly spaced values
zoomInPlot

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

Draw a rectangle filled with symbols
paxis3d

Display text in the margins of a 3D plot
staxlab

Place staggered or angled labels on an axis
std.error

Calculate standard error of the mean
spreadout

Spread out a vector of numbers to a minimum interval
taylor.diagram

Taylor diagram
tab.title

Display the title of a plot as a colored tab
twoord.plot

Plot with two ordinates
tsxpos

Calculate equispaced x positions.
battleship.plot

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

Display a "bumps" (sequential ranking) chart
barp

A bar plotting routine
ablineclip

Add a straight line to a plot
categoryReshape

Convert object label/attribute label coding.
axis.mult

Display an axis with values having a multiplier
bin.wind.records

Classify wind direction and speed records
axis.break

Place a "break" mark on an axis