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

4
votes
1answer
51 views

radar graph in latex pleas help me

i want to draw the radar graph similar to your page: Which LaTeX package is needed to draw radar-like diagrams? but my graph is 8 border and I drawing with code: ...
1
vote
1answer
26 views

How to add two lines for \rput in radar chart

I'm able to draw radar chart using code mentioned below: \begin{center} \begin{pspicture}(-4,-4)(4,4) \psset{unit=1.2} \degrees[270] ...
4
votes
3answers
143 views

Like to know how my code can be improved!

I would like to know better way of accomplishing the following figure than the code I used. I'm used to for loops, but not to LaTeX loops! THE CODE ...
1
vote
1answer
26 views

PSTricks compilation problem

The following problems occurred a week ago. Everything was fine before and the TeX file does compile on my friends computer but does not compile anymore on mine. When I compile my TeX file I get ...
4
votes
3answers
46 views

Unable to get required Orientation of arrow

The circle is divided into 8 equal parts and a horizontal and vertical arrow has to be put at the midpoint of each division. On the right half, the horizontal arrows are directed to right side. On ...
4
votes
3answers
213 views

Using pstricks, I need to created the following grid sheet, which fits well with A4 paper

Distance between any adjacent horizontal lines or adjacent vertical lines is 10 mm. The 2 vertical border lines are 1.0pt thick. The 18 vertical lines are 0.1pt thick. The 2 horizontal border ...
5
votes
1answer
134 views

Convert PSTricks to TikZ

I use pstricks for all my graphics. Now I am submitting a paper to a conference which, unfortunately, does not allow to use PostScript. I have to send them tex source, which they compile with ...
2
votes
0answers
21 views

pstricks: strange behaviour using \rput* with pst-solides3d

i got a strange behaviour using \rput and \rput* with the package pst-solides3d. it concern more or less the commands \rput and \psdot in the following example \documentclass{minimal} ...
5
votes
2answers
112 views

pst-solides3d: fill region under plot

How can I fill with pst-solides3d the region under the plot (x^2+y^2)/4 like in the following picture? \documentclass{article} \usepackage{pstricks} \usepackage{pst-solides3d} ...
0
votes
1answer
101 views

Chart or diagram for this figure

How could I create this table or diagram, I appreciate the help.
6
votes
1answer
230 views

PSTricks figure turned 90 degrees

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \def\RPut(#1)#2{% \rput[r]{90}(!#1 1980 sub 2 div 0){#2 \quad} \rput[l]{90}(!#1 1980 sub 2 div 0){\quad #1} } ...
5
votes
2answers
45 views

PSTricks rotation driven by auto-pst-pdf

This looks like the same problem as that one tackled in PSTricks figure turned 90 degrees, only with some twist. The following MWE does not give the rotation: \documentclass{memoir} ...
0
votes
0answers
78 views

Cartesian Coordinate System In TikZ VS Pstricks

I have been using pstricks to add cartesian coordinates to my exam document class structures for years. But, now I have switched to a Macbook air and I am using Texpad. The newsiest version of Texpad ...
1
vote
1answer
62 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 ...
11
votes
2answers
677 views

PSTricks transparency does not work with MikTeX's XeLaTeX

I use MikTeX and have updated all packages several minutes ago. The problem is that XeLaTeX produces a weird result where the transparency parts become opaque. It is not caused by preview as ...
5
votes
2answers
195 views

Opacity and transparency

I found some discussions about the opacity parameter in pstricks, but I still can't make it work. Here is my tex file: \documentclass{article} \usepackage{pstricks} \usepackage{pstricks-add} ...
3
votes
0answers
24 views

Shortening compile time with large eps files when using pstricks and dvips

So I am also sending this to both the pstricks and the powerdot lists as it relates to both, but mostly to compiling via dvi-> dvips -< ps2pdf or similar. I make my lecture slides with Powerdot ...
6
votes
3answers
363 views

How to fill an annulus (region bounded by two concentric circles)?

How to color with green color the domain bounded by a circle of radius 1.5 and the circle of radius 3.5 ? How to color with yellow color the domain bounded by a circle of radius 3.5 and the circle of ...
10
votes
1answer
120 views

Is there any compiler-dependent font loadable for pdflatex but not for latex-dvips-ps2pdf?

I want to make sure that I can load the same fonts for each input file either for diagrams and text contents. It is related to my statement below, Even though PSTricks cannot work with pdflatex ...
1
vote
0answers
173 views

What about Kuvio for making diagrams?

Kuvio (Finnish for 'pattern') seems to be a very general tool for diagram making. Which are the major disadvantages? Why isn't it used more often (only one Q/A on the site seems to mention it)? Can ...
2
votes
0answers
25 views

Looking for explanation of pstricks measurement units [duplicate]

I am looking for explanation of how pstricks deals with measurement units. I am trying to write my custom postscript-only drawing commands, to be used within the \pspicture environment. For ...
7
votes
1answer
88 views

Error in PSTricks package — trailing space again?

This question is similar to Error in the PSTricks package pst-poly?. Consider the following example: \documentclass{article} \usepackage{pst-grad,pstricks-add} \newcommand*\PolyLine{% ...
2
votes
1answer
83 views

How to change vertical and horizontal unit based on a fraction of width and height of an image?

I have to overlay some texts on a PDF form. As converting the PDF form to EPS with pdftops produces unsatisfying result, I will not use PSTricks code below. ...
5
votes
1answer
97 views

Compile Error: lualatex with PSTricks

I compile the file below with lualatex --shell-escape but I get the error : ! Undefined control sequence. l.14 \savedata ...
7
votes
1answer
71 views

Error in the PSTricks package pst-poly?

Consider the following example: \documentclass{article} \usepackage{pst-poly} \begin{document} \begin{figure} \def\sidelaengde{5 } \def\myCoor{} \centering \psset{unit = 0.4} ...
2
votes
1answer
38 views

Why no line drawn when use dot with psmatrix?

I am trying to draw a signal flow graph with \psmatrix where each node is just a dot. However \ncline does not seem to work when mnode is set to dot $ \psmatrix[colsep=1cm,rowsep=1cm,mnode=dot] ...
10
votes
3answers
963 views

Drawing of Sun–Earth–Moon system

Is there a package (or packages) for drawing the Sun–Earth–Moon system with either PSTricks, TikZ, or some other vector graphics language to illustrate Lunar and Solar eclipses, the phases of the ...
2
votes
1answer
57 views

conditional placement of ocg content

I am using ocg-p package to add layers of information in a pdf document, to be accessed by the reader interactively. To place the ocg layer in the desired location on the document I used rput command ...
5
votes
1answer
38 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
1answer
32 views

What option suppresses axes, ticks and labels in gridIIID?

I am interested in using the \gridIIID command but I don't want the box to have ticks, labels or axes I found the following line in the changelog: 4.20 2010-07-23 - activate keyword planmarks for ...
4
votes
1answer
52 views

How to get fractional labels with psaxes?

The objective is to get fractional labels (not in decimal) for both vertical and horizontal axes. In my experience, non-trigonometric labels are written in decimals and trigonometric labels can be ...
4
votes
2answers
98 views

How attach \circ to each horizontal labels representing angles?

The objective is to attach \circ to each horizontal labels representing angles in degrees. How to do so? I cannot find the solution in the pst-plot manual. ...
5
votes
1answer
57 views

How to use \psaxes with trigonometric labels of even multiples of π/3?

Constraints I only want to use \psaxes rather than multiple calls of \psxTick, \rput, \uput. I want to have trigonometric labels with even multiple of π/3. My attempts As usual, we can have ...
2
votes
1answer
61 views

Is it possible to use \only to conditionally enable key-value pairs of a macro?

The following is a trivial example. What I want to learn is how to use \only<> (if possible) to conditionally enable key-value pairs of a macro. \documentclass{beamer} \usepackage{pstricks} ...
2
votes
2answers
82 views

How to make the main ticks of \psgraph get aligned with the main grids of \psgrid?

How to make the main ticks of \psgraph get aligned with the main grids of \psgrid? \documentclass[pstricks,border=0bp,12pt,dvipsnames]{standalone} \usepackage{pst-plot} \usepackage[nomessages]{fp} ...
1
vote
3answers
71 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} ...
4
votes
1answer
60 views

PS-Tricks + Beamer Problem

I have a strange problem with PS-Tricks. I can only create one picture when using beamer. Take this as an example: \documentclass{beamer} \usepackage[pdf]{pstricks} \begin{document} \begin{frame} ...
9
votes
3answers
536 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: ...
10
votes
2answers
145 views

How to create PSTricks animations on the web page with interactive control panels?

I just visited a cool site that showing PSTricks animations with interactive control panels. For more details, please visit this link (click). The question is how does the owner of the site make the ...
4
votes
1answer
81 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
2answers
375 views

Resources for PSTricks examples

What resources for PSTricks examples do you know? Please feel free to add nice work of your own here as well! Background: I am constantly looking for PSTricks examples to get ideas how to solve my ...
9
votes
1answer
456 views

PSTricks: charpath on a curve (like textpath)

I am interested in drawing a specially rendered text on a curve. The LaTeX package pst-text provides a function to draw text on a curve (pstextpath) and a function to specially render text ...
3
votes
1answer
41 views

Axes in the foreground with PSTricks

With the code shown below, the grid is on the foreground (one can see red lines on the labels...): \documentclass[11pt]{article} \usepackage[letterpaper, textwidth=7in, textheight=9.5in]{geometry} ...
4
votes
2answers
425 views

ps2pdf produces /undefined in Blue when setting gridlabelcolor to dvipsnames' Blue

latex-dvips-ps2pdf compilation sequence produces a weird result when I change the grid style. The problem does not happen when I compile the same code with xelatex. ...
2
votes
1answer
43 views

Why do we need to buffer the pst-eucl nodes before passing them to \rput?

Behavior of nodes defined pst-eucl seems to be different from those defined in pst-plot. In the section titled Direct node, I attempted to create a square with pq as it base inclined at a slope of ...
2
votes
1answer
43 views

Something like \hfill with pstricks and XeTeX

I have a line of text in a pspicture environment and I need to distribute the words in a way like \hfill could do. Here is an image of what I want: I currently have this minimal example ...
2
votes
1answer
43 views

Radial gradient using pstricks

I created the following image with pstricks: The fading fillings are generated by: \psline[linewidth=10cm,linecolor=Black,linestyle=fade,fadepoints=500,fadeto=transparency](5,6)(5,1) ...
4
votes
1answer
93 views

pstricks rput does not place stuff precisely

Description I want to use pstricks to place some stuff in a large (almost A0) pspicture. Any stuff I place in the picture with the \rput command, is not placed precisely. Why? The farther away from ...
5
votes
2answers
264 views

Convert pstricks animation to SVG(+SMIL)

Inspired by these questions— How to convert pstricks animation to GIF file? PSTricks to SVG —how can one convert a PSTricks animation to an animated SVG image? SVG animation would be nicer than ...
4
votes
1answer
212 views

Make lines disappear, pst-solides3D

I'm drawing the following cylinder which represents a water flowing and cooling down \documentclass[a4paper,10pt]{article} \usepackage{pstricks} \usepackage{auto-pst-pdf} \usepackage{pst-solides3d} ...