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


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

Why no Import command?

Started by"Nicholas Kormanik" <nkormanik@gmail.com>
First post2012-08-01 08:55 +0000
Last post2012-08-02 08:49 +0000
Articles 2 — 2 participants

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


Contents

  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

#11142 — Why no Import command?

From"Nicholas Kormanik" <nkormanik@gmail.com>
Date2012-08-01 08:55 +0000
SubjectWhy no Import command?
Message-ID<jvaqu5$71m$1@smc.vnet.net>
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?

[toc] | [next] | [standalone]


#11163

FromDavid Bailey <dave@removedbailey.co.uk>
Date2012-08-02 08:49 +0000
Message-ID<jvdeuo$c1i$1@smc.vnet.net>
In reply to#11142
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

[toc] | [prev] | [standalone]


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


csiph-web