In Mathematica 10 on two different Windows machines, VectorPlot[{1, 1}, {x, -1, 1}, {y, -1, 1}, VectorStyle -> "Segment"]
works just fine, but VectorPlot[{1, 1}, {x, -1, 1}, {y, -1, 1}, VectorStyle -> Directive["Segment"]]
or anything more complicated seems to ignore the named setting for VectorStyle
.
Thinking it was an issue with named settings only, I tried VectorPlot[{1, 1}, {x, -1, 1}, {y, -1, 1}, VectorStyle -> Directive[Arrowheads[0]]
which doesn't work even though it works without the Directive
. For the record, Directive
works just fine in other contexts, like VectorPlot[{1, 1}, {x, -1, 1}, {y, -1, 1}, VectorStyle -> Arrowheads[0], FrameStyle -> Directive[16]]
- Is this a bug?
- How can I get around this to get black segments in my
VectorPlot
?
VectorStyle -> Directive[Arrowheads[0]]
doesn't work. On Mathematica 10.0.2 for Mac here. $\endgroup$ – Taiki Apr 27 '15 at 21:09