ReImStyle
Details
- By default, the real style is a solid line, and the imaginary style is dashed.
- Possible settings include:
-
Automatic default styles {re,im} use re and im for the respective components {{re1,im1},{re2,im2},…} use different styles for different functions - re and im can be any graphics directive, including colors, thicknesses, dashing, etc.
- ReImStyle inherits from PlotStyle by default.
Examples
Basic Examples (3)
Imaginary components are dotted by default:
ReImPlot[Sqrt[(x^2 - 1)(x^2 - 4)], {x, -3, 3}]Specify styles for the real and imaginary components.
ReImPlot[Sqrt[(x^2 - 1)(x^2 - 4)], {x, -3, 3}, ReImStyle -> {Red, Blue}]Modify the default style for a function:
ReImPlot[ArcSin[x], {x, -3, 3}, PlotStyle -> Red]Modify the default style for each function:
ReImPlot[{ArcSin[x], ArcCos[x]}, {x, -3, 3}, PlotStyle -> {Red, Blue}]Related Guides
History
Text
Wolfram Research (2019), ReImStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/ReImStyle.html.
CMS
Wolfram Language. 2019. "ReImStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReImStyle.html.
APA
Wolfram Language. (2019). ReImStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReImStyle.html
BibTeX
@misc{reference.wolfram_2026_reimstyle, author="Wolfram Research", title="{ReImStyle}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ReImStyle.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_reimstyle, organization={Wolfram Research}, title={ReImStyle}, year={2019}, url={https://reference.wolfram.com/language/ref/ReImStyle.html}, note=[Accessed: 12-June-2026]}