Tag Info

New answers tagged

6

The standard way to retrieve the list of properties available for most of the curated data functions is to ask for the "Properties" property, e.g. CountryData["Properties"] (* {"AdultPopulation", "AgriculturalProducts", <<219>>, "WaterArea", "WaterwayLength"} *) or AstronomicalData["Properties"] (* ...


5

What happens is that if a requested property p is not one of the standard "Properties", CountryData then computes EntityValue[Entity["Country", <standard name>], p] For example, the possible entity properties for a country are found by EntityProperties["Country"] (* {EntityProperty[Country, AdjustedNetNationalIncome], EntityProperty[Country, ...


2

Using mathematica v10 ticks = TemporalData@ FinancialData[#,"CumulativeFractionalChange", {2010}] & /@ {"AAPL", "^NDX","GOOGL"}; maticks = MovingAverage[#, 200] & /@ ticks; DateListPlot[{ticks, maticks}, PlotLegends -> {"AAPL", "^NDX", "GOOGL", "MA(200)-AAPL", "MA(200)-^NDX", "MA(200)-GOOGL"}, Filling -> {1 -> Bottom, 2 -> ...


2

fdata = FinancialData[#, "CumulativeFractionalChange", {{2009, 1, 1}, {2014, 11, 1}}] & /@ {"NASDAQ:AAPL", "NASDAQ:GOOGL", "NASDAQ100"}; ma200 = FinancialIndicator["WildersMovingAverage", 200] /@ fdata[[All, All, 2]]; madata = Transpose[{fdata[[1, All, 1]], Join[ConstantArray[Missing[], 199], #]}] & /@ ma200; DateListPlot[Join[fdata, ...


7

@Kuba, @Rolf Mertig-s comments are summarized by this. f = PlaneCurveData["Superformula", "PolarEquation"][2, 2, 24, 6, 6, 1,1][t]; PolarPlot[{1.1, 2.0, f}, {t, 0.0, 2.0 Pi}, PolarTicks -> {Table[{i, 180° i/ π}, {i, 0, 11 π/6, π/6}], {{1.1, Framed[Style[1.1, 12, Bold], Background -> White]}, {2., Framed[Style[2., 12, Bold], Background ...



Top 50 recent answers are included