Search found 2 matches

by sourlife
Tue Jul 16, 2013 12:40 pm
Forum: Graphics, Figures & Tables
Topic: Place a point on a line between two nodes
Replies: 0
Views: 1143

Place a point on a line between two nodes

I have two points, let's say \rput(1,1){\circlenode{A}{A}} \rput(4,8){\circlenode{B}{B}} \ncline{A}{B} and I want to place a dot, i.e. with \psdot, on the line between A and B at distance 1 unit from A. So far I could only manage to get the midpoint of segment AB with \pmode, but how to get to an ex...
by sourlife
Mon Jul 15, 2013 2:10 pm
Forum: Graphics, Figures & Tables
Topic: Tree Traversal Diagram
Replies: 1
Views: 2470

Tree Traversal Diagram

Dear community, I'm having trouble drawing an Euler traversal of a tree. You can see an example of an Euler traversal on the picture on the corrsponding wiki page . As an example, I have the following simple tree: \pstree{\Tc[name=n1]{3pt}\nput{90}{\pssucc}{$1$}}{% \Tc{name=n2]{3pt}\nput{270}{\pssuc...

Go to advanced search