Questions tagged [3d]
{3d} is about three-dimensional content, e.g., images and drawings.
947
questions
1
vote
1
answer
71
views
3D Plastic Effect on Custom Shape in TikZ
I'm trying to produce a 3D effect on a shape using the code below. The image on the left shows my current output, and the image on the right is a mockup of the effect I'm aiming for, which I created ...
1
vote
1
answer
42
views
pgfplots shader=interp seems to move the surface when using layers
When I use shader=interp as an option for a surface in pgfplots, if I have any layers set (even if I do not use them in that plot) it seems to shift the surface from where it should be. MWE below (my ...
0
votes
0
answers
60
views
How to draw random curves with parts dotted and some solid in 3D
I am having trouble making some parts of my curves with dotted (assumed to be behind the plane) and extended under the plane. Also, I need to have two other coppies of those curves. The part that i ...
0
votes
1
answer
87
views
Using TikZ to draw a 3D plot with a surface u(x,y), a contour C on the xy-plane and a vertical surface between C and u(x,y)
I want to have a 3D plot to explain integration of a complex function, f(z), along a contour on the complex plane, C. This 3D plot must contain these three ingredients:
A surface plot of a function u(...
0
votes
1
answer
98
views
Gate-All-Around FET (GAAFET) nanosheet 3d illustration
I'm trying to create a 3D representation of a GAAFET (Gate-All-Around Field-Effect Transistor) nanosheet using TikZ in LaTeX. I have attempted a 2D schematic, but I would like to improve it and create ...
1
vote
1
answer
61
views
How to draw 3D figure where y and z changes with x in LaTeX?
If there are three conditions,
x belongs to [0,5]
y belongs to [2x,7x]
z belongs to [0,x+3y]
Is there a way to draw this 3D figure?
It should be like this
This code is not right
\documentclass{...
0
votes
1
answer
38
views
Shifting Origin of Coordinate Systems with Custom Axes
I want to draw a second coordinate system at position (0,0,2).
Here is my code:
\documentclass{standalone}
\usepackage{pgfplots}
\usetikzlibrary{calc}
\pgfplotsset{compat=1.8}
\begin{document}
\begin{...
1
vote
1
answer
79
views
Placing multiple Coordinate Systems in one Image
I want to visualize two coordinate systems in one image.
Minimal working example:
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.8}
\begin{document}
\begin{tikzpicture}
\begin{...
3
votes
2
answers
113
views
How to draw a helical tube around a cylinder?
I'm trying to create this image:
But i couldn't find a way to draw a helical tube (Xe-flash lamp) around the ruby rod. How can i do that?
My current code:
\documentclass[12pt]{article}
\usepackage{...
0
votes
2
answers
81
views
How do I draw a cone with a generatrix?
How can I draw such an image like this?
Here's the code I tried, but it doesn't seem right:
\documentclass[tikz,border=2mm]{standalone}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\begin{document}
\...
4
votes
1
answer
217
views
Drawing nested tubes with TikZ
I am drawing nested tubes in LaTeX with TikZ, currently just drawing nodes and ellipses and using ext.paths.ortho to make the connections. But as the diagram get more complicated it's harder to ...
2
votes
1
answer
51
views
Understanding Spiral Function (potentially 3D) for tikz
I am trying to create a tikz diagramm that shows the precession movement of the LLG equation. Here is an example from wikipedia:
So far I have managed the spiral and centre arrow like this:
\begin{...
0
votes
0
answers
40
views
Sphere with a randomly marked region and an equatorial circle
I'm working with spheres in 3D and would like to draw a sphere with an open region $U$ with color green and enclosed closed region $E$ filled with color red such that $E \subset U$. And a vector $x$ ...
1
vote
0
answers
54
views
Custom 3D Coordinate System in pgfplots [closed]
I am trying to create a custom 3D coordinate system using pgfplots in LaTeX. I want to define three direction vectors x, y, and z. However, when I define x=(-0.35,-0.35) and then define y and z, the ...
4
votes
0
answers
103
views
How can I draw this in Latex
How can I draw like this 1 The problem is how can I colorize shape 2 like figure below 1.
\documentclass{standalone}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{...