Faça um gráfico da temperatura em relação ao tamanho
Abaixo estão as massas atómicas e pontos de fusão dos elementos com um arranjo de valores com unidades associadas.
In[1]:=
data = QuantityArray[DeleteMissing[EntityValue[\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{Typeset`query$$ = "elements", Typeset`boxes$$ =
TemplateBox[{"\"elements\"",
RowBox[{"EntityClass", "[",
RowBox[{"\"Element\"", ",", "\"Elements\""}], "]"}],
"\"EntityClass[\\\"Element\\\", \\\"Elements\\\"]\"",
"\"elements\""}, "EntityClass"],
Typeset`allassumptions$$ = {{
"type" -> "Clash", "word" -> "elements",
"template" -> "Assuming \"${word}\" is ${desc1}. Use as \
${desc2} instead", "count" -> "5",
"Values" -> {{
"name" -> "ElementClass", "desc" -> "a class of elements",
"input" -> "*C.elements-_*ElementClass-"}, {
"name" -> "Book", "desc" -> "a book",
"input" -> "*C.elements-_*Book-"}, {
"name" -> "Periodical", "desc" -> "a periodical",
"input" -> "*C.elements-_*Periodical-"}, {
"name" -> "MathWorld",
"desc" -> " referring to a mathematical definition",
"input" -> "*C.elements-_*MathWorld-"}, {
"name" -> "Word", "desc" -> "a word",
"input" -> "*C.elements-_*Word-"}}}},
Typeset`assumptions$$ = {}, Typeset`open$$ = {1, 2},
Typeset`querystate$$ = {
"Online" -> True, "Allowed" -> True,
"mparse.jsp" -> 0.741312`6.321546023823575,
"Messages" -> {}}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic,
Dynamic[Typeset`query$$],
Dynamic[Typeset`boxes$$],
Dynamic[Typeset`allassumptions$$],
Dynamic[Typeset`assumptions$$],
Dynamic[Typeset`open$$],
Dynamic[Typeset`querystate$$]], StandardForm],
ImageSizeCache->{187., {7., 15.}},
TrackedSymbols:>{
Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$,
Typeset`assumptions$$, Typeset`open$$,
Typeset`querystate$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{Typeset`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\), {"AtomicMass", "MeltingPoint"}], 1, 1]]
Out[1]=
Faça um gráfico dos dados e coloque legenda nos eixos com as unidades.
In[2]:=
ListPlot[data, PlotTheme -> "Detailed", FrameLabel -> Automatic,
ImageSize -> 450]
Out[2]=
Faça um gráfico dos dados com atogramas e kelvins como as unidades desejadas.
In[3]:=
ListPlot[data, PlotTheme -> "Detailed", FrameLabel -> Automatic,
ImageSize -> 450, TargetUnits -> {"Attograms", "Kelvin"}]
Out[3]=