PSTricks - Graphics for T<span class="e">e</span>X and L<span class="a">a</span>T<span class="e">e</span>X

Welcome to the PSTricks web site

Lines -- examples Main page Index Bug list Documentation Doc errors Examples 2D Gallery 3D Gallery Packages References CTAN Search CTAN: Germany Ireland United Kingdom USA Statistics Extended translation of the the 5th edition the 7th edition, total of 960 colored pages 2nd edition, 212 pages, includes 32 color pages         3D without pst-3d |  Bars as linestyle |  Bezier-Curves |  How a path is build |  Curves |  Curves around Nodes |  Different Width |  Digital Signals |  Dotted and Dashed |  Double lines |  Erathostenes |  Path |  Filled polygons |  Intersection Points |  Filled bezier curves |  Filled lines |  Knots |  Line ends |  Lineedge |  Line Ends |  Michelson experiment |  Polygons |  \pscustom and psbezier |  Sieve of Erathostenes |  Variable line width |  Vectors |

Curves Special line ends Intersection Point   The packages pst-circ and pst-3dplot have a macro \ABinterCD, which sets a node at the intersection point of the linear functions which are build through the points A-B and C-D. The coordinates can be drawn easily with the \SpecialCoor feature. This allows to take from nodes/points only one coordinate. For example \psdot(A|B) sets a dot at the point with the x coordinate of A and the y coordinate of B. If we have the intersection point of two linear functions and called E, then we can draw the coordinate lines with
\psline[linestyle=dashed](E|0,0)(E)(0,0|E)
It is from the point on the x axis (x coordinate from E, y coordinate from (0,0)) to E itself and then to the point of the y axis (x coordinate from (0,0) and y coordinate from E).      \pscustom and \psbezier
to get a filled area colored, use always the first \psbezier curve with four and following ones with with three arguments!      Building a path \documentclass[border=12pt]{standalone}
\usepackage{pstricks}
\def\CW{\psline(2,2)(3,4)(4,1)(4,-3)}
\begin{document}
\begin{pspicture}[showgrid](-5,-4)(5,5)
\pscustom[fillstyle=solid,fillcolor=red,linewidth=5pt]
{
\CW % (2,2)(3,4)(4,1)(4,-3)
\reversepath % now (4,-3)(4,1)(3,4)(2,2)
\scale{-1 1}
\CW % (-2,2)(-3,4)(-4,1)(-4,-3)
\closepath % clockwise path
% \pscircle moves the current path to (-1,0)
\pscircle(0,0){1}% clockwise: circle not filled (scale -1 1)!!
}% The inner of the circle is _not_ inside the path
\end{pspicture}
\end{document}  Filled polygons               Lineedge       Curves around Nodes Variable line width       Digital Signals Dotted and Dashed Different Width Special double lines         with pstricks-add    3D without pst-3d               Sieve of Erathostenes   Vectors   local time: Mon Dec 6 19:01:30 CET 2021 ; file is: 595.029571759259 days old
contact webmaster _at_ perce.de