MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Troubleshooting Mathematic's Help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72486] Re: [mg72473] Troubleshooting Mathematic's Help
  • From: "Adriano Pascoletti" <pascolet at dimi.uniud.it>
  • Date: Mon, 1 Jan 2007 03:59:03 -0500 (EST)

Steven Shippee wrote ..
> In an old, old book by Bill Davis, Horacio Porta, & Jerry Uhl I saw an
> example of how to draw a vector, e.g.,
> 
> << Graphics`Arrow`
> 
> X = {3, 4};
> Show[Arrow[X, Tail -> {0, 0}, Blue],
> Axes -> True,
> PlotRange -> All,
> AxesLabel -> {"x", "y"},
> AxesOrigin -> {0, 0}];
> 
> Not being that familiar with Mathematica, where would be the best place
> to 
> start to debug this?  

see http://documents.wolfram.com/v5/Add-onsLinks/StandardPackages/Graphics/Arrow.html

>Error message indicates it could be a problem with
> Tail and/or with Arrow, looking at master index Arrow looks OK, unless
> it 
> needs to be embedded within the Graphics command?  Thanks in advance,
> 
> Steven Shippee

Try this

X = {3, 4}; 
Show[Graphics[{Blue, Arrow[{0, 0}, X]}], 
   Axes -> True, 
   PlotRange -> All, AxesLabel -> {"x", "y"}, 
   AxesOrigin -> {0, 0}]; 


Adriano Pascoletti


  • Prev by Date: Re: programming problem about elements taken
  • Next by Date: Re: Troubleshooting Mathematic's Help
  • Previous by thread: Re: programming problem about elements taken
  • Next by thread: Re: Troubleshooting Mathematic's Help