A table object is like a spreadsheet of values.

Energy Levels

If you store output data in a table with one column as energy and the other as string labels, Rappture will interpret the data as a series of energy levels and draw it as shown below. If one of the labels is "HOMO", then Rappture will draw the area underneath the HOMO level as shaded, indicating that the states are occupied.

      <label>Energy Levels</label>
    <column id="labels">
    <column id="energies">
    <data> 1  0.561
HOMO  2.24
3     5.05

You can see working code in the zoo of examples in the table example or on the hub in the directory /apps/rappture/examples/zoo/table.

Last modified 4 years ago Last modified on Jun 15, 2013, 3:23:41 AM