Wolfram 언어

대수학과 정수론

로마 숫자

임의의 출력식으로 정수를 로마 숫자로 변환합니다.

시계 게이지를 실행합니다.

In[1]:=
Click for copyable input
clock = ClockGauge[{10, 10, 30}, TicksStyle -> ColorData[40, 2], GaugeMarkers -> "FlatProfileNeedle"]
Out[1]=
In[2]:=
Click for copyable input
clock /. Text[s_Integer, rest__] :> Text[RomanNumeral[s], rest]
Out[2]=

각도 게이지에서 실행합니다.

In[3]:=
Click for copyable input
AngularGauge[ Quantity[714, "RomanOunces"], {Quantity[0, "RomanOunces"], Quantity[1000, "RomanOunces"]}, GaugeLabels -> "Unit", PlotTheme -> "Monochrome"] /. Text[s_Integer, rest__] :> Text[RomanNumeral[s], rest]
Out[3]=

관련 예제

de en es fr ja pt-br ru zh