Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1915 > unrolled thread

Re: Drawing a vector list

Started byHeike Gramberg <heike.gramberg@gmail.com>
First post2011-04-27 11:24 +0000
Last post2011-05-02 10:52 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Drawing a vector list Heike Gramberg <heike.gramberg@gmail.com> - 2011-04-27 11:24 +0000
    Re: Drawing a vector list Hauke Reddmann <fc3a501@uni-hamburg.de> - 2011-05-02 10:52 +0000

#1915 — Re: Drawing a vector list

FromHeike Gramberg <heike.gramberg@gmail.com>
Date2011-04-27 11:24 +0000
SubjectRe: Drawing a vector list
Message-ID<ip8udv$r08$1@smc.vnet.net>
Arrow does take 3D vectors:

list = RandomInteger[20, {10, 2, 3}]

Graphics3D[Map[Arrow, list]]

Heike.


On 27 Apr 2011, at 10:39, Hauke Reddmann wrote:

> A n00b question - I have a 3D vector list L={{A1,A2},{B1,B2},{C1,C2}...
> where for example A1={1,2,3},A2={4,5,6} and so on. I want to draw
> the vectors A1->A2 etc. LINE has no arrowhead option, ARROW only eats 2D vectors
> and VECTORPLOT3D has yet another unfitting syntax. I could do a hackjob and
> first draw LINE[L] and then make a loop adding little arrowheads at all #2
> (and I would have to compute their directions too!),
> but what is the most elegant way to program this without any DO loops?
>
> --
> Hauke Reddmann <:-EX8    fc3a501@uni-hamburg.de
> Leierklang und ein flammendes Inferno gr=FC=DFen dich
> auf das Allerz=E4rtlichste
>

[toc] | [next] | [standalone]


#2031

FromHauke Reddmann <fc3a501@uni-hamburg.de>
Date2011-05-02 10:52 +0000
Message-ID<ipm2dl$57b$1@smc.vnet.net>
In reply to#1915
Heike Gramberg <heike.gramberg@gmail.com> wrote:
> Arrow does take 3D vectors:

> list = RandomInteger[20, {10, 2, 3}]

> Graphics3D[Map[Arrow, list]]

Bullseye! THX!
(Seems I misRTFM :-)
-- 
Hauke Reddmann <:-EX8    fc3a501@uni-hamburg.de
Leierklang und ein flammendes Inferno grüßen dich
auf das Allerzärtlichste

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web