MathGroup Archive 2003

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

Search the Archive

loading packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41990] loading packages
  • From: "seferiad" <seferiad at pacbell.net>
  • Date: Mon, 16 Jun 2003 03:56:45 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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: Re: "Sloppy Union"? (Union of a list with *nearly* equ
  • Next by Date: Re: Export Data Format
  • Previous by thread: Re: weird problem with PlotLabel on a Sony Vaio
  • Next by thread: Re: loading packages