Skip to content
S.-H. Dan Shim edited this page Mar 21, 2020 · 3 revisions

Toolbar for the plot

PeakPo makes plots using the matplotlib package. Although slow, matplotlib provides high quality publication ready plots.

PeakPo provides basic plot control through some functions provided by matplotlib. Detailed information on the navigator toolbar supported by the icons above can be found in this website.

Also, the toolbar area shows readings for two theta angle, intensity, and d-spacing of the current cursor position.

The Pan and Zoom icons let you change the behavior of mouse. If any of these are selected (in blue), you cannot read the position. If you want to escape from these modes, you need to click the icon in blue once more.

If you hold y key while you draw zoom box in the Zoom mode, you will fix the x range the same while you only change the y axis.

Toolbar for frequently used functions

PeakPo provides its own toolbar for frequently used functions. From the left, "zoom out", "save session", "open previous file", "add current pattern to waterfall list", "open next file", "increase pressure", "decrease pressure", "increase temperature", "set temperature to 300 K", and "decrease temperature". The step size for file navigation, pressure change, and temperature change are all read directly from the step size spin boxes in the main tab.

Plot control box

In the Main tab, PeakPo provides the Plot control box with several checkboxes. These checkboxes provide shortcuts to control the plot.

If the Cake and Waterfall checkboxes are checked, PeakPo will plot those components if the setup for a cake image and waterfall patterns already exist in the Cake and Waterfall tabs, respectively.

The Cake labels are marker labels for the azimuthal integrations (see the section on azimuthal integration for detail). The Waterfall labels are the file name labels for the 1D patterns in the waterfall list.

Vert. cursor changes the shape of cursor to red-dashed vertical line. This line goes from the bottom of the base pattern plot to the top of the cake image plot, facilitating the comparison between cake image and 1D diffraction patterns. The cursor move may be slow if you are using a slow computer.

If the jcpds in ptn and jcpds in cake checkboxes are checked, the colored vertical bars for jcpds will be plotted in the base pattern and cake views, respectively. Of course, setup for jcpds should be made first in the jcpds tab, in order for PeakPo to show these.

If the jcpds by int. checkbox is checked, the intensity information from jcpds files will be plotted. If not, vertical bars will be plotted at diffraction peak positions. If unchecked, the GSASstyle peak position bars will appear.

You can also show the Miller indices using the hkl in ptn and hkl in cake checkboxes.

If Auto Y scale is checked, when you trigger the change in the plot, y-axis of diffraction pattern plot will be automatically adjusted to the maximum intensity.

If Bg sub is checked, background subtracted diffraction patterns will be shown in the plot. If not checked, PeakPo will show raw diffraction pattern with calculated background.

If Vert. cursor is checked, mouse cursor shape in PeakPo will change to a vertical red dash line which extends from 1D diffraction pattern to 2D cake image. This function allows for comparison between 1D features and 2D features.

Clone this wiki locally