Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/sl.plot.3D.init.R

Initialise a spheRlab 3D polar plot. Two panels are drawn next to each other, rotated slightly such that a 3D effect occurs when the panels are overlaid, by aiming with the eyes at a point either before or behind the plane where the figure is displayed.

1 | ```
sl.plot.3D.init(file.name = "~/sl.plot.pdf", projection = "polar", width = 30, lonlatrot.left = c(10, 0, 0), lonlatrot.right = c(-10, 0, 0), gap.frac = 0.1)
``` |

`file.name` |
a character specifying the output file. |

`projection` |
a character specifying the plot projection to be used. At the moment only 'polar' is implemented (the default). |

`width` |
a scalar specifying the width of the resulting figure. |

`lonlatrot.left` |
a vector of length 3 specifying the longitude and latitude of the projection north pole and the amount of rotation in degrees for the left panel. |

`lonlatrot.right` |
a vector of length 3 specifying the longitude and latitude of the projection north pole and the amount of rotation in degrees for the right panel. |

`gap.frac` |
a scalar specifying the relative width of the gap between the two panels. |

The list returned from this function must be provided to any spheRlab plotting functions called afterwards to fill the plot with data. After all plotting is done, `sl.plot.end`

must be called, again with the list returned from this function provided.

A displacement of the two poles by about 20 degrees (as by default) may be appropriate.

A list that must be provided to any spheRlab plotting functions called afterwards. In fact, the returned list contains two standard spheRlab plot specifics lists as the first two (unnamed) elements for the two panels that will be generated for the 3D plot, plus a third list element `...$projection="3D"`

.

Helge Goessling

`sl.plot.end`

, `sl.plot.init`

, `sl.plot.platon.init`

1 | ```
## To be provided ...
``` |

helgegoessling/spheRlab documentation built on Sept. 10, 2018, 12:50 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.