percX | R Documentation |
Returns the values of either x-axis or y-axis for a given percentage.
percX(percentage = 90) percY(percentage = 90)
percentage |
The percentage of the axis for which the values is returned. |
This function intends to ease the positioning of additional marks on plot (such as annotation). Note that percentages refer to the entire plot window.
percX()
: Returns the values of x-axis for a given percentage.
percY()
: Returns the values of y-axis for a given percentage.
plot0() text(x = percX(90), y = percY(90), label = "cool")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.