# Maths - Functions Of A Complex Variable - how plots were produced

On this page we discuss how the plots of complex numbers, on this page, were produced.

The tables were generated using this program.

To produce the results the program needs to have an XML input code. Here I have listed this input code next to the output of the program:

code program output
<classDef>
<varDef name="a" type="complex" />
<outputSvg description="w=1/z" gridWidth="300" gridHeight="200"
marginLeft="20" marginBottom="20" marginRight="10" marginTop="10"
xAxisPos0="100" xAxisPos1="200" yAxisPos0="100" yAxisPos1="200" >
<variable name="a" />
<unaryOp type="inverse">
<variable name="a" />
</unaryOp>
</outputSvg>
</classDef>
<classDef>
<varDef name="a" type="complex" />
<outputSvg description="w=exp(z)" gridWidth="300" gridHeight="200"
marginLeft="20" marginBottom="20" marginRight="10" marginTop="10"
xAxisPos0="100" xAxisPos1="200" yAxisPos0="100" yAxisPos1="200" >
<variable name="a" />
<unaryOp type="exp">
<variable name="a" />
</unaryOp>
</outputSvg>
</classDef>
<classDef>
<varDef name="a" type="complex" />
<outputSvg description="w=z*z" gridWidth="300" gridHeight="200"
marginLeft="20" marginBottom="20" marginRight="10" marginTop="10"
xAxisPos0="100" xAxisPos1="200" yAxisPos0="100" yAxisPos1="200" >
<variable name="a" />
<unaryOp type="square">
<variable name="a" />
</unaryOp>
</outputSvg>
</classDef>