In Drawing the Celestial Sphere with Tikz Package, they use pspicture
. Is there a way to use pspicture
inside of tikz
? I want to have a hyberbola pass by the Earth with a periapsis of 500km (scaled to the paper of course).
\documentclass{article}
\usepackage{pst-map3d, tikz, pgf}
\begin{document}
\begin{center}
\begin{tikzpicture}
\pgfmathsetmacro{\e}{1.44022}
\pgfmathsetmacro{\a}{1}
\pgfmathsetmacro{\b}{\a*sqrt((\e)^2 - 1)}
\draw plot[domain = -2:2] ({\a*cosh(\x)}, {\b*sinh(\x)});
\begin{pspicture}(-4,-4)(4,4)
\psset{RotX = -23, RotZ = 30, PHI = 46.5833, THETA = 0.3333,
visibility = false, Decran = 15,
path
= /usr/local/texlive/2012/texmf-dist/tex/generic/pst-geo/data}
\WorldMapThreeD[circles = false, blueEarth = false]
\WorldMapThreeD[circles = false, visibility = true, opacity = 0.7]
\psmeridien[visibility = true]{13.33}
\psparallel[visibility = true]{52.51}
\mapputIIID(13.33,52.51){Berlin}
\psparallel[visibility = true]{0}
\end{pspicture}
\end{tikzpicture}
\end{center}
\end{document}
Best Answer
Here is a solution, without fancy drawing for the Earth, but which shows the varying solar radiation as the Earth travels along the hyperbolic orbit.
Note: an elliptical version is available here.
EDIT: with a nice .png of the Earth at the focus instead.
The picture I used is adapted from the one posted there.