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

-1
votes
0answers
68 views

Latex Code to draw arrow diagram [closed]

Could someone help me solve the problem of using latex code to draw a flow chart with arrows. I coded the following; \documentclass[12pt,a4paper]{article} \usepackage[usenames,dvipsnames]{pstricks} ...
0
votes
0answers
27 views

Using mdframed package with pstricks option in pdflatex possible?

I want to use the mdframed package with the pstricks option (for dashed lines etc) with pdflatex. But doing so threw an Undefined control sequence ... \c@lor@to@ps error. The internet tells me, ...
0
votes
0answers
53 views

Standard timeline with different circle colors

I just saw this amazing post and I was wondering if there was a slight addendum which could be used to make some of the circles in a different color. I also wanted to be able to modify the length of ...
2
votes
2answers
39 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
0answers
32 views

Drawing a two lens system using pst-optic

I am trying to draw a two lens system using pst-optic. Here is an example of the code I use : \begin{pspicture}[showgrid=true](-5,-3)(7,4) ...
0
votes
1answer
68 views

Drawing stacking of layers or plates

I would like to get the following image. Is it possible to draw using tikz or pstricks in latex? Please note the text labelling as well. I got a link in a similar spirit, but could not utilize it ...
7
votes
6answers
921 views

How to draw a triangle is insribed in a circle so that the vertices divide the circle into three arcs of lengths 3, 4 and 5?

I want to draw a triangle circle is insribed in a circle so that the vertices divide the circle into three arcs of lengths 3, 4 and 5. I tried with Geogebra. \documentclass[12pt]{standalone} ...
1
vote
1answer
74 views

Text on rectangular spiral with automatic sizing to fill page

I'm wondering how this could be done in TeX: This is along the lines of Text spirals with TikZ but in a rectangle, with all text the same size, and all text should be at right angles (unlike the ...
9
votes
2answers
168 views

Light object / source in PGF / TikZ / PGFplots pictures like in PSTricks

I came across the PSTricks animation located at http://melusine.eu.org/syracuse/pstricks/pst-solides3d/animations/a43/ http://i.stack.imgur.com/NlqHZ.gif and noticed that it uses a light object / ...
2
votes
2answers
87 views

Label a triangle

How would I produce a triangle (with each side a different length) with labeled edges and angles? I'be managed to produce a triangle using pstricks, the code it \begin{pspicture}(0,-1.34)(6.8,1.34) ...
0
votes
1answer
68 views

How to draw a line chart like this?

From this site, I have learned how to draw fancy pie charts and bar charts. However, I cannot find a simple way to draw a line chart like the google's. Below is the screenshot: Is there a way to ...
0
votes
0answers
27 views

Beamer auto-pst-pdf — multiple images

I tried to include some pictures in a LaTeX Beamer presentation. I used auto-pst-pdf to produce a pdf output. Strangely, just the first picture shows up in the resulting document. Here's a minimal ...
1
vote
1answer
54 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
0answers
29 views

Problem with opacity in pgfplots when using pstricks package

Can anyone tell me why doesn't opacity work in pgfplots when I include the package "pstricks" and how could I fix it? See for example the code below: \documentclass{standalone} ...
2
votes
1answer
35 views

How should I draw a biased axes numbers in pstricks

Here is the question. Pstricks normally draws an axes with given Dy/Dx and dy/dx and the generated plot has the same length sections all over divided by equally distant ticks. What if we wanted to ...
1
vote
2answers
26 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 ...
2
votes
2answers
66 views

How to building the flowchart report shape?

I am building un flowchart in psmatrix and need to generate the flowchart report(document) shape and I don't know as do it. The symbol is like in the picture below. Can somebody help me, please? ...
2
votes
2answers
67 views

Psvectorian ornaments errors

I have major errors in psvectorian.tex from CTAN package. I have installed C:\Program Files\MiKTeX 2.9\dvips\pst-vectorian\psvectorian.pro and C:\Program Files\MiKTeX ...
1
vote
1answer
29 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 ...
2
votes
1answer
73 views

Can anyone help in drawing this kind of graph?

Can anyone help in drawing the graph of the kind shown in figure with edge intersections? I struggled with pstricks and started to learn tikz but not able to do it. Kindly help as am not getting how ...
0
votes
1answer
41 views

Text alignment in clipped parbox

I have the following problem: I need to put variable length content into a fix-sized parbox the gets clipped with clipbox command. And want the content to be vertically centered. As long as the ...
1
vote
0answers
66 views

how to draw multiple graphs next to each other with labels

How to draw multiple graphs next to each other in a document? Also, how to name each graph with a label? One more thing is I need to show an dashed edge to intersect the graph edge, in that case how ...
1
vote
1answer
38 views

How to building on pstricks the flowchart shape?

I need to building several flowcharts with pstricks and I have problems to get the symbol as the below. Can somebody help me? \newcommand\psBucler[3]{% \pspolygon(-1,0.1)(1.2,0.1)(1.2,1)(-1,1) % ...
1
vote
1answer
34 views

Generate new or change a line color with Postscript notation

I'd like to use \psset{linecolor = blue!\mapDFVtoColor} whereas \mapDFVtoColor is defined as something like \def\mapDFVtoColor{20 40 add 3.5 div} Here's a bit longer but condensed example ...
1
vote
0answers
53 views

Random lines in a plot [closed]

Hi everyone, I have never used pstricks or tikz and it seems to be the best option to draw the kind of plots that I need. I have been researching and I have not found how to draw this random line ...
6
votes
1answer
71 views

Spirograph curves without gears, pen point

I am using the pst-spirograph package. An image produced by this package will show the spirograph curve, but will also show the gears and the pen point. I would like to obtain just the curve. Consider ...
11
votes
5answers
2k views

How one can draw 405 degree angle in learning material?

I would like to know how one can draw teaching material of trigonometry in LaTeX? Namely, I was looking how to draw 405 degree angle i.e. unit circle, a line segment to the circumference and a spiral ...
0
votes
1answer
31 views

make multiple transformations on a pstricks object

for a mathematics project, I want to show transformations using pstricks. In the meantime, rotating around an arbitrary point is working fine (thanks to you guys), and also mirroring of an image on a ...
3
votes
1answer
44 views

rotate a polygon around point

I have the following code: \documentclass[a4paper]{article} \usepackage{pstricks} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-6,-10)(10,10) ...
0
votes
0answers
47 views

Arrow inside circle - pstricks

I'm trying to draw an arrow inside the circle, otherwise it's confusing with the others... But I don't succeed ! Has someone an idea ? I created the "pt" to write quicklier... It's : ...
4
votes
2answers
52 views

Fill colour for ring (pstricks)

I have a drawing for a cylinder and have filled in the ring section with light gray. However, because my background is light orange, the image turns out to be a bit weird. Here is the image: Here ...
15
votes
6answers
496 views

Draw a smooth surface

I would like to draw a smooth surface like http://mathematica.stackexchange.com/questions/20912/how-to-draw-a-higher-genus-surface but using Asymptote, TikZ, Metapost, PStricks, or other TeX friendly ...
5
votes
1answer
31 views

Problem with \psframe

I want to create a book cover and for a start I want to add color to my page. The problem is that when I add the given geometry page and write down the \psframe, the result I get is a page with ...
1
vote
1answer
53 views

How to use pstricks with expex to draw arrows in examples?

I'm using the expex package to write examples (in linguistics articles). This package, according to the documentation, allows one to draw arrows (to represent movement in syntax). There is a section ...
3
votes
1answer
44 views

Specifying coordinates with \def in PSTricks

I'm starting with PSTricks. I use the following macro to set cartesian coordinates: \def\newPoint#1(#2,#3) { \expandafter\def\csname x#1\endcsname{#2} \expandafter\def\csname ...
4
votes
3answers
94 views

About \psplot and domain of functions

I would like to know if i really have to calculate the domain of functions like sqrt(x-7) and log(x-7)/log(2) and tell to \psplot to work only inside that interval, e.g., for the interval [6,16] and ...
1
vote
2answers
133 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 ...
2
votes
0answers
31 views

PStricks code inside caption. LaTeX. What's wrong? [duplicate]

I'm trying to put \psaxes command inside a caption. I have tried \verb, \lstinline and alltt package and nothing works. Whats wrong? \documentclass[ 12pt, a4paper, ...
5
votes
1answer
80 views

Analogue in TikZ for the command \psshadowbox of PSTricks

In PSTricks, the following code: \documentclass{article} \usepackage[usenames]{pstcol} \usepackage{pst-plot} \usepackage{pst-grad} \begin{document} \noindent ...
4
votes
1answer
68 views

Is it possible to color only one side of a cube in PSTricks?

I have this cube, implemented as follows: \documentclass[class=minimal,border=0pt]{standalone} \usepackage{pst-plot} \usepackage{pstricks-add} \usepackage{amsmath} \usepackage{pst-ob3d} ...
3
votes
1answer
71 views

pstricks not working with thesis template

I've been trying to get the pst-optexp package working with the thesis template I have, and it's been a nightmare. I'm using MikTeX with pdflatex compilation, as as previously mentioned in How to use ...
2
votes
1answer
67 views

Area between graphs of two functions

This is a follow-up question to Area between curves. After one day, i found out how to do it in LaTeX (Miktex): \documentclass[10pt]{article} \usepackage{pstricks-add} \begin{document} ...
3
votes
1answer
164 views

PSTricks in TeX Live 2014

Using XeLaTeX then dvips leaves blank spaces where the PSTricks drawings are supposed to be. How do I repair this? I should add that I am using a Windows 7 PC. Also, I am a very naive user, but stuff ...
4
votes
3answers
125 views

Elliptic arrow line in PSTricks

How can I draw an elliptic line with arrow around a line in PSTricks? Example is visible in this picture around the 'Geographic North Pole': The question is quite similar to How to draw a not ...
5
votes
2answers
83 views

CV skeleton with pst-asr package?

\documentclass{article} \usepackage{pstricks,pst-xkey,pst-asr,graphicx}\psset{everyasr=\tiershortcuts} \usepackage{tipa} \begin{document} \asr \3p{\textepsilon}{\textltailm} \endasr \end{document} ...
1
vote
0answers
39 views

How to use pst-asr package on a Mac

\documentclass{article} \usepackage{pstricks,pst-xkey,pst-asr,graphicx}\psset{everyasr=\tiershortcuts} \begin{document} \asr bɪt \endasr \end{document} Hi, I am trying to use "pst-asr" package. I ...
2
votes
0answers
22 views

Why pspicture shows error? [duplicate]

Let us consider the following example : \documentclass[12pt,twoside,a4paper]{book} \usepackage[usenames,dvipsnames]{pstricks} \usepackage{epsfig} \usepackage{pst-grad} % For gradients ...
-1
votes
1answer
94 views

How I can draw with pstricks this image?

I'm using pst-solides3d for draw several images. However I have the same picture in a eps file, I would prefer to use a pstrick code.
3
votes
1answer
68 views

Countries are not visible with pst-map3d

Currently I am trying to use pst-map3d package. The code below plots the earth ball but doesn't draw the countries / country lines. I tried the code now on a Windows, Linux and Mac machine and every ...
2
votes
1answer
52 views

can't draw a line far enough to the right in a pspicture in landscape

I want to use pspicture in a landscape document, but I can't draw a line to the right hand side of the document with \psframe, while \rput works as expected. I've tried to create an MWE to demonstrate ...