{3d} is about three-dimensional content, e.g., images and drawings.

learn more… | top users | synonyms

20
votes
1answer
669 views

Why isn't the arc drawn on the good plane using tikz-3dplot in Tait-Bryan convention

As some people on tex.sx, I used the tikz-3dplot and changed some commands to use Tait-Bryan convention instead of the default Euler convention. As you can see on the following picture, the rotation ...
3
votes
1answer
51 views

Plot 2D slice of a scalar field defined on a 3D grid

I have a CSV data file like the following X Y Z T 0 0 0 12420 0 0 1 2154 0 0 2 54565 0 0 3 54640 . . 0 0 10 53565 0 1 0 12420 . . 0 1 10 53565 . . 0 10 10 53565 1 0 0 2454535 . ...
2
votes
1answer
135 views

3D PDF : howto convert VRML with colors to U3D or PRC?

I'm using media9 package and it is great! What I'm trying to get is to have a 3D PDF coming from one or more VRML objects. I cannot find anymore the DeepExploration sw http://www.righthemisphere.com/...
1
vote
1answer
42 views

3D plots in rectangular coordinates

How to draw these 3D plots using LaTeX (tikz,pstricks,asympote, ...) : The half sphere x^2+y^2+z^2=1 | x > 0 x^2+y^2+z^2=1 | z < -3/5 x^2+y^2+z^2=1 | 3/5 < z < 1 The dome x^2+y^2+z^2=...
10
votes
0answers
418 views

Asymptote generates different output whether running in interactive mode or from pdflatex

I would like to make 3d pictures and put them side-by-side. I can do that nicely creating a file example.asy: settings.render=1; import graph; import graph3; import contour3; material reds = ...
5
votes
0answers
70 views

Export matplotlib triangle mesh to an asymptote surface

This is a followup of a question of mine at stackoverflow partially reproduced here for clarity. I'm playing a bit with scikit-image marching cubes algorithm. Here is a simplified version of the ...
5
votes
0answers
252 views

Drawing a plane inside a sphere in TikZ

I have the following code, which is basically a modified version of the sphere example from TeXample.net. \documentclass[crop,tikz]{standalone} \usepackage{pgfplots} \usetikzlibrary{calc,fadings} \...
5
votes
0answers
392 views

Transform paper folding diagram to 3D object or vice versa

I made this commands to make paper models, and I ask if it is possible to have a 3D view of them converting in tikz-3D, or backward. But it's easier to draw the flat model and generate the volume ...
4
votes
0answers
141 views

Asymptote: set camera inside the box defined by the axis

The first figure is the (almost) the example elevation.asy from the demo gallery. I'd like to do an animation of a moving camera navigating in-between the peaks (a bit like a walkthrough in ...
4
votes
0answers
140 views

PGFplots 3D: Axis labels are placed “in the middle” of axis instead at the tip

I would like to use the "center"-style for axis and place the label of the axis near the arrow tip. It works in 2D but in 3D the labels for the x and y axis are placed at very weird places. See the ...
4
votes
0answers
313 views

tikz-3dplot, geodesics and adressing endpoints in polar coordinates

I am trying to draw geodesics on a sphere. While many approaches, like for example this one, i am more interested in another way. If i specify two points, say qand p on the Sphere, i would like to ...
4
votes
0answers
265 views

Is it possible to create red/blue 3d color in LaTeX?

Is it possible to create a red/blue 3d effect in LaTeX using a preexisting package? If not, would anybody have any insight into how to go about this? I am planning to make a beamer presentation on 3d ...
3
votes
0answers
53 views

How to fill an area outside spheres?

The problem is the same as explained in my previous question: How to fill an area outside circles?. The only difference that now I need to fill the green area in three-dimensional space, i.e., the ...
3
votes
0answers
239 views

pgfplots: rotating a shape in 3D independent of the axes

I have a group of shapes I'm plotting in 3D via \addplot3 (such as a cone) and need to have them pointed in a direction specified by the macro arguments. I do not want to just change the view angle or ...
3
votes
0answers
115 views

Is it possible to make slideshow with u3d files in a beamer template?

I'm just interested if there is a technical way to merge between animate package and movie15 package in order to get an interactive 3D slideshow (like that shown below in the link) with full features ...
2
votes
0answers
62 views

Using equation/function in 3D TikZ

I have a subset in 3D, than has the restrictions: 1<=x<=2, 1<=y<=2, 1<=z, 2x+2y-z<=5. So far I have just plotted the point, where I restrict x and y. How do i plot the last ...
2
votes
0answers
115 views

How to improve the 3D effect of this plot? (TikZ and pgfplots)

I have been experimenting with plots for a particular data series I have generated. The code below plots a surface around a polar axis reading in data from a file. The file can be downloaded here (...
2
votes
0answers
59 views

How to embed Asymptote 3D objects in Latex code when using Overleaf?

This is my MWE: \documentclass{minimal} \usepackage[inline]{asymptote} \begin{document} Test. \begin{asydef} usepackage("bm"); texpreamble("\def\V#1{\bm{#1}}"); \end{asydef} 2d figure: \...
2
votes
0answers
75 views

how to have transparent background in 3d plot of asymptote?

how to have transparent background in 3d plot of asymptote? Any idea? Suppose we save the output in png format, we can have transparent background in 2d plot of asymptote using the following, ...
2
votes
0answers
106 views

How to make 3D ribbon plots in PGF/TikZ

I'd like to make a bunch of 3D ribbon plots in TikZ or PGF, I've taken a look around and I've found no hints on how this might be accomplished, is there a simple way to do this? I'd settle for a 3D ...
2
votes
0answers
101 views

Drawing 3D surfaces with triangles (to show curvature effects)

I'm looking for a way to draw 3D surfaces in LaTeX with triangles on them to show the sum of angles being >, =, or < 180 degrees, exactly as in this photo . I'd just like to do it myself, but I'...
2
votes
0answers
60 views

pgfplots 3D plots size versus 2D plots size

I wanted to create a 3D plot but it's not possible for me to set the right size. Should I try out until I find the right values for height and width for the 3D plot or is there an easy way to find ...
2
votes
0answers
297 views

Draw an intersection of two planes

I use this code for producing the intersection of two planes: \begin{figure}[h!] \centering % Generat amb TikZ \begin{tikzpicture}[x={(240:0.8cm)}, y={(-10:1cm)}, z={(0,1cm)}, ...
2
votes
0answers
135 views

Asymptote: Intersect Line with Plane, z-order not correct

Hello TeX Stackoverflow! I have a question about 3D plotting in Asymptote. I want to produce a very simple 3D sketch of a line intersecting two planes, but I have trouble making it look "realistic": ...
1
vote
0answers
33 views

Fill enclosed region on sphere

Given the longitude and latitude coordinates of multiple points on a sphere, I can connect them using circular arc segments by using the Arc command in Asymptote: path3 arc(triple c,real r,real ...
1
vote
0answers
45 views

tkz-euclide but in 3d?

I just recently found the package tkz-euclide and I think it's amazing. I was wondering if there is a similar package to work in 3d. And if not what is, in your opinion, the best package for 3d ...
1
vote
0answers
22 views

3D Plot of Surface w/ Axes, Showing Intersections of Axes w/ Surface

I would like to be able to plot the graphs of functions of two variables, and I'd like the resulting figures to look like any of those shown below. In particular, I want: the x-, y-, and z-axes to ...
1
vote
0answers
40 views

How can I erase the intersection between cube and cylinder within a drawing?

Is there a possibility to define a volume (i.e. cylinder) for erease this part of a 3D-drawing consisting of several elements?
1
vote
0answers
106 views

How to improve the 3d effect of sphere in asymptote?

I try to use asymptote to plot the lattice. But the 3d effect of sphere is not so good. I need to use opacity(0.3) function, since I need to plot inside the sphere other elements. Currently, it looks ...
1
vote
0answers
158 views

Sphere Intersection using Tikz

I found this example here of two intersecting spheres, have reproduced a couple Tikz spheres that I found here which is the code below. I however would like to know how to get these two spheres to ...
1
vote
0answers
62 views

Glitches and other problems with pgfplots

I want to draw a rather smooth surface in a 3D graph with pgfplots. 1) It shows however, some glitches (spikes on the smooth surface), which I guess due to some numerical issues in the basic package. ...
1
vote
0answers
138 views

Lines plotted in front of others, though they should behind in a 3d plot

After converting a figure to TeX using matlab2tikz, I figured there's a little problem. The figure consists of many lines, but there are two different sets of lines a cloud set, forming a stream ...
1
vote
0answers
261 views

3D ipelets for ipe

Is there an ipelet to draw 3D objects in Ipe? I know there's one for plotting 2D functions, but I didn't find any in 3D. Thanks!
1
vote
0answers
292 views

Setting a rotation matrix instead of Euler angles in tikz-3dplot

In tikz-3dplot, I would like to use rotated coordinates by setting the according rotation matrix directly, instead of implicitly by Euler Z-Y-Z angles. I already tried to modifiy the internal matrix ...
1
vote
0answers
246 views

Can't zoom on u3d object in pdf

I am trying to make pdfs with u3d objects embedded, however when doing so I note that I cannot zoom in on the object, either by scrolling, or switching to the zoom tool. Interestingly, the pan tool ...
0
votes
0answers
49 views

Set the color to the sides of cylinder and exterior ring/hollow cylinder

I'm a newbee to tikz and from tex.stackexchange.com I tried a lot of resources. But I didn't get the initial help to solve my problem by myself. Maybe you can help me. Here is my problem: I want to ...
0
votes
0answers
77 views

3d plot with reflected arrows in “planes” using TikZ

I'm trying to reproduce this picture in TikZ, but I don't know how to get those 3D "planes" of arrows shown. Here is my attempt so far, which isn't remotely close to what I want (and mostly ...
0
votes
0answers
46 views

Spherical shell

I'd like to draw a figure like this using Tikz, anyone can help me?
0
votes
0answers
100 views

Any code templates to draw 3D field lines inline (no pun intended)?

I'm particularly interested in magnetic and electric field lines such as showed in this picture (from http://www.grasshopper3d.com/forum/topics/creating-a-3d-field):