Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8044
| From | Peter Rodenbach <peter.rodenbach@googlemail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | VectorColorFunction |
| Date | 2012-01-20 07:00 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jfb3dr$hu0$1@smc.vnet.net> (permalink) |
Hi experts,
I want to plot via ListVectorPlot a Field of Vectors. I obtained the
vectors from a physics experiment. The Norm of all vectors is very
similar, and what is important is its direction!
Therefore, what I want to do now is: give each vector a color with a
different direction a different color, e.g., up to 0.5degree red, 0.5
to 1 degree yellow, etc.
The Problem: The norm of each vector is used as argument for the
function that determines the color, according to the help
"With the setting VectorColorFunction->func, the arguments supplied to
func are as follows" ,...., x,y,Subscript[v, x],Subscript[v,
y],Norm[{Subscript[v, x],Subscript[v, y]}]"
Does anyone have an idea for a workaround?
Thanks
Peter
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
VectorColorFunction Peter Rodenbach <peter.rodenbach@googlemail.com> - 2012-01-20 07:00 +0000 Re: VectorColorFunction Dan <dflatin@rcn.com> - 2012-01-21 10:16 +0000 Re: VectorColorFunction Dan <dflatin@rcn.com> - 2012-01-21 10:16 +0000
csiph-web