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


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

Re: VectorPlot3D

Started bySergio Miguel Terrazas Porras <sterraza@uacj.mx>
First post2012-08-12 06:12 +0000
Last post2012-08-12 06:12 +0000
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: VectorPlot3D Sergio Miguel Terrazas Porras <sterraza@uacj.mx> - 2012-08-12 06:12 +0000

#11318 — Re: VectorPlot3D

FromSergio Miguel Terrazas Porras <sterraza@uacj.mx>
Date2012-08-12 06:12 +0000
SubjectRe: VectorPlot3D
Message-ID<k07hgi$cto$1@smc.vnet.net>
Thank you Bob Hanlon, David Park and Tomas Garza.
Indeed that is what I was looking for.
Sergio Terrazas


________________________________________
Desde: Bob Hanlon [hanlonr357@gmail.com]
Enviado el: s=E1bado, 11 de agosto de 2012 02:32 a.m.
Hasta: mathgroup@smc.vnet.net
Asunto: Re: VectorPlot3D

Use the option VectorScale

Needs["VectorAnalysis`"]

Clear[f]
f[x_, y_, z_: 0] = {y, -x, z};

rotF[x_, y_, z_] =
  Curl[f[x, y], Cartesian[x, y, z]];

Partition[
  VectorPlot3D[rotF[x, y, z],
     {x, -1, 1}, {y, -1, 1}, {z, -3, 0},
     VectorStyle -> "Arrow3D",
     VectorScale -> #,
     ImageSize -> 300,
     PlotLabel -> #] & /@
   {Tiny, Small, Medium, Large,
    .07, {.04, .45, None}},
  2] // Grid


Bob Hanlon


On Fri, Aug 10, 2012 at 2:42 AM, Sergio Miguel Terrazas Porras
<sterraza@uacj.mx> wrote:
> Hi Guys!
>
>
>
> Plotting certain 3 Dimensional vector fields produces a not so pretty 3D =
graphics.
>
>
>
> I looked at the options for VectorPlot3D and did not see any way to contr=
ol the size of the arrowheads.
>
>
>
> They are just too big for certain fields.
>
>
>
> Here is a sample of simple code.
>
>
>
> <<"VectorAnalysis`"
>
> Clear[f]
>
> f[x_,y_,z_]={y,-x,0};
>
> rotF[x_,y_,z_]=Curl[f[x,y,z],Cartesian[x,y,z]];
>
> VectorPlot3D[rotF[x,y,z],{x,-1,1},{y,-1,1},{z,-3,0},VectorStyle->"Arrow3D=
"]
>
>
>
> Any suggestions as to how to make the vector field look more appealing?
>
>
>
> Thanks,
>
>
>
> Sergio Terrazas
>=

[toc] | [standalone]


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


csiph-web