0
$\begingroup$

I tried

(*1.3 #13*)
VectorPlot[{1, 1 - 2*y}, {x, -2, 2}, {y, -2, 2}, 
  StreamPoints -> 100, StreamStyle -> Red, 
  VectorStyle -> Arrowheads[0], VectorScale -> None]

But I get

VectorPlot::vectsc: None is not a valid VectorScale specification.

Vector Image

The plot has unequal vector lengths. What can be done instead?

$\endgroup$
2
$\begingroup$

The syntax is a bit different:

VectorPlot[{1, 1 - 2*y}, {x, -2, 2}, {y, -2, 2}, StreamPoints -> 100, 
 StreamStyle -> Red, VectorStyle -> Arrowheads[0], 
 VectorScale -> {Automatic, Automatic, None}]

gives the desired result (see documentation of VecotrScale/examples)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.