[pstricks] drawing ncbox* in background

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Sat Sep 27 08:24:14 CEST 2003


Christian Stork schrieb:
> 
> I'd like to highlight a path within a pstree.  Ideally I would like to
> use something like
> 
> ...
> %draw tree with nodes named n1, n2, n3,..
> ...
> \ncbox*[linecolor=red]{n1}{n2}
> \ncbox*[linecolor=red]{n2}{n3}
> ...
> 
> Problem is that ncbox* fills the area on top the tree.
> 
> Is there a way to change the backgroundcolor with ncbox?  

for example:

\ncbox[linecolor=blue,fillcolor=red,fillstyle=solid]{n1}{n2}

> (More generally, is there a way to draw in layers with pstricks?)

give a full working example, to see what you really want

Herbert



-- 
http://www.pstricks.de/




More information about the PSTricks mailing list