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


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

Re: Why no Import command?

From David Bailey <dave@removedbailey.co.uk>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Why no Import command?
Date 2012-08-02 08:49 +0000
Message-ID <jvdeuo$c1i$1@smc.vnet.net> (permalink)
References <jvaqu5$71m$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On 01/08/2012 09:55, Nicholas Kormanik wrote:
> Please see page:
>
> 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?
>
> Also, how does Mathematica know which variables to use in the plot?

If you extract the inside of this expression, and execute it:

ExampleData[{"Statistics", "OldFaithful"}]

You will see that it returns an array of pairs of data corresponding to 
the requested data. The ExampleData function simply extracts data from a 
database accessible to Mathematica.

In general, if you don't understand how an expression works, take it to 
bits and see what the bits do!

David Bailey
http://www.dbaileyconsultancy.co.uk

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


Thread

Why no Import command? "Nicholas Kormanik" <nkormanik@gmail.com> - 2012-08-01 08:55 +0000
  Re: Why no Import command? David Bailey <dave@removedbailey.co.uk> - 2012-08-02 08:49 +0000

csiph-web