Get a scaleable colorbar with ListVectorPlot in Mathematica?

I am plotting some vector plots with the ListVectorPlot function with VectorColorFunction being “Rainbow”. What I want is to scale the colorbar as per my requirements so that I can get varied colour for different values of vector magnitude. How to incorporate this into my code?. I am writing the part of my code with ListVectorPlot.

streamData = 
 Table [ { datax[[i, n - j + 1]], datay[[i, n - j + 1]]}, {i, 1, m}, {j, 1, n}];

 ListVectorPlot [ streamData, StreamPoints -> 250, 
 Frame -> False, VectorPoints -> All, Axes -> True, VectorColorFunction -> "Rainbow"]

Thanks in advance.

Crossposted here.

But what is the answer?

Hi,
I think it is better if you “create” some data first, like below:

datax = Table[{i, 60 - j + 1}, {i, 10}, {j, 15}];
datay = Table[{i, 60 - j + 1}, {i, 10}, {j, 15}];
streamData = {datax, datay};

ListVectorPlot[streamData, StreamPoints -> 250, Frame -> False, 
 VectorPoints -> All, Axes -> True, VectorColorFunction -> "Rainbow"]

Best regards
Christos

I have already input my data into datax and datay… I have not posted those lines here.

Manipulate[
ListVectorPlot[data, StreamPoints → 250, Frame → False,
VectorPoints → All, Axes → True,
VectorColorFunctionScaling → False,
VectorColorFunction → (ColorData[“Rainbow”,
Rescale[#5, {min, max}]] &)
],
{{min, 2.5}, 0, 2.5},
{{max, 5}, 2.5, 5}
]