Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2012

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

Search the Archive

Re: Why no Import command?

  • To: mathgroup at
  • Subject: [mg127521] Re: Why no Import command?
  • From: David Bailey <dave at>
  • Date: Thu, 2 Aug 2012 04:47:21 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <jvaqu5$71m$>

On 01/08/2012 09:55, Nicholas Kormanik wrote:
> Please see page:
> 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

  • Prev by Date: Re: Data Format
  • Next by Date: Re: Plot axis length and size ratio (TwoPlot revive)
  • Previous by thread: Re: Why no Import command?
  • Next by thread: Re: Why no Import command?