New answers tagged

3

ent is an Entity of "Color" you can investigate its properties. EntityProperties["Color"] Of the many properties the "Value" property (strangely it has CommonName "Wolfram Language") will return the RGB color you are seeking. ent["Value"] (* RGBColor[1., 0.96, 0.93] *) Hope this helps.


0

not sure why I cannot comment, so I'm going to write here. @JasonB, I made the following oversations: the method of setting timezone using SetOptions has no effect on the date-value paris returned. For my query the first timepoint is "Thu 21 Jul 2016 09:51:00" - 20C and the last is "Fri 22 Jul 2016 11:51:00" - 21C. It's the same no matter how I set ...


3

What you want here is ThermodynamicData. The available properties are ThermodynamicData["Properties"] (* {"CriticalDensity", "CriticalEnthalpy", "CriticalEntropy", "CriticalInternalEnergy", "CriticalPressure", "CriticalTemperature", "Density", "Enthalpy", "Entropy", "InternalEnergy", "IsobaricHeatCapacity", "IsochoricHeatCapacity", "...


0

I agree with the person posting the question, the documentation of this curated data value is poorly done. Having the answer embedded in an example indirectly found via one of twelve possible 'See Also' links is not an example of good documentation system. Yes, people should first consult existing documentation and learn how to use the documentation system. ...


2

In the documentation of WindDirectionData I see: Find the most recent wind direction measurement near your current location as measured clockwise from due north: This can be confirmed by using a Wolfram Alpha query and looking at the visualization as a small compass: WindDirectionData[] also give 160 degrees, so it's the same.


4

data = CountryData["UnitedStates", "ReligionsFractions"]; {#[[1, 2]], #[[2]]} & /@ data {{"Protestant", 0.513}, {"RomanCatholic", 0.239}, {"LatterDaySaints", 0.017}, {"Jewish", 0.017}, {"OtherChristian", 0.016}, {"Buddhist", 0.007}, {"Muslim", 0.006}, {"OtherNone", 0.186}} or Set @@@ ({Symbol[#[[1, 2]]], #[[2]]} & /@ data); {Protestant, ...


2

With help from Sander Huisman on Wolfram Community: Wolram Community linkParallelisation? LaunchKernels[8] AbsoluteTiming[Length[listClassMStar = ParallelMap[StarData[m1, #] &, vars]]] My summary: The Length value on the output was coming out as 10, which really threw me. But Transpose corrected that. My computer is older with only 2 CPUs so my ...


0

Wow was that simple. {{xAxis, 6}, {4 -> "BVColorIndex", 5 -> "Temperature", 6 -> "Mass", 7 -> "Luminosity", 8 -> "AbsoluteMagnitude"}}, {{yAxis, 7}, {5 -> "Temperature", 6 -> "Mass", 7 -> "Luminosity", 8 -> "AbsoluteMagnitude"}}, {{tooltip, 3}, {1 -> "Name", 3 -> "SpectralClass"}},


3

So the data you want is here: WolframAlpha["p/e msft 1/3/2000 to 6/1/2000"] How can it be accessed? Assuming you want the data from the plot, you need to see what the name of the pod you are interested is, WolframAlpha["p/e msft 1/3/2000 to 6/1/2000", "PodIDs"] (* {"Input", "Result", "DateRangeSpecified:PriceEarningsRatio:FinancialData"} *) That ...


8

FromEntity and ToEntity can do the conversion. FromEntity[StarData["Sirius", "Color"]] (* RGBColor[0.73, 0.8, 1.] *)


7

First (update: I guess the missing ones should be deleted), alldistricts = DeleteMissing@ EntityList["USCongressionalDistrict"]; allpolygons = #["Polygon"] & /@ alldistricts (* // DeleteMissing *); Then find the GeoArea[poly] and perimeter* of them. Note that you might want to compute a dimensionless quantity such as perimeter^2/area. Update: The ...


8

The US congressional districts are available as geographic entities in the form Entity["USCongressionalDistrict", "Illinois:District7"] As such, in principle you can enumerate them using GeoEntities[Entity["Country", "UnitedStates"], "USCongressionalDistrict"] but this is liable to timing out because you're asking for a lot of data, so instead you can ...


0

That worked zKarp. Thank you! Still have to associate text to the selected numerical values but looks really good so far: Manipulate[ plotType[ With[{c1 = column1, c2 = column2}, Tooltip[{Slot[c1], Slot[c2]}, {Slot[3], Slot[c1], Slot[c2]}] &] @@@ category, PlotRange -> Automatic, ImageSize -> Large, AxesLabel -> {"BVColorIndex", "...


0

Joseph, You have to use the function With So your line should be as follows With[{c1=column1},Tooltip[{c1, #7}, {#3, #6, #7}] &] @@@ category,


0

The Sage system has an OEIS integration: http://doc.sagemath.org/html/en/reference/databases/sage/databases/oeis.html and a package that computes some infinite OEIS sequences http://doc.sagemath.org/html/en/reference/combinat/sage/combinat/sloane_functions.html#module-sage.combinat.sloane_functions It could be leveraged as an external program, and the ...



Top 50 recent answers are included