10
votes
Accepted
How to reproduce the following diagram with 3D packages in PSTricks?
Approach using only pst-solides3d
UPDATE - A few improvements
Instead of calculating the points E and F (altitudes of triangles ABSand ACS, respectively) with:
\psProjection[object=point,definition=...
8
votes
Accepted
Drawing an animated circle in LaTeX
Just because I love a good challenge.
Compiled using convert -delay 10 -loop 0 -density 300 -scale 400 -alpha remove <file>.pdf <file>.gif.
Missing features/improvements:
red line "...
7
votes
Accepted
Electric Circuit PsTricks
In circuitikz I would build something like this (hey, I have a repeated $R_4$, easy to fix!):
\documentclass[border=10pt]{standalone}
% need 0.9.0+
\usepackage[siunitx, RPvoltages]{circuitikz}
\...
7
votes
Electric Circuit PsTricks
With pst-circ, you simply have to define a series of empty nodes corresponding to the input and output of each dipole component, then insert the dipoles and close the connections with 4 \ncangles ...
5
votes
Accepted
PSTricks code automatically generated by GeoGebra doesn't comple?
You have not shown the error message just a summary missing the main information.
the first error is
! Undefined control sequence.
<recently read> \scalebox
l.15 ...l{...
4
votes
Accepted
Any idea to start drawing this dynamic figure?
If you want to use TikZ, here is a start for you:
\documentclass[12pt,a4paper]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,10) -- (5,10); % line between 2 points, ...
4
votes
Accepted
How to use \def command in \uput
The sequence specified as part of the mandatory argument for \psChart represents the proportions of the total pie being used for each segment. So, {20,20,20,20,20,20,20,20} will use the same ...
4
votes
Accepted
How to compact two the parabol commands in the following example?
\psrotate is for more complex objects, not for simple rotations around the origin:
\documentclass[border=15pt,pstricks,12pt]{standalone}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}[...
4
votes
Accepted
What's idea to draw Lie E6?
A short version. If you do not want the diagonals then simply do not draw it:
\documentclass[border=10pt]{standalone}
\usepackage{pst-calculate}
\usepackage{pstricks-add}
\begin{document}
\def\n{5}
\...
3
votes
Accepted
How to mark subticks at the end of a smooth curve?
You have to use a multiple distance of the ticks of the curve,
which is not easy to know for a curve. However:
\psparametricplot[algebraic]{-1}{1.53}{t|t^2+4}%
\pscurvepoints{-1}{1.53}{t|t^2+4}{L}%
3
votes
How to compact two the parabol commands in the following example?
It's simpler to plot with swapaxes:
\documentclass[border=15pt, pstricks, svgnames, 12pt]{standalone}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}[showgrid](-3,-3)(3,3)
\psframe[...
3
votes
Accepted
Rotate PSTricks Object: Label Positioning
The trick (!!) is to not forget the polar axis, used for the direction along which the label is put, was also rotated. Whence:
\documentclass{article}
\usepackage{pstricks-add}
\usepackage{auto-pst-...
3
votes
Drawing an animated circle in LaTeX
The original code in the edited question compiled fine but produces frames for animated ellipse-drawing rather than animated circle-drawing.
Assuming that 'doesn't workrefers to the fact that the ...
3
votes
Current Helix Wire Wrapping a Magnet Bar
Here is a way to draw your example with PSTricks
\documentclass[pstricks]{standalone}
\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}(-7,-5)(7,5)
\psset{viewpoint=100 60 20 rtp2xyz,...
2
votes
Accepted
Current Helix Wire Wrapping a Magnet Bar
object "cylindrecreux" is useless, you can simply use the object "cylindre".
Here is a slightly improved version.
\documentclass[pstricks]{standalone}
\usepackage{pst-solides3d}
...
1
vote
1
vote
how to draw like the following picture ( use pairs \gsave...\grestore):
\documentclass[pstricks,border=1cm]{standalone}
\usepackage{pst-plot}
% Best Practices:
% do always enclose the parameters #1, #2, etc with ()
% do always enclose the most outside with ()
% Are you ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pstricks-add × 62pstricks × 53
pst-plot × 4
pst-node × 4
tikz-pgf × 2
geogebra × 2
tables × 1
beamer × 1
macros × 1
graphics × 1
xetex × 1
errors × 1
color × 1
diagrams × 1
compiling × 1
conditionals × 1
arrows × 1
labels × 1
overleaf × 1
circuitikz × 1
accents × 1
asymptote × 1
incompatibility × 1
braces × 1
animations × 1