Graphics, Figures & TablesRing around Sphere

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Sundial
Posts: 57
Joined: Thu Apr 19, 2012 7:28 pm

Ring around Sphere

Post by Sundial »

Hi,

as shown in attachment, the globe represents Earth scheme surrounded by the track of a satellite, whose two positions (marked with spots) are connected to Earth's center.

Consider this Asymptote code.

Code: Select all

size(100); 
import solids; 
currentprojection=orthographic(3,2,0.5);
revolution sphere=sphere(1); 
draw(surface(sphere),blue+opacity(0.2));
No troubles arise to plot the sphere, but to complete the figure I need that someone help me.

Thank you in advance
Attachments
orbitsat.png
orbitsat.png (35.42 KiB) Viewed 3929 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Sundial
Posts: 57
Joined: Thu Apr 19, 2012 7:28 pm

Ring around Sphere

Post by Sundial »

Please, Administrators, be noticed that the interesting feature "open in writelax" doesn't work with Asymptote. My previous code should be amended as follows:

Code: Select all

\documentclass[12pt]{article}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\usepackage{asymptote}  %  tikz replaced
\begin{document}
\begin{asy}            % added
size(100); 
import solids; 
currentprojection=orthographic(3,2,0.5);
revolution sphere=sphere(1); 
draw(surface(sphere),blue+opacity(0.2));
\end{asy}              % added
\end{document}
but performed in two steps outside this form, unfortunately.
pdflatex name
asy name-1
Perhaps, few people use Asymptote and what I've suggested is unfair for you.
All the best
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Ring around Sphere

Post by localghost »

Sundial wrote:Please, Administrators, be noticed that the interesting feature "open in writelax" doesn't work with Asymptote. […]
This is not a problem of the forum here but one of writeLaTeX itself. So you better contact the operators and make corresponding feature suggestions.


Thorsten
Sundial
Posts: 57
Joined: Thu Apr 19, 2012 7:28 pm

Re: Ring around Sphere

Post by Sundial »

Thanks, Thorsten! I'll contact them, soon.
Post Reply