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)

41
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 ...
36
votes
5answers
3k 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 ...
8
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
320 views

Computing Many Slow I/O Operations

In working on a custom stock screener, I often need to run mathematica code like this: ...
25
votes
4answers
516 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
4answers
475 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 ...
16
votes
2answers
499 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 ...
12
votes
5answers
3k 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
215 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 ...
11
votes
2answers
689 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 ...
12
votes
2answers
342 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
268 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 ...
10
votes
1answer
300 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 ...
30
votes
3answers
605 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
854 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
293 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
458 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 ...
8
votes
3answers
348 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 ...
22
votes
1answer
268 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: ...
15
votes
2answers
716 views

Highlighting individual countries on a world map

Consider the following list of countries which I would like to highlight on a world map: ...
9
votes
1answer
171 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 ...
9
votes
1answer
225 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 ...
7
votes
2answers
259 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 ...
6
votes
1answer
191 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
195 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: ...
-3
votes
2answers
529 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 ...
10
votes
1answer
328 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
333 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
376 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
76 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
1answer
314 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
100 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
30 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 ...