Questions tagged [pst-3dplot]

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

Filter by
Sorted by
Tagged with
37
votes
2answers
3k 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, ...
16
votes
4answers
817 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 ...
12
votes
3answers
1k views

Drawing spherical harmonics with pst-3dplot

For my lecture notes in theoretical physics (namely quantum mechanics) I'm trying to visualize the spherical harmonics. I got Mathematica to plot them an this is what I did: SphericalPlot3D[(Sqrt[3/(...
10
votes
1answer
423 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 "...
8
votes
3answers
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-...
8
votes
2answers
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....
7
votes
1answer
178 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 ...
6
votes
1answer
829 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....
6
votes
2answers
1k 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,...
6
votes
1answer
94 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 ...
5
votes
2answers
194 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: \...
5
votes
1answer
1k 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 ...
4
votes
2answers
235 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 ...
4
votes
1answer
249 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 ...
4
votes
1answer
574 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: ...
3
votes
1answer
643 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 ...
3
votes
1answer
207 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 ...
3
votes
1answer
446 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)(...
3
votes
1answer
357 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 ...
3
votes
1answer
71 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]{...
3
votes
1answer
261 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} \...
3
votes
0answers
147 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?
2
votes
1answer
426 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) \...
2
votes
2answers
186 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 ...
2
votes
1answer
246 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,...
2
votes
1answer
170 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. ...
2
votes
0answers
106 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 ** ...
1
vote
2answers
303 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} \...
1
vote
1answer
76 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 ...
1
vote
1answer
39 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, ...
1
vote
1answer
88 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,...
1
vote
1answer
166 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)...
1
vote
2answers
62 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....
1
vote
0answers
149 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 = ...
1
vote
0answers
47 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.
0
votes
0answers
11 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: ! ...