Learn R Programming

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

quickPlot

Built on top of grid, this package aims at making a high-level plotting system that is optimized for speed and modularity. This has great utility for quick visualizations when testing code, with the key benefit that visualizations are updated independently of one another.

Installation

The suggested package fastshp can be installed with:

install.packages("fastshp", repos = "https://rforge.net", type = "source")

Building packages from source requires the appropriate development libraries for your operating system (e.g., Windows users should install Rtools).

Current stable release

Install from CRAN:

install.packages("quickPlot")

Install from GitHub:

#install.packages("devtools")
library("devtools")
install_github("PredictiveEcology/quickPlot", dependencies = TRUE) # stable

Development version (unstable)

Install from GitHub:

#install.packages("devtools")
library("devtools")
install_github("PredictiveEcology/quickPlot", ref = "development", dependencies = TRUE) # unstable

Copy Link

Version

Install

install.packages('quickPlot')

Monthly Downloads

543

Version

0.1.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Eliot J B

Last Published

October 5th, 2017

Functions in quickPlot (0.1.2)

.arrangeViewports

Determine optimal plotting arrangement of plot objects
.arrangement-class

The .arrangement class
.assignQuickPlot

Assign to the internal quickPlot environment.
clearPlot

Clear plotting device
.preparePlotGrob

Internal functions used by Plot
Plot

Plot: Fast, optimally arranged, multipanel plotting
dev

Specify where to plot
divergentColors

Divergent colour palette
equalExtent

Assess whether a list of extents are all equal
.existsQuickPlot

Is an object defined in the .quickPlotEnv environment?
.getQuickPlot

Get objects from the internal quickPlot environment
getColors

Get and set colours for plotting Raster* objects
.makeList

Convert plotArgs to list of lists
.makeQuickPlot

Make a .quickPlot class object
.makeLayout

Make an optimal layout of plots
makeLines

Make SpatialLines object from two SpatialPoints objects
.makeViewports

Make viewports
.prepareRaster

Prepare raster for plotting
.quickPlot-class

The .quickPlot class
.unittrim

Convert grid.locator units
.updateQuickPlot

Merge two quickPlot objects
layerNames

Extract the layer names of Spatial Objects
.makeColorMatrix

Convert Raster to color matrix usable by raster function for plotting
.parOrig

Default plotting parameters
.hasBbox

Test whether class has bbox method
.identifyGrobToPlot

Identify where to get the grob from
numLayers

Find the number of layers in a Spatial Object
.objectNames

Extracts the object names
newPlot

Open a new plotting window
.quickPlottables-class

The .quickPlottables class
sample-maps

Dummy maps included with quickPlot
gpar

Importing some grid functions
griddedClasses-class

The griddedClasses class
.parseElems

Parsing of elements
.plotGrob

Plot spatial grobs (using grid package)
.parseArgs

Parse arguments and find environments
.quickPlotGrob-class

The .quickPlotGrob class
clickValues

Mouse interactions with Plots
.quickPlotObjects-class

The .quickPlotObjects class
quickPlotClasses

quickPlot classes
quickPlot-package

The quickPlot package
.quickPlotEnv

The quickPlot environment
sp2sl

Convert pairs of coordinates to SpatialLines
spatialObjects-class

The spatialObjects class