Wednesday, August 22, 2018

How to plot a grid of phase plots using Tellurium

Originally Posted on  by hsauro

Let’s say we have a chemical network model where the species oscillate and you’d like to plot every combination of these on a grid. If so, then this code might be of help.

This code will generate:

Here is an alternative that has removed the internal ticks and labels and arranges the column and row labels as contiguous. This is probably more than one might expect. This version plots all combinations including the transpose combinations.

The following shows the steady-state oscillations. This was done by simulating the model twice and using the plotting the second set of simulation results.

No comments: