Package: precisePlacement 0.1.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.1.0.tar.gz
precisePlacement_0.1.0.zip(r-4.5)precisePlacement_0.1.0.zip(r-4.4)precisePlacement_0.1.0.zip(r-4.3)
precisePlacement_0.1.0.tgz(r-4.4-any)precisePlacement_0.1.0.tgz(r-4.3-any)
precisePlacement_0.1.0.tar.gz(r-4.5-noble)precisePlacement_0.1.0.tar.gz(r-4.4-noble)
precisePlacement_0.1.0.tgz(r-4.4-emscripten)precisePlacement_0.1.0.tgz(r-4.3-emscripten)
precisePlacement.pdf |precisePlacement.html
precisePlacement/json (API)
NEWS

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

Peer review:

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

On CRAN:

4.00 score 2 stars 10 scripts 155 downloads 23 exports 0 dependencies

Last updated 3 years agofrom:499446503a. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winOKNov 21 2024
R-4.5-linuxOKNov 21 2024
R-4.4-winOKNov 21 2024
R-4.4-macOKNov 21 2024
R-4.3-winOKNov 21 2024
R-4.3-macOKNov 21 2024

Exports:convertUnitsgetBoundariesgetDataPerInchgetDataPerLinegetDataPerPixelgetInchesPerDatumgetInchesPerLinegetInchesPerPixelgetLinesPerDatumgetLinesPerInchgetLinesPerPixelgetPixelsPerDatumgetPixelsPerInchgetPixelsPerLinegetRangehighlightDataRegionhighlightDeviceRegionhighlightFigureRegionhighlightPlotRegionlineLocationsomiForSubFigureshowMarginLinesshowOuterMarginLines

Dependencies:

Using the precisePlacement Package

Rendered fromOverview.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2021-06-14
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
Add Lines to a Plot to Indicate Where the Margins AreshowMarginLines
Add Lines to a Plot to Indicate Where the Outer Margins AreshowOuterMarginLines