ReducePointAndLabelOverlap: Find better cootrdinates for text labels 'GetYlim' Identifies...

Description Usage Arguments Value

Description

Find better cootrdinates for text labels GetYlim Identifies a better set of coordinates to place labels in a labeled ggplot scatterplot.

Usage

1
2
ReducePointAndLabelOverlap(p, cex = 1, fixed.aspect = FALSE, tstep = 0.1,
  rstep = 0.1)

Arguments

p

A ggplot plot.

cex

Relative font, line and glyph size.

fixed.aspect

If true, forces the x and y dimensions to be on the same scale.

tstep

The angle (theta) step size as the algorithm spirals out.

rstep

The radius step size (in standard deviations) as the algorithm spirals out.

Value

label.coords Recommended label coordinates.

dimensions Width and height of the text to be plotted in terms of the scale of x and y.


NumbersInternational/qrserver documentation built on May 7, 2019, 7:19 p.m.