CLAW_PIX is a MATLAB program which plots CLAWPACK "Q" files.
That is, it reads a set of files, each containing the values of a scalar function of X, whose behavior is controlled by a hyperbolic PDE. For each data set, the program displays a plot of the solution, and creates a PNG file of that plot. The set of PNG files can be used to create an animation, by Quicktime Pro, for instance.
The "Q" files have 'consecutive' names, such as "fort.q0000", "fort.q0001" and so on. The user only has to tell the program the name of the first file; it will automatically continue to process files until it reaches the end of the sequence of names.
Note that there is already a MATLAB program, called CLAWPACK_PLOT, which can display results for 1d, 2d or 3d problems, and is not limited to scalar data in the 1d case. So why did I write this program? Primarily because I found CLAWPACK_PLOT awkward to use and was unhappy that it did not use a uniform scale for all the images, making animations worthless.
CLAWPACK is a library of FORTRAN77 routines for the solution of wave propagation to hyperbolic partial differential equations in 1, 2 or 3 spatial dimensions.
CLAWPACK_PLOT is a library of MATLAB routines for the visualization of results obtained from CLAWPACK.
PNG files are a common and useful format for storing single images, out of which animations can be constructed.
In solving a problem, CLAWPACK generates a sequence of data files containing the solution at successive time steps. These files are what CLAW_PIX needs as input.
The PNG images were created automatically by the program:
You can go up one level to the MATLAB source codes.