plothelper0.1.9 package

New Plots Based on 'ggplot2' and Functions to Create Regular Shapes

ABCxy

Symmetrical Transformation

add_slash_n

Adding Slash_n inside Strings

annotation_shading_polygon

Layer for Drawing a Single Irregular Polygon with Shading Colors

annotation_transparent_text

Layer for Transparent Text

ANYxy

Generating Groups of Coordinates for Any Polygon

count_each_column

Counting Each Column and Summarizing in a Matrix

ellipsexy

Generating Coordinates of Multiple Ellipses or Circles

enlarge_raster

Enlarge a Color Matrix

geom_circle_cm

Geom Layer for Circle with Absolute Size

geom_ellipse_cm

Geom Layer for Ellipse with Absolute Size

geom_multi_raster

Geom Layer for Drawing Multiple Rasters

geom_rect_cm

Geom Layer for Rectangle with Absolute Size

geom_shading_bar

Geom Layer for Drawing Shading Barplot

get_click_color

Obtaining the Colors of Positions Clicked

get_gg_label

Checking Min, Max, Labels and Label Positions

gg_shading_bar

Drawing Barplot with Shading Colors

image_col_numeric

Colorize an Image according to Gray Scale

image_crop_click

Cut out a Subregion of an Image by Mouse Click

image_keep_color

Keep Some Colors Unchanged and Make Others into Grayscale

image_locator

Get the Width and Height of the Mouse Clicked Points

image_modify_hsv

Modify the H, S, V Values of a Color Vector or an Image

image_modify_local

Modify Only a Subregion of an Image

image_modify_local2

Modify both a Subregion and the Whole of an Image

image_modify_rgb

Modify R, G, B Values of an Image

image_modify_rgb_v

Modify R, G, B Values according to V values

image_transparent_inverse

Keep Certain Colors Unchanged and Make Others Transparent

raster_alpha

Combine a Matrix of Colors and a Matrix of Alpha Values

rectxy

Generating Coordinates of Multiple Rectangles

resize_to_standard

Resize an Image According to the Other Image or to Ratios

rotatexy

Rotation Transformation

round_text

Converting Numeric Values into Characters with the Same Digits

scale_free

Scale values into a Certain Location

shading_raster

Create a Shading Raster with a Palette

showcolor

Show a Color Palette

spathxy

Reordering Points to Form a "s" Shape

stretchxy

Stretching Transformation

sunshinexy

Generating Lines Which Link One Points to Many

textgif

Simple Text ".gif" File

An extension to 'ggplot2' and 'magick'. It contains three groups of functions: Functions in the first group draw 'ggplot2' - based plots: geom_shading_bar() draws barplot with shading colors in each bar. geom_rect_cm(), geom_circle_cm() and geom_ellipse_cm() draw rectangles, circles and ellipses with centimeter as their unit. Thus their sizes do not change when the coordinate system or the aspect ratio changes. annotation_transparent_text() draws labels with transparent texts. annotation_shading_polygon() draws irregular polygons with shading colors. Functions in the second group generate coordinates for regular shapes and make linear transformations. Functions in the third group are 'magick' - based functions facilitating image processing.