Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/matthias-wolff/tikz-3dplot-circleofsphere

Drawing circles of a sphere with tikz-3dplot
https://github.com/matthias-wolff/tikz-3dplot-circleofsphere

Last synced: 13 days ago
JSON representation

Drawing circles of a sphere with tikz-3dplot

Lists

README

        

### The tikz-3dplot-circleofsphere Package: Drawing Circles of a Sphere with tikz-3dplot

#### Abstract
A _circle of a sphere_ is a circle drawn on a spherical surface like, for instance, circles of latitude or longitude.
Circles in arbitrary 3D positions can be drawn with TikZ [2] very easily using a transformed coordinate system provided
by the `tikz-3dplot` package [1] (that is because TikZ can only draw circles on the _xy_-plane). However, automatically
distinguishing the parts of the circle lying on the front and back sides of the sphere, e.g. by drawing a solid arc on
the front side and a dashed one on the back side, is a somewhat tricky feat. The `tikz-3dplot-circleofsphere` package
will perform that feat for you.

__Examples__


Example 1
Example 2


Example 1: Latitude-longitude grid
Example 2: Bunch of great circles

#### Package Documentation
[Click here to read package documentation](tikz-3dplot-circleofsphere.pdf).

#### Installation
Download the [`tikz-3dplot-circleofsphere.sty`](https://rawgit.com/matthias-wolff/tikz-3dplot-circleofsphere/master/tikz-3dplot-circleofsphere.sty) file into your project folder and include the package with
`\usepackage{tikz-3dplot-circleofsphere}`.

#### References
1. Jeff Hein. The tikz-3dplot package. http://mirror.ctan.org/graphics/pgf/contrib/tikz-3dplot/tikz-3dplot_documentation.pdf, 2012 Retrieved July 27, 2018.
2. Till Tantau. Tikz & pgf - manual for version 3.0.1a. http://mirror.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf, 2015. Retrieved July 27, 2018.