[pstricks] Grad or slpe in double line or think line

Arne Hallam ahallam at iastate.edu
Thu Feb 16 14:58:44 CET 2012


Is there a way to create a filled arrow where the fill is a gradient. 
What I would like is the arrow to show progression from the left to the 
right.

In the following I would like the arrows to show a gradient.


\documentclass{article}
\usepackage{pstricks,pst-node}

\usepackage[lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in]{geometry}

\begin{document}

\begin{psmatrix}[mcol=l,mnode=r, colsep=1.1cm,rowsep=10pt]
&  Poor & Fair & Good & \\
Self-centered &~& &&        Mindful of other people \\
Lazy &~& &&   Diligent \\
Not thankful &~ & &&      Full of thanks \\
Mind not focused &~ & && Mind focused \\
General, not specific &~& &&        Specific, not general \\
\end{psmatrix}

\psset{doubleline=true,doublesep=4pt,arrows=<->,doublecolor=brown!25}
\ncline[nodesepA=-.45,nodesepB=.8]{2,2}{2,5}
\ncline[nodesepA=-.45,nodesepB=.8]{3,2}{3,5}
\ncline[nodesepA=-.45,nodesepB=.8]{4,2}{4,5}
\ncline[nodesepA=-.45,nodesepB=.8]{5,2}{5,5}
\ncline[nodesepA=-.45,nodesepB=.8]{6,2}{6,5}
\end{document}


-- 
with all thy getting get understanding---Proverbs 4:7.

The gentle art of being gentle---of kindness and forgiveness, sensitivity and thoughtfulness and generosity and humility and good old-fashioned love---have gone out of fashion.  Ironically, everyone is demanding their rights, and this demand is so shrill that it destroys one of the most basic rights, if we can put it like that: the right, or at least the longing and hope, to have a peaceful, stable, secure, and caring place to live, to be, to learn, and to flourish---N.T. Wright.

In the wildness of speculation it has been suggested (of course more in jest than in earnest),that Europe ought to grow its corn in America, and devote itself solely to manufactures and commerce, as the best sort of division of the labour of the globe---Thomas Malthus, An Essay on the Principle of Population Book III, Chapter XII.

Arne Hallam
College of Liberal Arts and Sciences
237 Catt Hall
Iowa State University
Ames, IA 50011

ahallam at iastate.edu
Work:	515-294-5861
FAX: 	515-294-1303
Home:	515-292-8739



More information about the PSTricks mailing list