These methods are intended for quickly visualizing data. They are not intended for producing publication-quality figures.
Plot a histogram of the data in a data cube.
plot. The function will try to determine what type of data it’s been given.
logscale = False (bool): whether to plot the logarithm of the data
Plot a slice through a data cube. This function will produce a nicely formatted image plot with the correct units on the axes.
plot. The function will try to determine what type of data it’s been given.
los_axis = 0 (integer): the line of sight axis. Must be 0,1 or 2
will be taken.
logscale = False (bool): whether to plot the logarithm of the data
>>> xfile = c2t.XfracFile('xfrac3d_8.515.bin')
>>> c2t.plot_slice(xfile, cmap = pl.cmap.hot)