Graphics, Figures & TablesSpherical coordinates figure

Information and discussion about graphics, figures & tables in LaTeX documents.
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Spherical coordinates figure

Post by Cham »

Okay, I found a much simpler way. The figure is not finished yet, but it's a lot easier with Mathematica :
spherical.jpg
spherical.jpg (18.52 KiB) Viewed 2463 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Spherical coordinates figure

Post by rais »

What's so cryptic about it?
You'll have to replace "foo" with your own filename, of course, and before you can call the first step, you need to open a console with a working directory set to the path your .tex file resides in.
Let's try this again : (assuming the folder and file names from your .log file above)
  • open a console
    (since you mentioned one above, I assume you know what that is and where to find it)
  • navigate to your .tex file
    cd ~/Desktop
  • run pdfLaTeX
    pdflatex TSWLatexianTemp_000858.tex
  • run asymptote
    asy TSWLatexianTemp_000858-01.asy
  • run pdfLaTeX again
    pdflatex TSWLatexianTemp_000858.tex
  • if no error occured, you now have a file `TSWLatexianTemp_000858.pdf'
Is that any better?

KR
Rainer
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Spherical coordinates figure

Post by Cham »

That's it ! I now just need to edit the lines thickness and colors, and add the symbols...
spherical_coords.jpg
spherical_coords.jpg (24.97 KiB) Viewed 2460 times
And since this figure is really interactive, I can rotate it by hand and find the nicest view before exporting the vectorial file from Mathematica. Much easier !
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Spherical coordinates figure

Post by Cham »

I've added some small gaps under the curvy arrows to produce a volumetric effect (shown in red). The printed version is very nice ! 8-)
gaps.jpg
gaps.jpg (33.12 KiB) Viewed 2454 times
Pretty sure this is the final version.
Post Reply