{3d} is about three-dimensional content, e.g., images and drawings.
5
votes
2answers
512 views
How to get rid of the viewer's (incorrect) axes in an Asymptote 3D graphics
I have an Asymptote graph of a 3D surface (code below) that I export into 3D PDF file (containing PRC). I include nice axes with LaTeX labels on them, but in addition to these the viewer displays very ...
4
votes
1answer
476 views
How to remove coordinates in a 3d plot using pgfplots
I would like to know how to remove coordinates in an addplot3 surf plot. Here is a simplified example:
\begin{tikzpicture}
\begin{axis}[clip=false,view={45}{45},grid=major]
...
6
votes
3answers
833 views
Drawing Axis Grid in 3D with Custom Unit Vectors
I am trying to adjust the unit vectors for each of the axis, and draw a coordinate grid. I can get it to work without specifying the unit vectors, of specifying it as:
x={(1.0cm,0.0cm)}, ...
5
votes
2answers
625 views
pgfplots: three dimensional plot with one variable as exponent?
In want to draw this function with pgfplots: f(x,y) = 1-(1-(1+y)^(-x))/x*y. When compiling, I get some error message about z buffer reoderings. I already played around a bit and ist seems to me the ...
29
votes
2answers
2k views
How can I draw an arc from point A -> B on a 3D sphere in TikZ?
I'm basing myself on http://www.texample.net/tikz/examples/spherical-and-cartesian-grids/ and now I need to add a arc from point P to Q. What I was able to get so far:
...
7
votes
2answers
766 views
Plot TikZ items with respect to 3D position, not the order of appearance in the code
I have a big bunch of polygons plot in 3D with TikZ. The code is generated by a program, so it's hard for me to print the "foreground" polygons last, so that they are well printed in space.
In other ...
21
votes
3answers
5k views
3D bodies in TikZ
Is there like a library that has default geometric figures like the ones shown below. Am not acquainted yet with 3D diagrams in TikZ.
3
votes
1answer
932 views
3D plots with pgfplots
I am trying to plot 3D plots with pgfplots. I have started with an example from documentation:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{pgfplots}
% ...
4
votes
1answer
389 views
Relative positioning in 3D
I am trying to position a node in 3D according to the (x, y) coordinates of a node previously defined on another z level.
However, I can't figure out how to make it work:
\documentclass{article}
...
15
votes
2answers
2k views
Draw a prism in TikZ or PSTricks
Is there a way to define an polygon in plane and output an (orthogonal) prism with that polygon as its base? The prism should be drawn in 3D in parallel oblique perspective with controllable height h, ...
8
votes
2answers
536 views
pgfplots: two labelings for a single 3d plot
I am trying to add a second labeling to my 3d plot, but I can not figure out how to do it correctly. The idea is to add a second axis without any grid, ticks, lines and nothing but labels and overlay ...
3
votes
1answer
575 views
Embedding 3D PRC model in LaTeX with custom views visibilities (movie15)
I'm using the movie15 package to include 3D graphics in my LaTeX document. I have model in PRC file format (generated by Asymptote). You can find all files of interest + my pdf output here: ...
1
vote
1answer
1k views
Some simple surface drawing using addplot3 for pgfplots won't compile
I am having trouble compiling even some very simple surface drawing using pgfplot and addplot3, for example please see the attached code, I keep getting error saying \begin{axis} on input line 8 ended ...
2
votes
2answers
290 views
3dplot in Beamer crop and ticks problem
I'm new to pstricks, and I've been struggling with several issues using it with beamer.
So my problem is that I'm trying to show a 3D plot in a beamer frame. However, for some reason, that I can't ...
8
votes
2answers
489 views
pst-solides3d and hidden lines
I am trying to draw figures with pstricks for the first time. Unfortunately, I am struggling with it. I was trying to draw a pentagon-cone and an octahedron using pst-solides3d, but it draws some ...
16
votes
2answers
2k views
Drawing a circle on a non xy-plane with TikZ
Say I'm drawing a 3D picture. Now I would like to draw a circle, perspectively correct, on the yz-plane, but TikZ does not seem to be capable of this. All one can do is drawing circles on the ...
20
votes
2answers
2k views
Draw a bivariate normal distribution in TikZ
For a small class I want to draw a bivariate normal distribution and show where the means from the two variables meet in the space. Has anyone done this in TikZ?
35
votes
2answers
4k views
Drawing simple 3D cylinders in TikZ
I'm trying to draw some simple 3D objects in TikZ. I can do spheres and cuboids okay, but I'm struggling with circular cylinders: When rotating the scene (I use tikz-3dplot for this), the end faces ...
0
votes
1answer
261 views
Legend on top of a pst-solides3d drawing
Another question aboutpst-solides3d and visibility:
How can one draw a legend on top of the 3d drawings ?
I thought that putting the put command before or after the 3d drawings commands would render ...
7
votes
3answers
954 views
Cut-off cone in TikZ
How would I draw the following cone using TikZ? I have no clue how to incorporate the "cut-off".
I want to draw a picture of the cone given by the points (y, t) for y in R^d and t in (0, infty) such ...
8
votes
3answers
1k views
How to draw a circular cone
I want to draw the circular cone given by the equation z²=x²+y². (I do not mind using any given package.) I tried to use the pst-solides3d package with the help of its manual to generate the ...
6
votes
1answer
195 views
Cyclic ring and visibility problem in pst-solides3d
I'm trying to draw two cylindric rings on top of each other with pst-solides3d. Here is what I have:
\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-solides3d}
\begin{document}
...
3
votes
2answers
408 views
How to pick a plane inside a cube in pst-3dplot?
I want to pick and highlight a diagonal plane of a cube. I do not want to color it but use some kind of fill-style so that I can print it on a black and white printer. The following is my solution ...
4
votes
1answer
537 views
Navigation system coordinates in tikz-3dplot
I am using tikz-3dplot and trying to represent navigation system transformations. In navigation systems, the orientation of the vehicle axis is given in terms of Roll, Pitch and Yaw. These are ...
1
vote
0answers
647 views
Exporting 3D graphics from Mathematica to TeX [closed]
So far, whenever I had to use a 3D plot generated in Mathematica in a LaTeX document, I used exported the graphics to either of the following:
PDF
PNG
file format. Then I could easily include the ...
5
votes
1answer
511 views
plot 1d curves in 3d space with nice looking intersections
I am trying to draw multiple colored one-dimensional parametric
curves in three dimensional euclidean space. The curves
themselves do not intersect in 3d, but ...
5
votes
1answer
420 views
Some extensions to pst-solides3d
I asked this set of questions (actually 2 of the 3 below) on the PSTricks mailing list a couple of days ago, but have since heard that Herbert's "to do" list is quite lengthy. So, I'm distributing ...
4
votes
0answers
626 views
Drawing tri-axial ellipsoid and intersecting it with a sphere [closed]
I would like to draw a tri-axial ellipsoid (that is, an ellipsoid with three different main axes). I'd also like to draw a sphere in the same picture, showing the curves of intersection between the ...
6
votes
2answers
633 views
xyz coordinates rotation
is it possible to set a different orthonormal base for the xyz coordinate space? for example, the default one is x=(1,0,0) y=(0,1,0) and z=(0,0,1).
I would want to set this base: x=(1,0,0) y=(0,0,1) ...
10
votes
3answers
562 views
polytopes as inequalities sistem solutions in R3 (x-y-z) cartesian space
i'm here to ask if there's a TikZ/pgf support to draw areas resulting from a system of linear inequalities, into a xyz cartesian space. i found examples of my needs for xy plan at How to plot polygon ...
21
votes
8answers
4k views
Drawing polyhedra using TikZ with semi-transparent and shading effect
I would like to draw an Octahedron using TikZ, I found nowhere to start, I tried drawing 6 points and then connecting them properly, but this method gives no 3D feel at all, this is my drawing:
...
3
votes
2answers
1k views
Changing axes in tikz-3dplot picture
As is, the axes in the following picture
\documentclass{article}
\usepackage{tikz,tikz-3dplot}
\begin{document}
\begin{tikzpicture}[scale=3]
\draw[thick,->,black] (0,0,0) -- (2,0,0) ...
6
votes
2answers
810 views
3D-plotting sine integral (PSTRICKS)
I'd like to build up a 3D-Plot (based on pst-solides3d), where the function looks like
x=u, y=v and z=\int_0^x \frac{\sin\left(\pi t \right)}{\pi t} - \frac{1}{3} ...
4
votes
1answer
716 views
Easy way to do several line styles on one path using TikZ?
I'm drawing a lot of 3D pictures for school using 3D-plot for TikZ.
I like it when the lines that are inside or behind an object, eg. the ones that shouldn't be visible to be thinner than the lines ...
23
votes
6answers
5k views
What is the easiest way to draw 3D cube with TikZ?
I'm trying to find the easiest way to draw a 3D cube (it's for my UML diagram) with TikZ. Could you please give an example?
Like this:
6
votes
1answer
840 views
Asymptote generated 3D raster image
Consider the following minimal Asymptote 3D example:
\documentclass{article}
\usepackage{filecontents}
\usepackage{asymptote}
\begin{filecontents*}{testfile.asy}
import three;
...
5
votes
2answers
454 views
Disable movie15 movies and U3D graphics for printing
I am using the movie15 package to include movies and U3D graphics into my document. I have it setup so that a PDF reader not supporting U3D will display a static image which I have chosen instead.
...
13
votes
5answers
3k views
Drawing 3d diagrams
I would like to use a few simple 3d diagrams in my LaTeX document. They primarily consist of polyline segments in 3d, along with an occasional simple surface (e.g. paraboloid). There are two ...
7
votes
9answers
2k views
For movie15-based 3D embeds, how to get u3d files?
The movie15 package (an interface to embed movies, sounds and 3D objects into PDF documents for use with LaTeX as well as pdfLaTeX) requires 3D files to be in u3d format for embedding into pdf. This ...
