import climate
import lmj.plot
import source


def main(subject):
    subj = source.Subject(subject)
    ax = lmj.plot.axes(111, projection='3d', aspect='equal')
    for i, block in enumerate(subj.blocks):
        trial = block.trials[0]
        trial.load()
        x, y, z = trial.marker('r-fing-index')
        ax.plot(x, z, zs=y, color=(i / len(subj.blocks), 0, 0), alpha=0.9)
    lmj.plot.show()



if __name__ == '__main__':
    climate.call(main)


Add a short script for plotting successive trials.
Add a short script for plotting successive trials.
