Description Usage Arguments Examples
Split data to create red-blue anaglyph
1 2 3 4 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
geom |
The geometric object to use display the data |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
zoffset, zscale |
how to offset the |
zinvert |
Does z get bigger as a point moves further away. default: TRUE |
red, blue |
colours to use for the anaglyph |
switch |
switch sides for red/blue? default: FALSE |
... |
Other arguments passed on to |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
1 2 3 4 5 6 | ## Not run:
ggplot(mtcars) +
geom_point(aes(wt, mpg, z = disp), stat = 'anaglyph') +
theme_bw()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.