Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.3K Views
|
5 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Get a scaleable colorbar with ListVectorPlot in Mathematica?

Posted 6 years ago
POSTED BY: S Banerjee
5 Replies
POSTED BY: Martijn Froeling
Posted 6 years ago

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

POSTED BY: S Banerjee
Posted 6 years ago

Crossposted here.

POSTED BY: Rohit Namjoshi
Posted 6 years ago
POSTED BY: S Banerjee

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

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard