Learn R Programming

⚠️There's a newer version (1.0.2) 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

1,859

Version

0.1.8

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Eliot J B

Last Published

August 19th, 2022

Functions in quickPlot (0.1.8)

thin

Thin a polygon using fastshp::thin
Plot

Plot: Fast, optimally arranged, multi-panel plotting
numLayers

Find the number of layers in a Spatial Object
.parseElems

Parsing of elements
.plotGrob

Plot spatial grobs (using grid package)
.arrangeViewports

Determine optimal plotting arrangement of plot objects
griddedClasses-class

The griddedClasses class
.arrangement-class

The .arrangement class
.makeViewports

Make viewports
equalExtent

Assess whether a list of extents are all equal
.existsQuickPlot

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

Convert grid.locator units
.identifyGrobToPlot

Identify where to get the grob from
.hasBbox

Test whether class has bbox method
.assignQuickPlot

Assign to the internal quickPlot environment.
clearPlot

Clear plotting device
fortify

Fortify
.getQuickPlot

Get objects from the internal quickPlot environment
isRstudioServer

Determine if current session is RStudio Server
.makeList

Convert plotArgs to list of lists
newPlot

Open a new plotting window
.makeLayout

Make an optimal layout of plots
makeLines

Make SpatialLines object from two SpatialPoints objects
.makeQuickPlot

Make a .quickPlot class object
quickPlotClasses

quickPlot classes
quickPlot-package

The quickPlot package
.prepareRaster

Prepare raster for plotting
.quickPlot-class

The .quickPlot class
gpar

Importing some grid functions
divergentColors

Divergent colour palette
getColors

Get and set colours for plotting Raster* objects
dev

Specify where to plot
spatialObjects-class

The spatialObjects class
clickValues

Mouse interactions with Plots
.quickPlotObjects-class

The .quickPlotObjects class
sample-maps

Dummy maps included with quickPlot
.quickPlottables-class

The .quickPlottables class
layerNames

Extract the layer names of Spatial Objects
.makeColorMatrix

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

Default plotting parameters
.parseArgs

Parse arguments and find environments
.quickPlotEnv

The quickPlot environment
.quickPlotGrob-class

The .quickPlotGrob class
whereInStack

Find the environment in the call stack that contains an object by name
.updateQuickPlot

Merge two quickPlot objects
sp2sl

Convert pairs of coordinates to SpatialLines
.preparePlotGrob

Internal functions used by Plot
.objectNames

Extracts the object names