Creates a vector of numbers 1 to n, where the neighbors are as distant as possible. For the grey scale plot, that guarantees, that the shades of grey are easy to distinguish. For instance, 1, 4, 2, 5, 3; all numbers have a distance of at least 2 and where possible 3.
makeAltOrd(n = 3)
Length of vector.
Vector of length n.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.