{pst-node} is a package of the bundle {pstricks}. The package provide macros for nodes and node connection.

learn more… | top users | synonyms

1
vote
2answers
88 views

XeLaTeX and pst-node

I have problems with XeLaTeX and pst-node: If I want to draw a line between two nodes, but there is nothing drawn in the pspicture. If I only put the nodes with some stuff withoud a line in, the nodes ...
2
votes
1answer
48 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
36 views

What is the increment step of \fnpnodes?

Case 0 uses \fnpnodes and case 1 uses \curvepnodes to create nodes based on the given function(s). \def\method#1{% \ifcase#1 \fnpnodes[plotpoints=8]{1}{8}{\f[x]}{P} \psxTick(/dx ...
2
votes
1answer
41 views

What´s the best/practical way to do trees with pstricks pictures in nodes?, with PSTricks, Pst-node

I have test that psmatrix is a good way to do diagrams, but ... to do diagrams where the nodes is not displayed as a "perfect matrix/table". What is the recommended way to do any similar to, with ps ...
5
votes
2answers
109 views

How to put a “coil” inside an ncline (between nodes)?, in PStricks

How to put a "coil" in an \ncline between nodes? similar to: I have viewed \pscoil and options as coilarm=0.5,.. but.... in \ncline or similars?, how? I have this code, for example ...
4
votes
1answer
66 views

How to group many nodes? in pstricks

I have this code, and would like to know how to group many nodes. How to do it? I prefer grouping nodes calling nodes by name but... if it´s not possible, I was thinking about coding any similar ...
3
votes
1answer
73 views

How to correct the nclines in this psmatrix flowchart?

I was tryin and trying , and I have no solution. I program many nclines but only appears 2 Why don´t show nclines from line 166? Only shows 2 lines. \documentclass[12pt,a4paper]{article} ...
10
votes
3answers
535 views

Draw arrow in picture

\documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}% \usepackage{lmodern} \usepackage[nomarginpar, textwidth = 16cm]{geometry} ...
2
votes
1answer
53 views

pst-node help formatting

I'm trying to center the fifth row and make the $\{...\}$ closer together, unfortunately I don't know much latex. \psset{nodesep=2pt} \newpsstyle{DblDash}{linestyle=dashed, dash=1pt 1.5pt, ...
1
vote
1answer
110 views

How do I put a label to left of a horizontal ncline in psmatrix?

The MWE example below does everything I want it to do, except the line \tlput{$\delta$} does nothing. I want the $\delta$ to the left of the dashed line. Here is the MWE: \documentclass{article} ...
5
votes
2answers
148 views

In psmatrix, dow do I connect a line to each of the parallel lines in doubleline?

I'm trying to create a diagram in the psmatrix environment which has a double line connecting to a node and then has two separate lines coming from the node, one line coming from each of the two ...
4
votes
1answer
87 views

How can I prevent my labels from getting reflected?

The left triangle is the image of the right triangle about the vertical line in between them as the mirror. I only want geometric objects and label position (but excluding their labels) to be ...
6
votes
2answers
161 views

What transformation do I have to apply to a node before passing it to \uput as a direction angle?

Consider the following code \documentclass[pstricks,12pt]{standalone} \usepackage{pst-node} \usepackage{pgfmath}% don't forget this line! \psset{saveNodeCoors} \degrees[13] \begin{document} ...
4
votes
2answers
288 views

How to adjust radius for \cnodeput and \circlenode?

I am trying to change the global default or customise individual size of the node plotted in the following code, however regardless what I do it seems I can only have two input for each node, either ...
9
votes
1answer
151 views

Why does \nodexn{(1,1)}{A} produce strange N-A.x and N-A.y?

\documentclass[preview,border=2cm]{standalone} \usepackage{pst-tools} \usepackage{pst-node} \psset{saveNodeCoors} \begin{document} \section*{With pnode} \begin{pspicture}(3,3) \pnode(1,1){A} ...
4
votes
2answers
80 views

\nodexn and savedNodeCoors not playing nicely with each other

This question arose from trying to answer a different question previously posted by @StiffJokes (aka user:19356) but now deleted. Each of the following MWE produces different results for the ...
3
votes
0answers
64 views

Why can't the abscissa and ordinate obtained from \psGetNodeCenter be reflected? [duplicate]

Consider the following simplified code. \documentclass[pstricks,border=2cm]{standalone} \usepackage{pst-eucl} \psset{saveNodeCoors} %\def\xy#1{!\psGetNodeCenter{#1} #1.x #1.y}% cannot be ...
14
votes
0answers
514 views

Are there any other methods left to create a spiral of equidistant segments?

I want to create a spiral that is composed of equidistant segments as shown in the following figure. I tried to draw it with various methods. The colors are used to distinguish each method from the ...
5
votes
1answer
81 views

Why does a curve connecting a node from a column to another node in another column disappear?

I want to show items, each with a curve pointing to a point on the right figure. But in the following code, the curves disappear. What is wrong? \documentclass{beamer} \usepackage{graphicx} ...
5
votes
2answers
160 views

Can we use \curvepnodes and \psnline to replace the concatenated points passed to \psrline?

Can we use \curvepnodes and \psnline to get the same result as what the following code produces? \documentclass[pstricks,border=12pt]{standalone} \usepackage{multido,pst-node} \begin{document} ...
6
votes
2answers
218 views

PSTricks: How to connect inside arrow heads on two different bezier curves?

I used \psbezier to draw a triangle with pushed-in edges: \begin{pspicture}(0,-1)(3,1) \psdot(0,0) \uput[180](0,0){$a$} \psdot(3,1) \uput[45](3,1){$c$} \psdot(3,-1) \uput[-45](3,-1){$b$} ...
4
votes
1answer
85 views

What makes the following expression produce a wrong rotated point?

I want to rotate point B 30 degrees counterclockwise about A to produce a new point C. However, I failed to get the correct C as illustrated below. The red circle helps us to notice the issue easily. ...
13
votes
2answers
400 views

Polygon drawn with an offset

I'm looking for a more automated way to draw an area around a number of PStricks nodes. The area should be offset by a specific amount so that it will completely contain the vertices inside ...
8
votes
1answer
210 views

Can TikZ emulate PSTricks' inline \Rnodes, scattered along a complex equation?

PSTricks' \Rnode makes it easy to add annotations to a complex equation typeset by (La)TeX: Simply add \Rnodes around existing elements of the equation, and the mathematical typesetting is ...
22
votes
1answer
536 views

Can TikZ dashed lines emulate PSTricks dashed lines?

Dashed lines differ between TikZ and PSTricks: PSTricks provides symmetry about the midpoint, and full dashes are guaranteed at each end. Can TikZ be configured to achieve this? (By default TikZ does ...
2
votes
1answer
92 views

Different outputs from two different syntax that should produce the same output

A node A will be constructed by using 2 syntax. \pnode(!2 3 0 p2c exch 3 add exch 2 add){A} \pnode[3,2](!2 3 0 p2c){A} Each constructs the node A by translating a point (!2 3 0 p2c) (which is on ...
3
votes
1answer
79 views

What is the difference between pscurvepoints and curvepnodes?

What is the difference between \pscurvepoints (in pstricks-add) and \curvepnodes (in pst-node)? \documentclass[pstricks]{standalone} \usepackage{pst-node} \usepackage{pst-plot} ...
1
vote
2answers
42 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} ...
3
votes
2answers
208 views

PSTricks-NODES. How can I put 'Ñ' inside a circleNODE?

I want to type Ñ inside a circlenode, but it don´t appear in the final result. At the example, in the 3rd line of code. Are there any solution? \begin{pspicture}(-2,-2)(12,6) %\malla ...
5
votes
1answer
141 views

Is it possible to make \pnode obey swapaxes? [duplicate]

Background: We can represent a point with (*<value> {<algebraic expression in x>}) syntax where the ordinate y is obtained by evaluating <algebraic expression in x for the given ...
5
votes
1answer
160 views

First node in \pnodes starting at non-zero index

I'm using the pst-node package. Is it possible to let the first node name from \pnodes[*] start at, say, P8 instead of P0? (In general, something other than P0.) [*] See page 39 of the manual. ...
5
votes
4answers
92 views

How to use getnodelist?

Taken from pst-node's documentation on page 39: This very short description about \getnodelist does not help me (maybe others as well) understand how to use it. Could you give me an example how to ...
13
votes
1answer
496 views

How to adjust the arrow head tip of a bezier curve?

I want to adjust the arrow head tip of a bezier curve on the left such that it looks like the one on the right. As there is no \ncbezier or \pcbezier available, I cannot use nodesep to adjust it. ...
4
votes
2answers
197 views

What makes nodes gradually move down?

Please carefully consider the following diagram. What makes the \psframebox nodes gradually move down? \documentclass[preview,border=15pt]{standalone} \usepackage{pst-node} ...
14
votes
1answer
508 views

How do we explain the behavior of \rput, \psGetNodeCenter and saveNodeCoors?

Introduction I am writing a tutorial on a short introduction to PSTricks for newbies. I got obstacles to explain how a node A (for example), \rput, (!\psGetNodeCenter{A} A.x A.y) and (!N-A.x N-A.y) ...
2
votes
1answer
91 views

What makes the radius too long in the following PS expression?

I want to translate \pstVerb{/Dist {N-A.x N-A.y N-B.x N-B.y Pyth2} def} from the following \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl} ...
3
votes
2answers
249 views

Maths expression in the coordinates of rput

I use \rput[B](1.5,4.1){\( 1 \)} to write a number at a specific place, now I would like to express an expression at the place of coordinates, for instance \rput[B](2+#1,4.1){\( 1 \)} where #1 is an ...
4
votes
1answer
900 views

Resize the text in \rput

I use \rput[B](4.0,0.5){text} inside pspicture to write a text at a specific position. The text is too long, and I need to shrink its size, make it smaller, could anyone help?
10
votes
1answer
319 views

How to mimic the behavior of \ncput* but without the unwanted opaque effect?

My objective is to have a label with transparent background but any connecting curve passing through the hypothetical box of the label must be hidden. Opaque Label \ncput* produces an opaque label ...
4
votes
1answer
127 views

How to get the nodes on which a line intersects the hypothetical frame box of \ncput?

I want to get the nodes on which the \*cline intersects the hypothetical edge of \ncput. The following animation shows my attempt to find the nodes by a trial & error approach. I need the nodes ...
4
votes
1answer
112 views

key values getting improperly passed through a property list getter function

I'm creating rather complicated diagram and would like to put all the controls all in one easy to find location and not scattered throughout the document. To do this, I've created setter and getter ...
9
votes
1answer
98 views

psmatrix with two ncboxes in it

Can somebody help me to generate two overlapping boxes in a psmatrix? What I need is an ncbox from {3,3} to {8,8} and one from {3,3} to {3,8}. I know it's possible to draw them in a separate figure, ...
10
votes
1answer
308 views

unattractive additive effect to opacity with pstricks

I'm using pstricks to highlight by boxing or circling replacement text in my math equations. But, I don't want this highlighting to occlude what's behind it. So, I've been setting opacity or ...
10
votes
4answers
1k views

Drawing the mapping of elements for sets in LaTeX

I am looking for a way to do something like
4
votes
1answer
135 views

Specify location from which a line starts in pstricks

I have a problem with the following code. The lines from h6 and h7 are supposed to start right below h6 and h7 and not at the left of h6 and h7. This worked with tree-dvips but pstricks seems to ...
1
vote
1answer
141 views

How to pass a node as the angle argument of \uput?

I am attempting to solve my own problem How to rotate the label such that its base line is parallel to the bisector? with the most elegant approach, i.e., passing a node as an angle argument of \uput. ...
6
votes
1answer
234 views

How to pass PostScript expression to nodesep and offset when using ([…]node) syntax?

Quoted from pst-news13.pdf on page 3: The labelsep is the first – optional – argument of \uput. It is now possible to use the PostScript notation for this length, eg {! 45 sin 3 mul}. Then the ...
3
votes
1answer
936 views

Nodes in a flowchart with psmatrix enviroment

I'm trying to make a flowchart such as below in psmatrix enviroment using the pstricks package. but the problem is that I don't know how to make the node between the {3-1}(num<=100) and {5-1}(num ...
2
votes
1answer
247 views

Is there a simpler way to obtain the reference points enclosed by \rput frame?

Is there a simpler way to obtain the reference nodes shown as dots below? \documentclass[dvips,dvipsnames,rgb]{article} \usepackage{pstricks,pst-node,graphicx} ...