tkCassiopee : plotting 1D curves


This page describes how to plot 1D curves using Cassiopee.

Cassiopee uses matplotlib to display curves, but additionaly offers an interface to interactively modify curves.

If you don't have a file to manipulate, try this sample files: [wall1.cgns] and [simple.py].
or a more complex example: [wall1.cgns] and [wall2.cgns] and [plot.py].

You can modify the script plot.py to match you own needs.
In this script, we first set some general plot settings, then we load a file containing 1D data.
Finally, we create two graphs and add curves in them.

type : python plot.py

This will display the curves. You can then move a curve with mouse left click, zoom on it using the mouse wheel or the right mouse button.
You can change curve attributes using the edit curve bar. You can modify axis, legend and grid by opening the selected tool.

         
              View of the interface.
More: Tutorials - Gallery - Get support - Download - Citation - Reference documentation