MathGroup Archive 2003

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

Search the Archive

Re: loading packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42024] Re: loading packages
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 17 Jun 2003 05:42:44 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bcju24$hp3$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

http://support.wolfram.com/mathematica/packages/loading/functionsnotworking.html

Regards
  Jens

seferiad wrote:
> 
> If I need to load a specific package, such as, << Graphics`Graphics3D`, I
> find that this only loads/works properly if this statement preceeds the
> statement for which it is needed. For example, consider the following three
> inputs in sequential order.
> 
> 1: << Graphics`Graphics3D`
> 
> 2: lpts = Table[{t Cos[t], t Sin[t], t}, {t, 0, 4Pi, Pi/20}];
> 
> 3: ScatterPlot3D[lpts];
> 
> And the scatter plot is plotted correctly.
> 
> But now consider the following sequence:
> 
> 1: lpts = Table[{t Cos[t], t Sin[t], t}, {t, 0, 4Pi, Pi/20}];
> 
> 2: ScatterPlot3D[lpts];  Error message is returned because I forgot to load
> Graphics first....
> 
> ScatterPlot3D::"shdw": "Symbol \!\(\"ScatterPlot3D\"\) appears in multiple \
> contexts \!\({\"Graphics`Graphics3D`\", \"Global`\"}\); definitions in \
> context \!\(\"Graphics`Graphics3D`\"\) may shadow or be shadowed by other \
> definitions."
> 
> 3: << Graphics`Graphics3D`
> 
> 4: ScatterPlot3D[lpts];
> 
> But now it doesn't display the graph.  My solution is to quit the Kernal and
> start over, making sure that I first input the << Graphics`Graphics3D`.
> Does the Kernal have to be killed like this?
> 
> Thanks, Jay


  • Prev by Date: Re: Best way to determine # of entries in a list?
  • Next by Date: Re: About Abel Type Differential Equation
  • Previous by thread: Re: loading packages
  • Next by thread: RE: loading packages