Contents || Index

Multiple Plot Help

This is one of the few times that Lispix functions related to the same thing are not in the same place.  In this case, a plot of many spectra can be made on a data cube using the Profile Tool.  They can be selected using a Region Slider made using the Data Cube Tool.  They can then be saved to text files or plotted using these items in the Plots menu of the Lispix Menu Bar:

'Select From Multiple' and 'Print Multiple' are here in the Tool Bar, rather than in either of the Tools mentioned above, because they might be expanded in scope later on.


Here is a data cube.

Select the data cube with the Profile Tool, turn the line on, and position as desired:

Using the Profiles Button, circled above, select 'Profiles / Profile Spectra Plot.  (Note - Profile Spectra Files writes one EMSA standard file format spectrum file per spectrum (per point on the profile line) to the Output Directory).  The plot looks like this:

Or, expanded a bit by dragging on the border of the plot, it looks like this:

This plot has about 100 spectra:  there is about one plot per pixel, and the profile line is about 100 pixels long.  These can be printed for moving to Excel using 'Plots / Print Multiple' (above) in the Lispix Menu Bar, however you may wish to select spectra for printing.  The one method available now, is to open the Data Cube Tool and make a region slider:  'Slider / Region'. 

The slider will appear under the plot:

Slide the region (pink band) to a peak or some other region of the plot.  Take your time in moving the band, as all those plots redraw every time you make a move.  Note that they plot in coarse mode to save time.  Click on the plot, then click on the Redraw button for the hi-res plot.

Once you have selected the region of the plot, using this command:  Plots / Select From Multiple will make a new plot with the number of plots that you choose.  The selected plots are those with the maximum values within the pink region.  (Lispix finds the maximum value for each plot within the region, then sorts the plots, largest max value first.  You select the number to plot from these.)

Here is the dialog from the Select From Multiple command.  Note that there are exactly 96 spectra plotted above.  I selected 3 rather than the default 5 spectra to replot:

I have shown the plot just as shown after manually expanding it.  The coarse plot shows better that there are three spectra there - the high res plot is noisy, and the plots overlap each other.

Then, you can print the plots to a text window and cut and paste into Excel, using Plots / Print Multiple.

This is the text window in Lispix.

and this is the data in Excel:  The column titles are the distances along the profile line, in pixels.