View source: R/ggtikzUninfinite.R
uninfinite_coord | R Documentation |
Infinite values are replaced with the minimum or maximum value of the padding in the x or y direction, respectively. Additionally, the adjusted coordinate is padded so that it lies just next to the panel borders and axis lines without overlap.
uninfinite_coord(coord, xrange, yrange)
uninfinite_tikz(tikz_code, xrange, yrange)
coord |
TikZ coordinate |
xrange |
Numeric vector of length 2, minimum and maximum values in the x direction |
yrange |
Numeric vector of length 2, minimum and maximum values in the y direction |
tikz_code |
The TikZ code to replace Infinite values in. |
The adjusted TikZ coordinate with padding, as a string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.