PSTricks is a set of macros that allow the inclusion of PostScript code (e.g. drawings) directly inside (La)TeX code. This tag is compatible with the tag {diagrams}.

learn more… | top users | synonyms

2
votes
0answers
440 views

xelatex and pstricks [closed]

I am using miktex 2.9 with texworks & windows 7 ultimate SP1 to compile my code. I am compiling using xelatex however, my code is not compiling. What should I do ? Here is my code: ...
2
votes
0answers
170 views

Ghostscript Error when doing multiple slices with pst-solides3d [closed]

I'm trying to represent a polytope, but it seems that GhostScript doesn't let me slice a cube more than once. In particular, I tried the following: \psset{unit=0.6cm,labelsep=20pt} ...
2
votes
1answer
397 views

The traces of an elliptic paraboloid seem to be off when using pst-3dplot

I am trying to sketch an elliptic paraboloid given by z=\frac{x^2}{4}+y^2 using pst-3dplot. I used \parametricplotThreeD to sketch the graph. The trace on the plane z=3 is an ellipse with major axis ...
1
vote
4answers
874 views

How to get started with plain TeX

I am using TeX Live 2010 on Windows 7. I have no experience to compile a plain TeX input file. Is my input file below correct? % gettingstarted.tex \input pstricks \topmargin=-72.27pt ...
1
vote
2answers
1k views

How can I create PDF & EPS exactly as big as my PSTricks picture but without using pdfcrop?

This question is made to accompany the existing question: How can I create a pdf document exactly as big as my tikz picture?. Constraints: It is not allowed to use pdfcrop by any means whatsoever. ...
1
vote
1answer
59 views

obtaining an image in Pstricks

How do I draw this image in PStricks: I know to draw the axis but not sure how to name the points and all.
1
vote
1answer
67 views

How to avoid that a WIDE item push all the other columns?

I´m trying to finish my flowchart (with the inestimable help of Herbert and Bernard) How to avoid that a WIDE item (with no elements on its sides) push all the other columns?? I want the othe columns ...
1
vote
1answer
106 views

DVISVGM and PSTricks

EPS file conversion is not satisfactory with dvisvgm because labels are not displayed. \documentclass[a4paper,11pt]{article} \usepackage{etex} \usepackage[utf8]{inputenc} ...
1
vote
1answer
866 views

PSTricks and large numbers in graphics

I am trying to use PsTricks to plot large numbers. In Herbert Voss's PSTricks: Graphics and PostScript for TeX and LaTeX book (German edition, 2007, 4th edition), there is the code: ...
1
vote
1answer
357 views

Problem with drawing an arrow using Pstricks

I'm trying to draw an arrow by using pstricks, but I cannot do that. The code is below: \documentclass{book}‎ \usepackage{pstricks}‎‎ \begin{document}‎‎ \psline[linewidth=20pt]{<-}(2,1)‎‎‎ ...
1
vote
1answer
873 views

How to show grid labels when using starred pspicture?

I need grid labels even when I use \pspicture*. How to do this? \documentclass{article} \usepackage{pstricks} \psset{linecolor=red} \begin{document} \figure[h]\centering ...
1
vote
2answers
99 views

What causes my tangent and normal lines not to be visually perpendicular?

\documentclass[pstricks,border=12pt,dvipsnames]{standalone} \usepackage{pstricks-add} \usepackage[nomessages]{fp} \FPset\LabelBase{4} \FPeval\DeltaX{pi/LabelBase} \FPset\DeltaY{1} \FPeval\Left{0 ...
1
vote
1answer
50 views

Undo option in LatexDraw

The GUI LatexDraw for generating PStricks codes does not have "undo" option. What other better GUIs are available for generating PStricks codes? http://latexdraw.sourceforge.net/
1
vote
1answer
401 views

A dotted circle: control size of dots and distance between them

My MWE is: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \draw[red,dotted] (0,0) circle (2); \draw[black,thick] (5,0) circle (2); ...
1
vote
1answer
145 views

How can I use pst-circ package to draw this circuit?

draw multiplexer with pst-circ package
1
vote
2answers
151 views

How can I obtain a good compiled file with PSTricks?

I want to use PSTricks for making figures, and I have any code that I know that is good code, because I have viewed the results in images (code compiled well). I'm trying and trying, but I don't ...
1
vote
2answers
2k views

How to pass the abscissa of a node to the first 2 mandatory arguments of \psplot?

How to pass the abscissa of a node to the first 2 mandatory arguments of \psplot? I have tried \psGetCenterNode but it produced an error in PS interpreting phase. ...
1
vote
1answer
581 views

Neper number into postscript code

I need to plot this function: f(x)=e^(5,61+x/1000) using pst-plot, where e is Euler's costant but I don't know how to write it in postscript code. Anyone knows how?
1
vote
1answer
4k views

PSTricks picture not compiling with pdfLaTeX [duplicate]

Possible Duplicate: How to use PSTricks in pdfLaTeX? What is wrong with this code: \documentclass{article} \usepackage{pstricks} \begin{document} \begin{pspicture}(-0.5,0)(2.5,1) ...
1
vote
1answer
36 views

Installing xetex-pstricks on TeXLive

I installed xetex-pstricks via tlmgr install xetex-pstricks tlmgr update xetex-pstricks on my Windows 7 machine with a TeXLive installation. tlmgr info xetex-pstricks --list gave me info on ...
1
vote
2answers
146 views

Draw a contour around the cylinder

I'm willing to draw a contour around a cylinder. So far, I could get this one: The problem is that half of the circular part of the contour should be at the back of the cylinder which is not the case ...
1
vote
1answer
71 views

How to fill the area between a listplot and a psline in pstricks?

I have a .txt with data I use to plot a curve with lisplot and I need to fill the space between this curve and a psline in pstrick. Does anyone know how to do it?
1
vote
2answers
99 views

pslegend with dot instead of rule

I have the following MWE \documentclass[pstricks,border=0pt]{standalone} \usepackage{pst-node, pst-coil, pst-plot} \begin{document} \begin{psgraph}[axesstyle=frame,Ox=0, Dx=0.1, ...
1
vote
3answers
102 views

Dashed circular arcs not created in texmaker

I am trying to run the following sample codes, containing PStricks codes generated by Geogebra, in Texmaker in the sequence Latex+dvips+ps2pdfviewpdf (in Ubuntu). \documentclass[10pt,a4paper]{beamer} ...
1
vote
1answer
149 views

How to draw a Dyck path on PSTricks?

I would like to know how to easily draw a Dyck path similar to the one below using PSTricks instead of Tikz. Any ideas? Thank you! \documentclass[border=2mm]{standalone} \usepackage{tikz} ...
1
vote
1answer
137 views

Why doesn't pstricks allow for my images to show?

I have a simple file with a simple an figure I want to display on top but it's not showing. Instead, I just get this file: Latex Error: ./Mateus_010514.tex:17 LaTeX Error: File `justa' not ...
1
vote
1answer
29 views

Is possible \footnote{} inside PsTricks/Psmatrix?

Is possible inserting "\footnote{This is a footnote you can see in the lower side}" in a graph with Pstricks Psmatrix?
1
vote
2answers
74 views

Unexpected axes labels in PSTricks plot

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \usepackage{expl3} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...
1
vote
2answers
283 views

Loading TikZ3+PSTricks at the same time

I am also posting my solution. Please save your time and energy on this Question! I have experienced a strange behavior after upgrading TikZ 2 to TikZ 3 when loading and using the TikZ and ...
1
vote
1answer
66 views

I am using the package ps-plot and a file that used to compile no longer compiles

I am using the package ps-plot and a file that used to compile no longer compiles. The error I get says No room for a new \dimen \ch@ck …\else \ermessage {No room for a new #3}\fi Please help! I need ...
1
vote
1answer
144 views

How to put axes with PSTricks?. I use \psaxes… but I have no results [closed]

I want to use \psaxes and \psgrid but it doesn't runs well. What am I doing wring? \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-node} \usepackage[utf8]{inputenc} ...
1
vote
1answer
838 views

Using Pstricks to draw white boxes with white boarders fails?

I want to overlay one graphic over the another in my latex, however the white background is annoyingly transparent. To over come this I want to draw a rectangle of white behind the overlayed figure. ...
1
vote
1answer
606 views

How to define a global constant in postscript statement?

I want to define a constant globally within my pspicture environment as follows: \begin{pspicture}(4,2) \psgrid \SpecialCoor \def\length{2} \pnode(!\length 1){C} \uput[90](C){$C$} % other codes ...
1
vote
1answer
443 views

Is it possible to force auto-pst-pdf to use --hires option when it internally invokes pdfcrop?

What is --hires for? To obtain a better result when cropping a pdf image produced by PSTricks, I use --hires option as follows latex filename.tex dvips filename.dvi ps2pdf ...
1
vote
1answer
154 views

Unlike PGF/Tikz uses the middle part of stroke as the reference, what is the reason for choosing `dimen=outer` as the default in PSTricks?

The question has been written in the title above. Why not dimen=middle ?
1
vote
2answers
42 views

Truncated pstricks image

I am attempting to draw a two lens system using pst-optic. Here is my code : \documentclass{standalone} \usepackage{pst-optic} \begin{document} \begin{pspicture}(-15,-3)(15,3) \rput(5,0) ...
1
vote
2answers
31 views

Show y axis for psaxes starting from 130

I have a graph like this: However, when I plot it out on LaTex, it turns out like this: Here is the code: \begin{figure}[H] \centering ...
1
vote
1answer
112 views

Split nodes' label between multiple lines in pstricks tree

With pst-node and pst-tree, is it possible to display node's label on multiple lines? With TikZ, it is very easy, you simply put a line break at the appropriate place in the node's label { first line ...
1
vote
1answer
45 views

Wrong scaling of data in PSTricks plot

Consider the following: \documentclass{article} \usepackage{pst-coil,pstricks-add} \usepackage{siunitx} \DeclareSIUnit[mode = text]\kroner{kr.} \begin{document} \begin{figure} ...
1
vote
1answer
200 views

Compilation error after texlive update

I used to make animated pictures using pstricks and the beamer overlay syntax (eg. using \only<2>{<some pstricks code>}) with the standalone class. Here a MWE which did the work: ...
1
vote
1answer
144 views

How can I draw one small circle and one big circle in the same system of coordinates?

I want to draw two circles passing through the point M(-1, -4) and tangent to the lines 4x+ 3y = 0 and 3 x + 4 y + 1 = 0. The equation of circles are (x + 1)^2 + (y +2)^2 = 4 and (x +241)^2 + (y + ...
1
vote
2answers
127 views

How to control the size of diagbox(with long text) in psmatrix diagrams?

The problem for me is the 4th and 5th line from the bottom (code from an example of Herbert and the problem is where I try to add things ;-) ) \usepackage{amsmath,amsfonts,amssymb,latexsym} ...
1
vote
1answer
107 views

Clash between animate and hyperref on pdfLaTeX

When I compile the MWE below on pdfLaTeX I get the error message `! pdfTeX error (ext4): destinations cannot be inside an XForm. right before the \newframe* command is read. I have tried by switching ...
1
vote
1answer
539 views

Make a flashy text

I'm creating a beamer and I'm looking after some effects I could include to make my work more attractive. Is there a way to make a flashy text ? I'm thinking about an alarm clock : you know when it ...
1
vote
1answer
684 views

PSTricks, how to move and rescale a picture

How can I scale and change position of a PSTricks picture on a beamer slide? I draw a picture and save it in tex format using Inkscale. This is an example of the beginning of the picure %LaTeX with ...
1
vote
2answers
43 views

How to use \Pnodecount when there are more than one \curvepnodes invocations?

Assume that there are 2 \curvepnodes macros invoked as follows. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-node,pst-plot} \begin{document} ...
1
vote
1answer
148 views

A problem with cjkutf8 and pst-eucl

The following MWE cannot be compiled. You can see the error messages by yourself. \documentclass[pstricks,border=12pt]{standalone} \usepackage{CJKutf8} \usepackage{pst-eucl} \def\kor#1{% ...
1
vote
1answer
145 views

What causes this error? [closed]

After seeing Herbert's answer, apparently this problem should not occur if I realized the first row of the following code should be \documentclass{beamer}. Problems often come from not knowing what I ...
1
vote
1answer
230 views

Footer scaling with scalebox

I use a pspicture to draw a electric diagram in one of my slides with beamer, and I've got a pause-command within the pspicture (to make thing appear). I use \scalebox to make my picture enter the ...
1
vote
1answer
295 views

Using \begin{TeXtoEPS} after \section

I have a figure created with pstricks that I would like to insert into another document. However when copying the markup into my main document and compiling it I get the following error: ! Undefined ...