IconData[type,value]
generates an icon of the specified type assuming the value given.
IconData
IconData[type,value]
generates an icon of the specified type assuming the value given.
Details and Options
- In IconData[type,value], possible settings for type include:
-
"AirTemperature" air temperature "MoonPhase" moon illumination fraction "RelativeHumidity" humidity fraction "WindDirection" wind direction "WindSpeed" wind speed "OrientationIndicator" marker for RulePlot state - In IconData[type,value], the value can be a Quantity object with appropriate units.
- It can also be a number that is interpreted as follows:
-
"AirTemperature" °C "WindDirection" ° "WindSpeed" km/h
Examples
open all close allBasic Examples (3)
Show icons for air temperature:
IconData["AirTemperature", ["22 C"]]IconData["RelativeHumidity", 0.64]IconData["WindSpeed", ["15 mph"]]Direction from which the wind is blowing:
IconData["WindDirection", 45]IconData["MoonPhase", MoonPhase[["June 23, 1988"]]]Icon for orientation indicator at an angle in radians:
IconData["OrientationIndicator", Pi / 4]Scope (3)
Show the orientation at a 45° angle from the top:
IconData["OrientationIndicator", Quantity[45, "AngularDegrees"]]Show a sequence of state rotations for RulePlot:
IconData["OrientationIndicator", {#, 3}]& /@ Range[0, 3]Orientation indicators are circular when there is only a single state possible:
IconData["OrientationIndicator", {1, 1}]Related Guides
Text
Wolfram Research (2014), IconData, Wolfram Language function, https://reference.wolfram.com/language/ref/IconData.html (updated 2026).
CMS
Wolfram Language. 2014. "IconData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2026. https://reference.wolfram.com/language/ref/IconData.html.
APA
Wolfram Language. (2014). IconData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IconData.html
BibTeX
@misc{reference.wolfram_2026_icondata, author="Wolfram Research", title="{IconData}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/IconData.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_icondata, organization={Wolfram Research}, title={IconData}, year={2026}, url={https://reference.wolfram.com/language/ref/IconData.html}, note=[Accessed: 12-June-2026]}