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=...
Ñako's user avatar
  • 3,626
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 "...
Alenanno's user avatar
  • 37.2k
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 ...
Bernard's user avatar
  • 271k
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} \...
Rmano's user avatar
  • 40.3k
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{...
David Carlisle's user avatar
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, ...
Mike's user avatar
  • 8,654
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 ...
Werner's user avatar
  • 602k
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}[...
user187802's user avatar
  • 16.7k
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} \...
user187802's user avatar
  • 16.7k
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}%
user187802's user avatar
  • 16.7k
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[...
Bernard's user avatar
  • 271k
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,...
user73104's user avatar
  • 949
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 ...
cfr's user avatar
  • 196k
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-...
Bernard's user avatar
  • 271k
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} ...
user73104's user avatar
  • 949
1 vote

Problem with dotstyle=+

Here is the output with Overleaf and running xelatex
user187802's user avatar
  • 16.7k
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 ...
Display Name's user avatar
  • 46.9k

Only top scored, non community-wiki answers of a minimum length are eligible