Wolfram Language

ReImPlot Introduction

Plotting the real and imaginary parts of a function separately can reveal behavior that might otherwise be hidden.

Plotting shows the principal value, which is complex valued for negative values of , which is not shown by Plot.

Use ReImPlot to plot the real and imaginary parts of the function. The real part is solid and the imaginary part is dotted.

Change the legend and the styles for the real and imaginary parts.

Label the real and imaginary parts of the function.

Related Examples

de es fr ja pt-br zh