---
name: "tablix2_plot"
section: "1"
platform: "linux"
package: "tablix2"
version: "0.3.5-7"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/tablix2_plot"
---

# tablix2\_plot(1)

Tablix data plotter

## NAME

tablix2\_plot - Tablix data plotter

## SYNOPSIS

**tablix2\_plot** *command* **\[** *options* **\]**

## DESCRIPTION

Tablix is a powerful free software kernel for solving general timetabling problems. It uses a coarse-grained parallel genetic algorithm in combination with other techniques to construct sensible timetables from XML formatted problem descriptions. Tablix can run on a single host as well as on a heterogeneous parallel virtual machine using PVM3.

**tablix2\_plot** can be used to plot various types of population convergence graphs using data in files usually named *conv0.txt* , *conv1.txt* , ... Tablix will save convergence data into these files if it was compiled with the  **--enable-conv** option.

These graphs can be useful for example to get a rough estimate of time required to solve a particular problem (note that  **tablix2\_plot** can be safely used with files that are still written to by a running Tablix session).

Graphs are plotted with **gnuplot** using the default output terminal (which is in most cases a X11 display). Encapsulated postscript files can be obtained by setting **EPSOUTPUT** environment variable. Scalable vector graphics files can be obtained by setting  **SVGOUTPUT** environment variable. The contents of these variables are used by  **tablix2\_plot** as a file name to write to.

## OPTIONS

- **tablix2\_plot --conv-fitness \[ --scale SCALE \] \[ PREFIX \] ...**

  Plot population convergence graph using convergence data in files  *conv\*.txt* in the current directory. One line is drawn for each computing node. It shows the fitness value of the best timetable versus generation count.

  Use the  **PREFIX** option, if you used the  **-o** option with Tablix. You can use more than one  **PREFIX** option to plot multiple convergence graphs in one window.

  Use the  **SCALE** option to adjust the vertical scale.

- **tablix2\_plot --fit-fitness \[ --scale SCALE \] \[ PREFIX \] ...**

  Same as  **--conv-fitness** above, except that an exponential function is also drawn on the graph using least squares fitting. This can be used to get a rough estimate of the time required to find a solution.

  The  **SCALE** parameter is used to adjust the horizontal scale in this case.

- **tablix2\_plot --functions \[ --scale SCALE \] CONVFILE**

  Plot the return value of each fitness function versus generation count. Return values of mandatory fitness functions are plotted with thicker lines.

  **CONVFILE** must be a file with Tablix population convergence data (usually named  *conv\*.txt* ).

  Use the  **SCALE** option to adjust the vertical scale.

## EXAMPLES

If Tablix was started with the following command:

	tablix2 -o u1\_ sample.xml

then the following command plots the population convergence graph:

	tablix2\_plot --conv-fitness u1\_

Encapsulated postscript version of the same graph can be obtained with the following command in  **bash** shell:

	EPSOUTPUT="graph.eps" tablix2\_plot --conv-fitness u1\_

To see which mandatory restriction is preventing Tablix from finding the solution, use the per module plot, possibly with a small vertical scale:

	tablix2\_plot --functions --scale 100 u1\_conv0.txt

## BUGS

In addition to gnuplot **tablix2\_plot** utility depends on a number of common UNIX programs (mktemp, grep, sed, awk, ...) that may not be available on all systems. The script is not currently capable of properly detecting if any required programs are missing.

## AUTHOR

Tomaz Solc (tomaz.solc@tablix.org)

## SEE ALSO

[**tablix2**(1)](/tablix2/1.md), Tablix User's Manual, Tablix modules HOWTO, Tablix on Morphix HOWTO
