# Tag Info

Accepted

### Draw a 3D sphere with radius with TikZ?

It is always hard to get answers to questions on the form "draw this for me" without showing any effort your self. Next time try to start a solution and add a MWE to your question, then you have much ...
• 13.8k
Accepted

### Are there any tools that convert Mathematica code into LaTeX code?

You can copy-and-paste LaTeX directly from a Mathematica notebook: It is assumed the content is math-related, so non-math functions are set using \text (requires amsmath).
• 602k
Accepted

### How to draw this cube with holes?

With TikZ this is easy to draw using pics, styles and the 3d library: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{3d} \tikzset {% front face/.style={fill=gray!20,canvas is xy plane ...
• 28.3k
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.3k

### Plot Dini's surface

\listfiles \documentclass[pstricks]{standalone} \usepackage{pst-solides3d} \begin{document} \def\A{3.0} \def\B{0.5} \begin{pspicture}(-3.5,-3.5)(3.2,13) \psset[pst-solides3d]{viewpoint=20 -20 30 ...
• 16.7k
Accepted

### Drawing six hemispheres

Welcome to TeX.SE!! This is another approach, using an isometric view (from perspective TikZ library) and a \foreach loop. This way you only need tho draw two hemispheres and rotate them. For example: ...
• 28.3k

### 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.3k
Accepted

### Vertical sliced cylinder

Here is one way to do it which adapts the code you were already using to draw the cylinders (i.e. using ellipses). This method uses the intersections library to calculate the intersection point of a ...
• 9,430

### How can I draw the triangle tangent to sphere?

With some calculations, I have this code \documentclass[border=2mm,12pt,tikz]{standalone} \usepackage{tikz-3dplot-circleofsphere} \usepackage{fouriernc} \begin{document} \tdplotsetmaincoords{60}{140} ...
• 9,447
Accepted

### Draw a solid with circular base & square cross-sections in TikZ

Here is another solution made with plain tikz. We only have to draw lines and ellipses, but we need to do the maths. I use isometric axes and the maths are nearly the same as in the OP, but we need a ...
• 28.3k
Accepted

### Drawing the 3D curve $z=xy\sin(x^2+y^2)$ with Tikz

\documentclass[10pt,a4paper]{article} \usepackage{pgfplots} \pgfplotsset{compat=1.3} \begin{document} \begin{tikzpicture} \begin{axis}[ %hide axis, xlabel=$x$,ylabel=$y$, mesh/interior colormap name=...
• 46.3k

### how to draw pitch, yaw and roll with 3d plot

I made an alternative to @marmot's answer that keeps track of a rotation matrix. This way one can add an arbitrary number of rotations around any axis, and the \tdplotsetrotatedcoords command is not ...
• 9,723

### How to draw this cube with holes?

With perspective projection and cosine lightening, in TikZ \documentclass[border=9,tikz]{standalone} \usepackage{tikz-3dplot} \makeatletter \def\camerax{0}\def\cameray{0}\def\cameraz{0} \def\cameras{...
• 36.8k
Accepted

### 3D Shaded diamond with intersecting plane pt 2

Here are the first and the last. The ball takes some more time: Edit Improved the drawing of the axis, which is not covered and added third sketch Edit 2 Changed the intersection point with the ...
• 3,218