New answers tagged

10

I think you are looking for the GeoCenter option to GeoGraphics. GeoGraphics[ GeoCenter -> {0., 180.}, GeoModel -> Entity["PlanetaryMoon", "Moon"], GeoProjection -> "Mollweide", GeoRange -> All, Background -> Black ]


4

Not an answer (community wiki) Thanks to J.M. for a correction to the 3-letter abbreviations. aaList = {"LAlanine", "LCysteine", "LAsparticAcid", "LGlutamicAcid","LPhenylalanine", "Glycine", "LHistidine", "LIsoleucine", "LLysine", "LLeucine", "LMethionine", "LAsparagine","LPyrrolysine", "LProline", "LGlutamine", "LArginine", "LSerine", "LThreonine", ...


9

Well, I guess the only way is to build up a rule to do the conversion for you. I've done just that, so here it is: abb = {"A" -> "L-Alanine", "R" -> "L-Arginine", "N" -> "LAsparagine", "D" -> "LAsparticAcid", "C" -> "LCysteine", "E" -> "L-GlutamicAcid", "Q" -> "L-Glutamine", "G" -> "Glycine", "H" -> "L-Histidine", ...


4

One way to try to figure such things out is to use Free-Form Input. Type a '=', type a phrase, and execute. You'll get an output cell, which you can click to turn into input cell. Then InputForm will often show you what you're looking for. We can see that, just as @becko has already found out, that the Mathematica name for L-cysteine is "LCysteine".


4

I figured it out: ChemicalData["LCysteine", "MolarMass"] Turns out ChemicalData["LAlanine", "MolarMass"] also works. It seems that ChemicalData["L-Alanine", "MolarMass"] with the dash is a notational exception allowed only with alanine.


10

Apparently the list "KnownWords" is very inclusive; it has cardinal numbers, alphabet letters, and many obscure words and abbreviations. You may be more interested to use "CommonWords", Select[WordList["CommonWords", Language -> "English"], StringReverse[#] == # &] (* {"a", "aha", "bib", "bob", "boob", "civic", "dad", "deed", "dud", "ere", ...


3

$Version (* "10.4.0 for Mac OS X x86 (64-bit) (February 26, 2016)" *) Grid[ Partition[ Column[#, Alignment -> Center, Frame -> All] & /@ EntityValue[ Take[ EntityList[EntityClass["DogBreed", All]], 9], {"Name", "Image"}], 3], Alignment -> Top] EDIT: To show all, pull a "page" at a time. imagesPerPage = 15; ...


9

I remember from last years conference (Wolfram Technology Conference 2015) that there was a presentation on food entities. It doesn't seem to have been recorded but you can get the presentation (Food in the Wolfram Language). It shows a great deal on how to access foods and gives details on some of their properties. The food data is somewhat deep and very ...


12

Go to a new cell in a notebook and write "=", this will create an orange equality sign in the beginning of the cell. This means that you have entered the free form input mode. Write the name of a food item or a type of food and evaluate the cell, Mathematica will then return the entity corresponding to that food item or food type. You can hover the entity to ...



Top 50 recent answers are included