For plotting a Datafield object,
our Python module ba_plot provides the function plot_simulation_result(result).
Usage:
from bornagain import ba_plot as bp
simulation = ...
result = simulation.simulate()
bp.plot_simulation_result(result)
For a full example, see the for instance the basic reflectometry example.
See also: