AddArrow
- To: mathgroup at smc.vnet.net
 - Subject: [mg38139] AddArrow
 - From: Gangadhara <ganga at iiap.ernet.in>
 - Date: Tue, 3 Dec 2002 04:35:10 -0500 (EST)
 - Sender: owner-wri-mathgroup at wolfram.com
 
Dear MathGroup
     I have a problem in using AddArrow given in FieldLines.m
I have the task of plotting dipole magnetic field lines in 3D
spherical coordinate system.
     Before I actually start with my work, I was trying learn
with the following simple code:
ex=-y[t];
ey=x[t];
x0=1.0;
y0=1.0;
t1=6;
lines = FieldLine[ {x[t], ex, x0}, {y[t], ey, y0}, {t, t1}];
c=Show[Graphics[lines, AspectRatio -> Automatic, Frame -> True]];
a=Show[AddArrow[lines, 0.5]];
In these command lines, c plots contour plot. But a gives the
following message:
Show::gcomb: An error was encountered in combining the graphics objects in
    Show[{Arrow[{0.570594, 1.29399}, <<3>>, HeadLength -> 4], <<4>>}].
If any knows the solution to this problem please let me know. I use
Mathematica 4.0 for Linux. Thanking you.
                                 best regards
                                 Gangadhara
-- 
___________________________________________________________________________
R. T. Gangadhara                  E-mail : ganga at iiap.ernet.in
Indian Institute of Astrophysics  Fax :91-80-5534043
Bangalore - 560034, India
http://www.iiap.ernet.in/personnel/ganga/ganga.html
Tel.:91-80-5530672 (Operator), 5539251 Ext 291 (Direct)
__________________________________________________________________________