Since version 7, Mathematica includes gigabytes of curated data relevant to many different fields, including physics, chemistry, graph theory, finance, geography and many more.

learn more… | top users | synonyms (1)

42
votes
4answers
4k views

How to make a 3D globe?

There are many ways to create a 3D Earth that is rotatable (see here, here, related here), but most of them have some drawbacks. These issues mainly stem from either ...
39
votes
5answers
4k views

How do I plot coordinates (latitude and longitude pairs) on a geographic map?

I'm attempting for the first time to create a map within Mathematica. In particular, I would like to take an output of points and plot them according to their lat/long values over a geographic map. I ...
9
votes
2answers
2k views

Problem with Financial Data

I'm following http://reference.wolfram.com/mathematica/ref/FinancialData.html I get the following: In[6]:= DateListLogPlot[FinancialData["^DJI", All]] During ...
7
votes
1answer
339 views

Computing Many Slow I/O Operations

In working on a custom stock screener, I often need to run mathematica code like this: ...
11
votes
4answers
539 views

Why do some CountryData flags render at low resolution?

This question is related to data analysis introduced here Why do some flag images from the CountryData dataset render at very low resolution both in Front End and ...
25
votes
4answers
565 views

Is it possible to invoke the OEIS from Mathematica?

I had always wondered if there might be a way to write a function, which I'll call OEISData[], that more or less works as a curated data function for The On-Line ...
10
votes
1answer
363 views

Can a LatticeData image be displayed in a space filled fashion

I'd like a FaceCenteredCubic image as in the in LatticeData docs, but space packed, and cropped on all the boundaries, so that it illustrates the geometry of the calculation that leads to the ...
12
votes
3answers
786 views

Background image in a polygon / CountryData

Is it possible to use a background image in a polygon without rasterizing the polygon? I tried with textures, but they seem to be viable only for simple polygons. I want to put a flag as the ...
16
votes
2answers
563 views

Built-in Mathematica data: are they cached? how to speed up the loading?

Mathematica has numerous built-in data for science and math. Every first call to a data function in a new Mathematica session will "re-initialize indices" (download the data). Is there a way to store ...
13
votes
5answers
4k views

Standard deck of 52 playing cards in curated data?

I am not sure how to find out what all is included as curated data. For example, are the individual images of each of the 52 cards in a standard deck of playing cards included? If not, is there a way ...
12
votes
1answer
220 views

Is there a way to get AbsoluteTime to correctly report absolute time differences?

Absolute time supposedly reports the "total number of seconds" between two dates, but it does not. For example because of the leap second applied at 2012-06-30T23:59:60Z ...
17
votes
3answers
829 views

Highlighting individual countries on a world map

Consider the following list of countries which I would like to highlight on a world map: ...
12
votes
2answers
347 views

How is AstronomicalData interpreting its date arguments?

It is easy to confirm that the AstronomicalData is not interpreting its arguments as UTC (or "GMT", which is, in any case, ambiguous) dates by verifying that the ...
8
votes
1answer
280 views

How to provide your own example data for a custom package?

A nice feature of the mathematica documentation is the copious use of ExampleData in illustrating functionality. I would like to provide some example data for a ...
30
votes
3answers
639 views

Is there a Mathematica API for the functions.wolfram site?

Is there a Mathematica API for the functions.wolfram site? If there's not, has anyone implemented a web scraper for it? For example it would be nice to be able to access ...
17
votes
1answer
918 views

The Orbit and Perigee of the Flamsteed comet

Historical context This year we have the 330-th anniversary of the Battle of Vienna - one of the great formative events of European history, it took place on September 12, 1683. Kara Mustafa, Grand ...
13
votes
1answer
319 views

Find elements in a decay chain using IsotopeData

I am trying to write a program using the Mathematica function IsotopeData, but am finding the code troublesome. Due to my (relative) familiarity with Python, I am ...
12
votes
4answers
472 views

Calculate proportion of values for dates

At work, we were discussing when is it the best time to change to winter tires for bikes and/or cars. Using WeatherData[] and ...
9
votes
3answers
362 views

Why is AstronomicalData so slow?

I'm having trouble getting some pretty simple functions using AstronomicalData to perform at anywhere near the speed I need them to. For example, I have many ...
1
vote
2answers
820 views

Optimization of a portfolio of stocks

I would like to use Mathematica to perform an optimization of a portfolio composed by 10 stocks. I did the first part to compute yields and expected yields, but I don't know how to finish the ...
22
votes
1answer
288 views

How to save ChemicalData queries so that they are available immediately on notebook load?

If I put some viscosity (or density, ...) lookups in my notebook, such as: ...
11
votes
1answer
261 views

Overloading second argument of CountryData

For convenience I'm trying to add an extra property to CountryData ...
10
votes
1answer
183 views

Why do DateList, DateString, and AstronomicalData ignore $TimeZone?

My reading of the documentation for DateList and DateString lead me to believe that both functions use ...
5
votes
1answer
207 views

How to view all graphs available in GraphData?

Is there a "gallery" view of all the graphs available in GraphData? I realize that some graphs may not lend themselves to such representation (e.g. some may have ...
9
votes
1answer
234 views

How do I determine astronomical transit times?

Mathematica, through the "legacy" Scientific Astronomer package, used to have the ability to easily determine accurate transit times of astronomical objects simply, with ...
8
votes
2answers
265 views

WordData for other languages

Mathematica already includes dictionaries for a lot of languages. What I am looking for is a handy semantic/grammatic database for Hungarian, just like WordData for ...
7
votes
1answer
270 views

Find a word's linguistic pronunciation

Is there a way to get a word's linguistic pronunciation given the word as a string? I would like a function LingusticPronunciation such that, for example, ...
6
votes
1answer
203 views

Under what conditions does FinancialData return a ::notent message?

I tried retrieving FinancialData for a few companies but when I tried doing it for NTDOY, I couldn't. As of 25/12/2012, querying ...
5
votes
3answers
222 views

Drawing CountryData groups

I'm sure I'm overlooking something obvious, but I can't draw groups of countries. Here are two countries and two country groups: ...
10
votes
1answer
343 views

How does Mathematica know my location?

On the AstronomicalData page in the online reference, it says for AstronomicalData["Sun", "NextRiseTime"] that it finds the ...
6
votes
2answers
358 views

Problem achiving effect I want with ColorFunction

I want to create a plot showing historical annual maximum and minimum temperatures. I've figured out how to get 10 years of historical temperature data from Wolfram|Alpha. The plot below shows the ...
6
votes
3answers
430 views

Getting all the countries' flags and then using them as chart labels?

What's the code to list all the world's flags? CountryData["G8", "Flag"] works to get those particular flags, but what about all the world's flags? ...
3
votes
1answer
80 views

CountryData et al. and associated InputStream

Quick update I found a way to solve this in webMathematica, using CollectStreams. But still, below problem leaves me puzzled, I would very much like to learn how ...
2
votes
2answers
577 views

Using ChemicalData to make molecule graphics

I would like to take the acetone $((CH_3)_2CO)$ and chloroform $(HCl_3)$ molecules that Mathematica's chemical data provides, and plot them together. I want to show how chloroform can hydrogen bond ...
2
votes
1answer
349 views

define the range of Longitude from 0-360 in the World plot from CountryData

How can I change the Longitude range to 0-360 in the such plots? ...
0
votes
1answer
118 views

Using DeleteCases with multiple AstronomicalData properties

I am attempting to use AstronomicalData and DeleteCases together to remove invalid cases of two properties while listing the ...
0
votes
0answers
34 views

How do I plot cities on a Map? [duplicate]

Right now, I have the 20 cities with the most population in the world, given by the lines of code ...