Re: Dashed Arrows, undashed Arrowheads?
- To: mathgroup at smc.vnet.net
- Subject: [mg40715] Re: Dashed Arrows, undashed Arrowheads?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 14 Apr 2003 04:07:06 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <b78f1u$kvo$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, no, because the Graphics`Arrow` package introduce a new primitive Arrow[] and does not split up an Arrow[] into lines & polygons. You have to write you own Arrow[] function that does generate the lines or you can do a replacement like Needs["Graphics`Arrow`"] Show[Graphics[{ Dashing[{0.01}], Arrow[{0, 0}, {1, 1}] /. a_Arrow :> {Dashing[{}], a} } ]] Regards Jens AES/newspost wrote: > > When I draw arrows with dashed shafts using Dashing[] and > Graphics`Arrows, the arrowheads also come out dashed. Looks weird to > me, not what I want. > > After Exporting as EPS, Illustrator agrees that the arrowheads are > dashed, but lets me remove the dashing on the arrowhead without changing > the arrow shaft. > > Any way to remove the arrowhead dashing in Mathematica itself? > > (And by the way, having the syntax for Line[ ] be Line[{p1,p2}] but for > Arrow[ ] be Arrow[p1,p2] remains a "gotcha!".) > > -- > "Power tends to corrupt. Absolute power corrupts absolutely." > Lord Acton (1834-1902) > "Dependence on advertising tends to corrupt. Total dependence on > advertising corrupts totally." (today's equivalent)