Qurak

Compare different units

Esempio 2 passi, eseguiti in ordine in una sola sessione. Ogni passo è stato eseguito sul motore e l'output qui sotto è ciò che ha prodotto.

Passo 1
data = {"175 lb", "100 kg", "12 stones", "hundredweight"};
PieChart[Quantity /@ data, ChartLabels -> data, ImageSize -> Medium, LabelStyle -> {FontFamily -> "Helvetica", FontSize -> 14}]
Output
-Graphics-
Passo 2
data2 = {"4 ft. 5 inches", "172 cm", "2.3 yards", "horse length"};
BarChart[Quantity /@ data2, ChartLabels -> data2, ChartStyle -> "Rainbow", AxesLabel -> Automatic, ImageSize -> Medium, LabelStyle -> {FontFamily -> "Helvetica", FontSize -> 14}]
Output
-Graphics-

Funzioni usate

Ricette correlate

Tutte le ricette · Guida delle funzioni · Usa questo da un client MCP