Message Boards Message Boards

0
|
1516 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Manually plot vector with ListVectorPlot

Posted 1 year ago
POSTED BY: Phuong Nguyen
3 Replies
POSTED BY: Gianluca Gorni
Posted 1 year ago

Thanks for the suggestion Gianluca,

I guess that then there is no way to use the ListVectorPlot, because with the Graphic function, it will be quite annoying to format the graph, e.g. color, style of each vector (at least with my Mathematica knowledge).

POSTED BY: Phuong Nguyen

With some Mathematica knowledge you can do whatever:

Graphics[
 Map[{Thickness[RandomReal[{.001, .05}]], 
    Arrowheads[(#[[1, 1]] + #[[2, 2]])/10], RandomColor[], 
    Arrow[{#[[1]], #[[1]] + #[[2]]}]} &, {{{0, 1}, {1, 1}}, {{2, 
     3}, {1, 2}}, {{0, 2}, {1, 1}}}], Frame -> True]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract