MathGroup Archive 2012

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

Search the Archive

Re: Why no Import command?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127524] Re: Why no Import command?
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Thu, 2 Aug 2012 04:48:21 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

On 8/1/12 at 4:54 AM, nkormanik at gmail.com (Nicholas Kormanik) wrote:

>http://reference.wolfram.com/mathematica/ref/SmoothDensityHistogram.
>html

>Under Applications.  OldFaithful.mtp  Example file comes with
>Mathematica.

>SmoothDensityHistogram[ExampleData[{"Statistics", "OldFaithful"}],
>FrameLabel -> {"Duration (minutes)", "Interval (minutes)"},
>PlotLabel -> "Old Faithful Eruptions"]

>Why is no "Import" command needed?

It has to be the way the function ExsmpleData has been created
by Wolfram. Most likely, ExampleData calls Import. Note, I do
not know this to be fact. But since people who are employed by
Wolfram have previously stated large portions of Mathematica are
written using Mathematica code, this would seem to be a
reasonable conclusion.

>Also, how does Mathematica know which variables to use in the plot?

I doubt Mathematica does know which variable to use. But the
person who created the example undoubtedly knew what was in the
file. And if he did not know what was in the file, he could have
used the command ExampleData to see what was in the file.

Look at the help page for ExampleData




  • Prev by Date: Re: Data Format
  • Next by Date: Re: mac new OS "mountain lion", compile function,
  • Previous by thread: Re: Why no Import command?
  • Next by thread: StreamPlot field lines