Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11166 > unrolled thread

Re: Why no Import command?

Started byBill Rowe <readnews@sbcglobal.net>
First post2012-08-02 08:50 +0000
Last post2012-08-02 08:50 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Why no Import command? Bill Rowe <readnews@sbcglobal.net> - 2012-08-02 08:50 +0000

#11166 — Re: Why no Import command?

FromBill Rowe <readnews@sbcglobal.net>
Date2012-08-02 08:50 +0000
SubjectRe: Why no Import command?
Message-ID<jvdf1j$c2h$1@smc.vnet.net>
On 8/1/12 at 4:54 AM, nkormanik@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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web