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


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

Re: Why no Import command?

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Why no Import command?
Date 2012-08-02 08:50 +0000
Message-ID <jvdf1j$c2h$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web