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 |

`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. |

`col.background` |
a background colour. Default is |

`precision` |
a scalar specifying the precision (in degrees) at which the backgound polygon boundary is broken into straight line segments. Used only if |

`device` |
a character specifying which graphics device to use. Default is |

`do.init` |
a logical value indicating whether or not an initial call of |

`do.init.device` |
a logical value indicating whether or not initialise a device as specified by |

`file.name` |
a character specifying the output file. Only used if |

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 ...
``` |

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.