Tag Info

Levi-Civita symbol: 3D matrix

More or less: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{positioning, matrix} \usepackage{amsmath} \newcommand{\arrayfilling}[2]{ \fill[#2!30, opacity=.5] ([shift={(1mm,1mm)}]#1....
• 137k

How can I draw the trefoil knot in 3D co-ordinates in Latex using these parametric equations?

I think that the key here is to put more samples. This is your code, with 100 samples. I changed the domain too, from 0 to 2pi, because yours draws everything twice. I also added a view more alike to ...
• 28.6k

How can I draw the trefoil knot in 3D co-ordinates in Latex using these parametric equations?

This is basic Asymptote code: // // trefoil.asy // // to get trefoil.png, run // asy -f png -render=4 trefoil.asy // // to view it in internal Asymptote 3d-viewer, run // asy -V trefoil.asy // // or,...
• 21.9k
Accepted

How to draw a 3D sphere and a 3D cone for Spherical coordinates

You can draw something like your picture essentially using the canvas is... options from 3d library. For example: \tikzset { xz/.style={canvas is xz plane at y=0}, xz rotated/.style={rotate ...
• 28.6k

Plotting chaotic maps

Metapost will be much much faster than TikZ or pgfplots. Previous answers (see the edit history) used lualatex for simple inclusion in to a document using luamplib (as well as lualatex with TikZ for ...
• 70.6k
Accepted

Complex Gaussian wave packet visualized as a 3D

This could be a starting point. It uses 3d and perspective TikZ libraries, and I'm 'reconstructin your function (hope is the right one). \documentclass[tikz,border=1.616mm]{standalone} \usetikzlibrary{...
• 28.6k

Draw an aircraft with Tikz

The next revolution in aviation: The duck plane \documentclass{standalone} \usepackage{tikzducks} \begin{document} \begin{tikzpicture} \duck \fill[orange] (0.7331,0.5229) .. controls (1.8688,-0....
Accepted

Densest sphere packing

By nesting 2 for-loops one could do something like this: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \foreach \x in {4,...,0}{ \foreach \y in {\x,...,4}{ ...
• 292

Nice scientific pictures show off

Some of the images took from my thesis. Instead of directly submitting the code, I will include a link to the line in the repo that contains the image in TikZ. But, the drone is actually an SVG ...

Nice scientific pictures show off

Here are some basic maths/physics diagrams I created using Tikz in response to various forum questions online. I have just started using Tikz and hope these samples might be helpful to other beginners ...
Accepted

Drawing circles on a 3D Plane

You don't really need anything fancy to draw circles (or ellipses) in the coordinate planes, as you can define a coordinate system for the circle itself. By default it is drawn in the xy plane, but ...
• 3,463

How can I draw the surface f(x,y)=x^2+y^2 like my picture?

The first figure with Asymptote. Other figures can be drawn in a similar way. import graph3; currentprojection=orthographic(2,1.5,.5,zoom=.95); unitsize(1cm); //currentprojection=obliqueX(40); size(...
• 17.9k

How to delete the sphere that is inside the cylinder?

Welcome to TeX.SE!! I know you're looking for an asymptote solution. But, meanwhile I left here a very simple TikZ one: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{perspective} \...
• 28.6k

How to draw an Icosahedron?

You can use \usepackage{tikz,tikz-3dplot} \documentclass[border=2 mm,12pt,tikz]{standalone} \usepackage{tikz,tikz-3dplot} \usepackage{fouriernc} \begin{document} \tdplotsetmaincoords{60}{100} ...
• 9,582
Accepted

TiKZ: How to define new 2D canvas

Here is a solution adapted from the link that you gave, TikZ: How to draw an isometric drawing in tikz. Add the following lines to your preamble: \makeatletter \tikzoption{canvas is plane}[]{\@setOxy#...
• 50k

Drawing physical diagrams (particle spin)

It's better to use some 3d engine, for example TikZ perspective library. You could do something like this: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{perspective} \begin{document} \...
• 28.6k

Drawing Solids with LaTeX

One can also use \documentclass{article} \textwidth = 19cm \oddsidemargin = -1.7cm \evensidemargin = -1.4cm \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{...
• 203
Accepted

Planes' intersection in Asymptote

Note that I know nothing about Asymptote. Caveat emptor ... This answer is almost exclusively drawn from Charles Staats's fantastic tutorial and the interested reader is encouraged to look ...
• 207k