Questions tagged [pst-3dplot]
The {pst-3dplot} package is used to create {3d} graphics and plots using {pstricks}.
43
questions
2
votes
1
answer
70
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 ...
2
votes
1
answer
78
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 ...
4
votes
0
answers
252
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 ...
3
votes
2
answers
100
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}
\...
4
votes
1
answer
381
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?
0
votes
1
answer
358
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 ...
3
votes
1
answer
560
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 ...
6
votes
1
answer
233
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 ...
0
votes
0
answers
79
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:
! ...
1
vote
1
answer
78
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,
...
16
votes
4
answers
1k
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 ...
1
vote
1
answer
123
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 ...
3
votes
1
answer
177
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]{...
10
votes
1
answer
814
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 "...
9
votes
1
answer
614
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 ...
1
vote
1
answer
119
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
1
answer
309
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)...
2
votes
2
answers
503
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
0
answers
214
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
2
answers
71
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....
4
votes
2
answers
284
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 ...
2
votes
2
answers
224
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 ...
3
votes
0
answers
157
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
0
answers
152
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 ** ...
2
votes
1
answer
240
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.
...
1
vote
0
answers
50
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.
4
votes
1
answer
307
views
animate package plotting problem
I want to use the example in the example of animate package. But I cannot run it successfully. I found no pst-ode package in the package manager. But I installed it.
\documentclass{article}
\...
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,...
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 ...
2
votes
1
answer
298
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,...
4
votes
1
answer
288
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 ...
3
votes
1
answer
831
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
1
answer
444
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
1
answer
264
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 ...
38
votes
2
answers
5k
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, ...
4
votes
1
answer
761
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:
...
2
votes
1
answer
460
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)
\...
5
votes
2
answers
203
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:
\...
3
votes
1
answer
496
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)(...
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-...
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....
6
votes
1
answer
991
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....
12
votes
3
answers
2k
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/(...