Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Is there a bug with VectorPlot?' topicStudent Support Forum > General > "Is there a bug with VectorPlot?"

Next Comment >Help | Reply To Topic
Author Comment/Response
M Ryan
03/26/10 4:04pm

I seem to be getting an incorrect plot when I enter:

VectorPlot[{x*If[x < 6, 1, 0], y*If[y < 6, 1, 0]}, {x, 0, 10}, {y, 0,
10}, VectorStyle -> Arrowheads[0.02]]


It works fine when I use the same code, only with StreamPlot instead of VectorPlot:


StreamPlot[{x*If[x < 6, 1, 0], y*If[y < 6, 1, 0]}, {x, 0, 10}, {y, 0,
10}, VectorStyle -> Arrowheads[0.02]]


What's going on?

URL: ,

Subject (listing for 'Is there a bug with VectorPlot?')
Author Date Posted
Is there a bug with VectorPlot? M Ryan 03/26/10 4:04pm
Re: Is there a bug with VectorPlot? subscious 04/14/10 10:50pm
Next Comment >Help | Reply To Topic