The SKIRT project
advanced radiative transfer for astrophysics
Functions
pts.visual.do.plot_stored_table Namespace Reference

Plot a selected curve from data in a SKIRT stored table file. More...

Functions

"plot a curve from data in a SKIRT stored table file" do ((str,"name or path of SKIRT stored table file") filepath,(int,"zero-based index of the table axis on the horizontal plot axis") hor=0,(int,"zero-based index of the table quantity on the vertical plot axis") ver=0,(float,"ordinate value for the table axis with index 0") ax0=None,(float,"ordinate value for the table axis with index 1") ax1=None,(float,"ordinate value for the table axis with index 2") ax2=None,(float,"ordinate value for the table axis with index 3") ax3=None,(float,"ordinate value for the table axis with index 4") ax4=None)
 

Detailed Description

Plot a selected curve from data in a SKIRT stored table file.

This script plots a particular 1D curve from the data in a specified SKIRT stored table file.

Provide the name or (relative or absolute) file path of a SKIRT stored table file as the single required argument, and use optional arguments to further configure the plot:

Thus, by default, the script plots the first table quantity as a function of the first table axis, with half-way values for the other axes, if any.

The plot file is named "FigStoredTable.pdf" and is placed in the current working directory.