Maths - Fields - code for how the graphs were generated

On this page we discuss how the plots fields, 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 for the vector diagram with the arrows:

<classDef>
<mathTypeHypercomplex name="do" type="complex" />
<varDef name="a" mathName="do" />
<outputSvg description="w=force" type="arrows" gridWidth="300" gridHeight="200"
marginLeft="20" marginBottom="20" marginRight="10" marginTop="10"
xAxisPos0="100" xAxisPos1="200" yAxisPos0="100" yAxisPos1="200"
graphMax="32" graphStep="1" graphMultipier="0.01" >
<variable name="a" />
<variable name="a" />
</outputSvg>
</classDef>

Here I have listed this input code for the scalar 3D diagram:

<classDef>
<mathTypeHypercomplex name="do" type="complex" />
<varDef name="a" mathName="do" />
<outputObj description="w=force" gridWidth="300" gridHeight="200"
marginLeft="20" marginBottom="20" marginRight="10" marginTop="10"
xAxisPos0="100" xAxisPos1="200" yAxisPos0="100" yAxisPos1="200"
graphMax="100" graphStep="1" graphMultipier="0.1" >
<variable name="a" />
<variable name="a" />
</outputObj>
</classDef>

This code produced a 3D .OBJ file which I then tweeked and rendered using blender as explaned on this page.

back to original page.


metadata block
see also:
  • This page explains how we can represent fields using different types of algebras.
Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

 

cover The Geometry of Physics : An Introduction

Other Math Books

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2017 Martin John Baker - All rights reserved - privacy policy.