Description Usage Arguments Details Value Examples
Computes r0 and r1 given track definition
1 | autotrack(current.track, total.tracks, margin=0.05, r0=0, r1=1)
|
current.track |
(numeric) The track or tracks the current plot will occupy, starting from 1. If more than one value is provided, the plot will expand from min(current.track) to max(current.track). |
total.tracks |
(numeric) The total number of tracks |
margin |
(numeric) The margin is specified as the part of a track, by default 0.05, 5 percent of the track height. |
r0 |
(numeric) the original r0 |
r1 |
(numeric) the original r1 |
Small utility function to help compute r0 and r1 given the total number of tracks and the track(s) the current plot will occupy. It also takes into account a margin between tracks and original r0 and r1, so we can say something like, "Out of 5 tracks between 0 and 0.5, this plot will be at track 2", and it will return r0=0.1 and r1=0.2
A list of two numerics: r0 and r1
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.