Learn R Programming

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

plotrix (version 2.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

84,962

Version

2.7-2

License

GPL (>= 2)

Maintainer

Jim Lemon

Last Published

October 26th, 2009

Functions in plotrix (2.7-2)

get.breaks

Get the breakpoints for a weighted histogram
barp

A bar plotting routine
getFigCtr

Find the center of the figure region.
centipede.plot

Display a centipede plot
soil.texture.uk

Soil texture triangle plot using UK conventions
color2D.matplot

Display a numeric matrix as color matrix
symbolbarplot

barplot filled with symbols
pasteCols

Paste the columns of a matrix together.
axis.break

Place a "break" mark on an axis
piper.set

Calculate ion offsets.
p.ions

Calculate ion/total(ion) ratios.
draw.tilted.sector

Display a 3D pie sector
gap.plot

Display a plot with one or two gaps (missing ranges) on one axis
convert.meq

Convert milligrams/liter to milliequivalents/liter.
arctext

Display text on a circular arc.
zoomInPlot

Display a plot with a rectangular section expanded in an adjacent plot.
axis.mult

Display an axis with values having a multiplier
hierobrk

Perform a nested breakdown of numeric values.
std.error

Calculate standard error of the mean
triax.points

Triangle plot points
dotplot.mtb

Minitab style dotplots.
gantt.chart

Display a Gantt chart
color.scale

Turn values into colors.
intersectDiagram

Display set intersections
boxed.labels

Place labels in boxes
emptyspace

Find an empty space on a plot.
bin.wind.records

Classify wind direction and speed records.
diamondplot

Plot multiple variables as polygons on a radial grid.
gap.boxplot

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

A point/line plotting routine
multhist

Plot a multiple histogram, as a barplot
feather.plot

Display vectors along a horizontal reference line.
piper.coords

Calculate point coordinates for a Piper diagram.
hierobarp

Display a nested breakdown of numeric values.
bumpchart

Display a "bumps" chart.
plotCI

Plot confidence intervals/error bars
revaxis

Plot with axis direction(s) reversed.
pie3D

Display a 3D pie chart
get.segs

Calculate the midpoints and limits for a centipede plot
color.id

Identify closest match to a color
color.gradient

Calculate an arbitrary sequence of colors.
triax.abline

Lines for triangle plot
draw.circle

Draw a circle.
smoothColors

Build a vector of color values.
makeIntersectList

Count set intersections
clean.args

Remove inappropriate arguments from an argument list
get.soil.texture

Enter soil texture data.
pie.labels

Place labels on a pie chart
staxlab

Place staggered labels on an axis
tab.title

Display the title of a plot as a colored tab.
floating.pie

Display a floating pie chart
pie3D.labels

Display labels on a 3D pie chart
oz.windrose.legend

Display an Australian wind rose legend.
hierobarp.svyprop

Display a nested breakdown of numeric proportions.
thigmophobe.labels

Place labels away from the nearest point
twoord.plot

Plot with two ordinates
cylindrect

Display an apparent cylinder
fan.plot

Display a fan plot.
qt.plot

Quantity by interval plot
spreadout

Spread out a vector of numbers to a minimum interval.
symbolbox

Draw a box filled with symbols
weighted.hist

Display a weighted histogram
count.overplot

Show overlying points as counts
listDepth

Find the maximum depth of a list.
sizetree

Display a hierarchical breakdown of disjunct categories
getIntersectList

Enter the information for a set intersection display
hexagon

Draw a hexagon
color.scale.lines

Line segments with scaled colors.
polar.plot

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

Pyramid plot
stackpoly

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

Triangle plot frame
get.triprop

Enter three proportion data - usually soil textures.
polygon.shadow

Display a shadow effect for an arbitrary polygon
piper.text

Display a string on a Piper diagram.
oz.windrose

Display an Australian wind rose.
piper.points

Display the points on a Piper diagram.
sizeplot

Plot with repeated symbols by size
radial.plot

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

Display a measure of dispersion
plot.dendrite

Plot a dendrogram of a dendrite object.
triax.plot

Triangle plot
soil.texture

Soil texture triangle plot
addtable2plot

Add a table of values to a plot
corner.label

Find corner locations and optionally display a label
soils

Soil texture data from 125 soils
furc

Plot a dendrite.
fullaxis

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

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

Gather the information to create a Gantt chart
ablineclip

Add a straight line to a plot
staircase.plot

Display a staircase plot.
textbox

Add text box
vectorField

Display magnitude/direction vectors
draw.arc

Draw arc
spread.labels

Spread labels for irregularly spaced values
gradient.rect

Display a rectangle filled with an arbitrary color gradient.
piper.diagram

Display a Piper diagram.
getMarginWidth

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

Sum the counts in the top level of a dendrite object.
rescale

Scale numbers into a new range.
taylor.diagram

Taylor diagram
cluster.overplot

Shift overlying points into clusters.
clplot

Plot lines with colors determined by values.
lengthKey

Key for interpreting lengths in a plot
makeDendrite

Build a list of the mutually exclusive attributes of objects.
color.legend

Legend matching categories or values to colors
clock24.plot

Plot values on a 24 hour "clockface".
hierobarp.svymean

Display a nested breakdown of means.
multsymbolbox

Draw boxes filled with symbols
thigmophobe

Find the direction away from the closest point