Package: precisePlacement 0.2.0

precisePlacement: Suite of Functions to Help Get Plot Elements Exactly Where You Want Them

Provides a selection of tools that make it easier to place elements onto a (base R) plot exactly where you want them. It allows users to identify points and distances on a plot in terms of inches, pixels, margin lines, data units, and proportions of the plotting space, all in a manner more simple than manipulating par().

Authors:Jasper Watson [aut, cre]

precisePlacement_0.2.0.tar.gz
precisePlacement_0.2.0.zip(r-4.7)precisePlacement_0.2.0.zip(r-4.6)precisePlacement_0.2.0.zip(r-4.5)
precisePlacement_0.2.0.tgz(r-4.6-any)precisePlacement_0.2.0.tgz(r-4.5-any)
precisePlacement_0.2.0.tar.gz(r-4.7-any)precisePlacement_0.2.0.tar.gz(r-4.6-any)
precisePlacement_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
precisePlacement/json (API)
NEWS

# Install 'precisePlacement' in R:
install.packages('precisePlacement', repos = c('https://rntq472.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rntq472/preciseplacement/issues

On CRAN:

Conda:

4.30 score 2 stars 10 scripts 178 downloads 24 exports 0 dependencies

Last updated from:eb862f11bc. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK117
source / vignettesOK183
linux-release-x86_64OK110
macos-release-arm64OK77
macos-oldrel-arm64OK86
windows-develOK70
windows-releaseOK70
windows-oldrelOK72
wasm-releaseOK90

Exports:convertUnitsgetBoundariesgetDataPerInchgetDataPerLinegetDataPerPixelgetInchesPerDatumgetInchesPerLinegetInchesPerPixelgetLinesPerDatumgetLinesPerInchgetLinesPerPixelgetPixelsPerDatumgetPixelsPerInchgetPixelsPerLinegetRangehighlightDataRegionhighlightDeviceRegionhighlightFigureRegionhighlightPlotRegionlineLocationsomiForSubFigurerepelAxisLabelsshowMarginLinesshowOuterMarginLines

Dependencies:

Using the precisePlacement Package

Rendered fromOverview.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2025-10-29
Started: 2021-06-07

Readme and manuals

Help Manual

Help pageTopics
Convert Between Different Available Units That Measure Points on a PlotconvertUnits
Determine the Boundaries of a Plot in Terms of the Data UnitsgetBoundaries
Find the Number of Data Points Per Inch in a PlotgetDataPerInch
Find the Number of Data Points Per Margin Line in a PlotgetDataPerLine
Find the Number of Data Points Per Pixel in a PlotgetDataPerPixel
Find the Number of Inches Per Data Point in a PlotgetInchesPerDatum
Find the Number of Inches Per Margin Line in a PlotgetInchesPerLine
Find the Number of Inches Per Pixel in a PlotgetInchesPerPixel
Find the Number of Margin Lines Per Data Point in a PlotgetLinesPerDatum
Find the Number of Margin Lines Per Inch in a PlotgetLinesPerInch
Find the Number of Margin Lines Per Pixel in a PlotgetLinesPerPixel
Find the Number of Pixels Per Data Point in a PlotgetPixelsPerDatum
Find the Number of Pixels Per Inch in a PlotgetPixelsPerInch
Find the Number of Pixels Per Margin Line in a PlotgetPixelsPerLine
Determine the Width and Height of a PlotgetRange
Highlight the Data Region of a PlothighlightDataRegion
Highlight the Device Region of a PlothighlightDeviceRegion
Highlight the Figure Region of a PlothighlightFigureRegion
Highlight the Plotting Region of a PlothighlightPlotRegion
Wrapper Function for convertUnits Focused on Identifying the Locations of the Margin Lines of a PlotlineLocations
Generate Values for par("omi") That Will Place a New Plot in a Sub-Region of an Existing OneomiForSubFigure
Suite of Functions To Get Plot Elements Exactly Where You Want ThemprecisePlacement-package precisePlacement
Distribute Axis Label Locations to Avoid Overlap.repelAxisLabels
Add Lines to a Plot to Indicate Where the Margins AreshowMarginLines
Add Lines to a Plot to Indicate Where the Outer Margins AreshowOuterMarginLines