Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [pst-3dplot]

The {pst-3dplot} package is used to create {3d} graphics and plots using {pstricks}.

Filter by
Sorted by
Tagged with
0 votes
1 answer
60 views

Graphing simple 3d axis

How to draw 3d axis with component like this.
sukmudmaisus's user avatar
1 vote
1 answer
144 views

Opacity/Transparency in pst-3dplot Objects

I am trying to create a 3D graph using pst-3dplot as shown below: The problem is that the orange plane is not transparent as it blocks some portion of the cylinder. May I know how to fix the ...
thenerdymathematician's user avatar
1 vote
0 answers
136 views

Coloring pst-3dplot Surfaces

I have drawn traces of the hyperbolic paraboloid z=y^2-x^2 using pst-3dplot as shown below: I want to put color on this quadric surface to make it look more realistic. Is there a way to do this? (...
thenerdymathematician's user avatar
2 votes
1 answer
87 views

Truncating a pst-3dplot Surface

The graph of a function and the MWE are given below: \documentclass{article} \usepackage{pst-3dplot} \begin{document} \begin{pspicture}(-3.2,-2.73)(3.18,3.65) \psplotThreeD[ plotstyle = line, ...
thenerdymathematician's user avatar
0 votes
0 answers
36 views

pst-3dplot fails - how do I resolve this issue? [duplicate]

In the past I used pst-3dplot package to generate nice geometric figures in pdf format. Two days ago I tried to run a TeX recompile and the compile failed as the log file complains that the "\...
Randall's user avatar
1 vote
1 answer
54 views

Axes in pst-3dplot and pst-solides3d

This is just a simple question regarding the comparison of the axes using pst-3dplot and pst-solides3d packages. The MWE and the output are as follows: \documentclass[pstricks,border=12pt,12pt]{...
thenerdymathematician's user avatar
1 vote
1 answer
161 views

Graphing Quadric Surfaces in PSTricks

I am trying to make graphs of quadric surfaces that follow the illustrations in Thomas' Calculus book. One such illustration is the ellipsoid as shown below: My work so far is as follows: \...
thenerdymathematician's user avatar
2 votes
1 answer
119 views

PSTriks 3D spheres randomly distributed inside a torus

I would like to randomly distribute "n" number of spheres (or spheroids) inside a torus. The code I used to generate the toroid is as follows: \documentclass[12pt]{standalone} \usepackage{...
eneru's user avatar
  • 21
2 votes
1 answer
113 views

A finite number of arrows in an ODE solution

I was trying to edit this answer a bit, I wanted to put 5 or 6 arrows on the red and blue lines, I couldn't do it. The only thing I managed to do is this: (a lot of arrows come out and it's not what I ...
Zaragosa's user avatar
  • 599
3 votes
2 answers
140 views

Measurements in pst-3dplot versus pst-solides3d

My aim is to draw a circumscribed circle on the polygon constructed as "cone base" using pst-solides3d. By circumscription, I mean that the corners of the polygon touch the circle from ...
Morten Engelsmann's user avatar
4 votes
0 answers
596 views

Plotting a 3D graph in Latex

I am trying to change the 2D scatter graph into 3D which can also take the value of the P column as z-axis. But the output I got is not smooth and I really don't understand how I can change it into 3D ...
TaniaMalik's user avatar
3 votes
2 answers
102 views

Fail to expand points with \expandafter

As pst-3dplot has no named 3D points (aka 3D nodes), I have to use macros as follows. Unfortunately, the expansion is confusing. Could you fix it? \documentclass[pstricks,border=1cm,12pt]{standalone} \...
Display Name's user avatar
  • 47.2k
4 votes
1 answer
457 views

Octahedra+tetrahedra space-filling tessellations in 3D

This is called the quasiregular space-filling tessellations in 3D: formed by Octahedra in RED and tetrahedra in YELLOW Are there any smart ways to do a LaTex figure drawing this?
wonderich's user avatar
  • 2,437
0 votes
1 answer
680 views

Plotting a 3D vector

I want to plot this 3D vector using tikz3D .Since I'm new to Latex, I find this task a bit difficult. I saw a couple of similar sort of questions in this forum but their pictorial representations are ...
SL_MathGuy's user avatar
3 votes
1 answer
960 views

Plotting 3D graphs of quadric surfaces

I have trouble plotting these 3D graphs of Quadric surfaces. If anybody could help or direct me to a link where I can find codes for corresponding graphs, it would be really helpful. Hyperbolic ...
SL_MathGuy's user avatar
6 votes
1 answer
287 views

PSTricks: Drawing a Horseshoe Magnet with pst-3dplot

I am attempting to recreate images with horseshoe magnets with PSTricks. I realise there is a question about this with TikZ, but I prefer PSTricks. I would like to draw something like the following ...
user avatar
0 votes
0 answers
116 views

Error with \pstThreeDCoor in pst-3dplot

I have a problem with this code \documentclass{article} \usepackage{pst-3dplot} \begin{document} \begin{pspicture}(-3,-2.5)(3,4.25) \pstThreeDCoor \end{pspicture} \end{document} Error: ! ...
Jan Beran's user avatar
1 vote
1 answer
96 views

pst3d-plot misplaces text

Example file from here: \documentclass{article} \usepackage{pst-3dplot} \begin{document} \begin{pspicture}(-3.2,-2.73)(3.18,3.65) \pstThreeDCoor[ xMin = -4, xMax = 4, yMin = -4, yMax = 4, ...
OD IUM's user avatar
  • 140
16 votes
4 answers
2k views

How to plot two surfaces and the intersection curve?

I want to draw the intersection line (curve line) of two functions x^2+y^2+z^2=4 (Zmin= 0) and x^2+y^2=2y in the same coordinate system as follows. I have read pst-3dplot and pst-solides3d but I can ...
user avatar
1 vote
1 answer
149 views

Microscopic Structure of Spherical Elastic Membrane

I would like to draw a 2D network on the surface of a light-grey non-transparent sphere. In the actual fact, the network represents a 2D square lattice composed of many balls and springs as proposed ...
Savchenko's user avatar
  • 377
3 votes
1 answer
277 views

A dot using \pstThreeDDot

I want to put a dot on the beginning of the red line. My code is: \documentclass[a4paper,pstricks,11pt]{report} \usepackage{amssymb} \usepackage{latexsym} \usepackage{amsmath} \usepackage[usenames]{...
Carl's user avatar
  • 31
10 votes
1 answer
1k views

How to make a thermodynamics conduction diagram in pstricks or tikz with shading?

I am attempting to make the following picture But I would like some elements modified which I have done in the following pstricks image. I do not know how to center text, do multiline text for "...
sab hoque's user avatar
  • 2,637
9 votes
1 answer
952 views

Solid region enclosed by surfaces

I'm trying to obtain the solid regions showed below for didactical purposes: I know that with psplot in 2d one can do things like that (area enclosed by two curves) and the output is very nice (I did ...
Juan C. Cala's user avatar
1 vote
1 answer
130 views

Trying to create a picture with PSTtricks

I'm trying to create a picture of a paraboloid, as shown in the figure, with the package pstricks but I'm getting some errors while writing the parameters for the parabola and the ellipse (gradangle,...
Edgar Dominguez's user avatar
1 vote
1 answer
383 views

Using pst-3dplot together with viewpoint

I would like to change the viewpoint in the following picture: \documentclass[pstricks, border=0pt]{standalone} \usepackage{pstricks} \usepackage{pst-3dplot} \begin{document} \begin{pspicture}(-4,-4)...
tebartsch's user avatar
  • 335
2 votes
2 answers
546 views

Right angle in 3D-pstricks

I'd like to draw a right angle in a 3D-pstricks-graphic. I can't find a way to do that. This is what I want to do (but in 3D): Here is my code: \documentclass{standalone} \usepackage[T1]{fontenc} \...
iom10's user avatar
  • 79
1 vote
0 answers
244 views

3d plot of a hyperboloid

I would like to plot the following hyperboloid in 3d. Given the center c = <18,0,0>, principal axis vector v = <-1,0,0>, orthogonal vectors u = <0,1,0>, and w = <0,0,1>, and parameters A = ...
pmd's user avatar
  • 11
1 vote
2 answers
82 views

Make pstricks ignore pictures

I'm not even sure how to ask this I'm interested in knowing if there is a way (a package option perhaps) to ignore the compilation of pstricks but leave the picture environment with its intended size....
hanzo2001's user avatar
  • 509
4 votes
2 answers
307 views

How to draw a 3D quadrangle from points

My picture uses a bunch of irregular quadrangles but there is no polygon macro in pst-3dplot Is there a way to emulate the basic pstricks macro \pspolygon(a,b)(c,d)... in pst-3dplot? I know I can ...
hanzo2001's user avatar
  • 509
2 votes
2 answers
256 views

Drawing dot mesh on 3dplot

DISCLAIMER: this seems like a bug. If you know where I should post this (message board, forum, bug tracker...) please let me know. I have a relatively simple image consisting of 2 parametric 3d plots ...
hanzo2001's user avatar
  • 509
3 votes
0 answers
168 views

3-dimensional plot of a recursively defined curve? [closed]

Is it possible to draw 3-dimensional diagrams with LaTeX, as in the below picture, that come from a recurrence formula?
Hang up's user avatar
  • 51
2 votes
0 answers
167 views

pst-3dplot error: Transformation matrix not invertible

I'm trying to reproduce example 1 on page 26 of the user manual of pst-3dplot. It is supposed to rotate the label 'xy plane' into a 3D coordinate system. All I get is a warning: ** WARNING ** ...
user avatar
1 vote
1 answer
260 views

pst-3dplot error with IIIDlabels

I have encountered a problem with my pst3dplot. With the option IIIDlabels enabled I end up with lots of black spikes instead of labels on the coord axes. Without IIIDlabels the pst-3dplot works fine. ...
user avatar
1 vote
0 answers
62 views

Is it possible to import an .png in a drawing made with pst-3dplot?

I would like to make a drawing using pst-3dplot with a .png embedded in it. Does anybody know if this is possible? Thank you very much.
Lars91's user avatar
  • 11
4 votes
1 answer
336 views

animate package plotting problem

I want to use the example in the example of an­i­mate package. But I cannot run it successfully. I found no pst-ode package in the package manager. But I installed it. \documentclass{article} \...
yajun's user avatar
  • 41
6 votes
2 answers
2k views

How to plot the four regular star polyhedra with tikz?

I can plot the regular convex polyhedra, for examples \begin{tikzpicture}[scale=1.0] \tikzstyle{every node}=[circle,fill=blue!20,inner sep=0pt,minimum size=0.4cm] \foreach \y[count=\a] in {10,9,...
Eden Harder's user avatar
5 votes
1 answer
2k views

How to draw cubes in PSTricks with dashed hidden lines?

I'd like to draw cubes with PSTricks (pst-3dplot) as shown in the related question Draw a prism in TikZ or PSTricks like these two with correct hidden lines, but with the code given there (Simple ...
Wolfgang Büchel's user avatar
2 votes
1 answer
333 views

pst-3dplot's Alpha and Beta are not correctly set with pstThreeDCoor?

This is a simple question when I set Alpha and Beta in \pstThreeDCoor, why doesn't it affect all the following macros? I have to set it in psset and also add a \pstThreeDCoor{Alpha=#1,Beta=#2,...
hanzo2001's user avatar
  • 509
4 votes
1 answer
317 views

Does the package pst-solides3d affect images made with pst-3dplot?

I am working in a simple project creating some 3D representations of math surfaces and shapes for a calculus course. Most of all the pictures I have created rely heavily on pst-3dplot. Once I found ...
hanzo2001's user avatar
  • 509
3 votes
1 answer
906 views

3d plot of a surface with nonrectangular domain

I need to make a 3D plot of a step function For example, suppose that I want to plot the function f:[0,1]x[0,1]->[0,1] given by: f(x,y) = 1 if x < y^2 and f(x,y) = 0 otherwise I would like to ...
brunosalcedo's user avatar
3 votes
1 answer
509 views

Shading faces of solid (described using using \parametricplotThreeD)

Does anyone know how to shade only one of the faces of a solid whose faces are described using parametricplot? For example, shade the faces of the solid below? In general, how to color each of the ...
Combin's user avatar
  • 335
3 votes
1 answer
297 views

Vertical Text \pstPlanePut

I'm trying do write some vertical text, with the basis line parallel to the z-axis, in the xz-plane... Here is what I got, and I want the vertical text to be parallel to the z-axis. Is it possible ...
3isenHeim's user avatar
  • 2,107
39 votes
2 answers
6k views

3D solids with Tikz - or an alternative?

I want to draw 3D shapes in latex. I have tried out different strategies, but nothing has led me to a good solution yet. First what I want to do, then what I have done so far. In prioritized order, ...
Clausen's user avatar
  • 565
4 votes
1 answer
844 views

Opacity for pst-3dplot object

How can the opacity of a pst-3dplot object be set to be transparent? I have an example where using opacity or strokeopacity options do not work. I am trying to make an image similar to the following: ...
chase's user avatar
  • 225
2 votes
1 answer
503 views

pst-3dplot and drawing cylinders

I am drawing a cylinder with \psCylinder from pst-3dplot, as shown here in a MWE from the manual: \documentclass{article} \usepackage{pst-3dplot} \begin{document} \begin{pspicture}(-3,-2)(3,7) \...
BillyJean's user avatar
  • 1,743
5 votes
2 answers
212 views

Bug report pst-3dplot, where should I submit it?

I discovered a bug with the auto-pst-pdf package, but don't know where to report it. The bug manifests itself both with pdflatex and the dvi->ps->pdf chain. Here is a minimal working example: \...
Todor Milev's user avatar
3 votes
1 answer
524 views

Can you change the opacity in surfaces/plots in PSTricks pst-3dplot?

Can you change the opacity in surfaces/plots in PSTricks pst-3dplot ? \documentclass[% pstricks,% border=12pt% ]{standalone} \usepackage{pst-3dplot} \begin{document} \begin{pspicture}(-3,-1.5)(...
Mika Ike's user avatar
  • 3,781
8 votes
3 answers
2k views

What am I doing wrong with PSTricks 3D?

I'm starting doing graphs with PSTricks in 3D, but I can't reach a first good result. What am I doing wrong? \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-node} \usepackage{pst-...
Mika Ike's user avatar
  • 3,781
8 votes
2 answers
1k views

3D data plot with PSTricks

Consider the following example: \documentclass{article} \usepackage{pst-3dplot} \begin{filecontents*}{plotting-of-3d-surface.data} 2.17 0.001 0.82044815 2.17 0.002 0.82345825 2.17 0....
Svend Tveskæg's user avatar
6 votes
1 answer
1k views

3D figure with pst-3Dplot

I'm trying to plot a simple math function in 3D using the package pst-3dplot. The function is z = 1/(1+a*exp(-b*y)) * (c * (1 - exp(d*x)) * (1 - exp(e*(x-f)))). I tried the following: \def\PsEuler{2....
Grasshoper's user avatar