Skip to content

PhysiBoSS_Plot

Gaelle Letort edited this page Dec 14, 2017 · 1 revision

PhysiBoSS_Plot exectubale

Executable to plot a txt file containing cells positions and sizes as SVG file.

This executable is created in the bin folder after compilation. It allows the user to directly plot a given time point state of the simulation (2D slice) without having to use Paraview. Thus it can be easily automatised to different views.

Usage

To plot a given time point of the simulation, call PhysiBoSS_Plot executable from a Terminal window in the main folder of the simulation to plot. The time point to plot (tplot) can be precised as argument of the fonction. It should be an integer, and a time point that has been outputted during the simulation, so cells_tplot.txt file should be present in the output folder.

Example

Command:

path_to_physiboss/bin/PhysiBoSS_Plot -t 80


Which gives the following svg file:

SVG output example


Remarks
This a first version, no microenvironment can be plotted. It will be extended and we will make it more customizable in future releases.
It is also restricted to a 2D slice view of the simulation.
In the current version, this executable is usefull to plot an overview of the simulation directly from the command line, and to automatize visualisation. However, in future development it is planned to propose graphical interface and visualisation which will make this tool deprecated.
Todo:

Modify to add possibility to read microenvironment file as well

Makes it more customizable, more parameters (an xml file maybe defining plotting options ?)

Clone this wiki locally