You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Clicking on the parent or on the subdata tree items, as well as <ahref="powderparent.html">main (parent) entry for the histogram</a> allows access to different parameters associated with the dataset and offers different menu commands. With the exception of the Instrument Parameters subtree item, which produces a different type of plot, showing peak widths, each PWDR subtree item produces similar plots of the powder diffraction histogram, with different variations:</p>
1650
+
<p>Clicking on the parent or on the subdata tree items, as well as <ahref="powderparent.html">main (parent) entry for the histogram</a> allows access to different parameters associated with the dataset and offers different menu commands. With the exception of the Instrument Parameters subdata tree item, which produces a different type of plot, showing peak widths, each PWDR subdata tree item produces similar plots of the powder diffraction histogram, with different variations:</p>
1585
1651
<ul>
1586
1652
<li>By selecting the Limits entry, range of data used, as well as possible excluded regions, can be set.</li>
1587
1653
<li>Selecting Reflection Lists allows display of reflection indices (hkl values) for a selected phase. Letting the mouse rest unmoved at the position of a reflection in <spanclass="arithmatex">\(2\theta\)</span>, TOF, Q, etc. (the vertical position does not matter) will cause these to be displayed. After a short delay a "tool tip" will appear with indices for any reflections close to the lateral mouse position.</li>
@@ -1599,30 +1665,40 @@ <H3 style="color:blue;font-size:1.1em">What are the general options for the plot
1599
1665
<h3id="plot-scaling">Plot scaling</h3>
1600
1666
<p>When the histogram is displayed by clicking on a data tree entry, the axes are initially scaled to fit the selected histogram. The plot can be rescaled a number of ways:</p>
1601
1667
<ul>
1602
-
<li><imgalt="" src="images/zoom.png" /> Clicking on the "Zoom" button allows you to trace out a box to use as new limits for the plot.</li>
1603
-
<li><imgalt="" src="images/pan.png" /> Clicking on "Pan" button allows the limits to be repositioned, by dragging with the left mouse button, or the increase or decrease the scaling by dragging either vertically or horizontally with the right button (control+left also works on Macs). </li>
1668
+
<li><imgalt="" src="images/zoom.png" /> Clicking on the "Zoom" button allows you to trace out a box to use as new limits for the plot. Use a left-mouse drag to draw a box to enclose the region to be displayed.
1669
+
Note that when this mode is selected, other actions with the mouse (such as dragging plot elements, peak picking, etc.) cannot be performed. </li>
1670
+
<li><imgalt="" src="images/pan.png" /> Clicking on "Pan" button allows the limits to be repositioned: by dragging with the left mouse button, or increase or decrease the scaling: by dragging with the right button either vertically or horizontally (control+left also works on Macs).
1671
+
Note that when this mode is selected, other actions with the mouse cannot be performed. </li>
1604
1672
<li><imgalt="" src="images/homestack.png" /> The "Home" button resets the scale to allow the data to fit into the plot. Note that a stack of scaling values are stored. Clicking left arrow provides access to a previous scaling values and then the right button returns to later values. </li>
1605
1673
<li>Pressing the "s" key with the graphics window active causes the plot to enter "sqrt" plotting mode, where intensity values are shown as <spanclass="arithmatex">\(\sqrt I\)</span>. This also causes the tickmarks and difference plot positions to be repositioned to their initial locations. Pressing the key again exits "sqrt" plotting mode.
1606
1674
Pressing this key twice is a convenient way to reset the plotting scaling and tickmark positioning. </li>
1607
1675
<li><imgalt="" src="images/KeyPress.png" /> An alternative to remembering what key to press is to use the "K" button which provides a menu of all defined key strokes and allows the action to be selected from that menu, so "sqrt" plotting mode can also be selected using this button. </li>
1608
1676
<li>When the main data tree item is selected, tickmarks and the difference plot location can be selected by dragging the plot item (using the left mouse button) to the desired location. </li>
1609
-
<li>To specify exact values for plot limits, one can use the Commands/Set plot limits... menu command associated with main data tree item. One can select which limits are to b specified in the window that is opened, so it is possible to scale only the "x" axis. </li>
1677
+
<li>To specify exact values for plot limits, one can use the Commands/"Set plot limits..." menu command (with the main PWDR data tree item only.) One can select which limits are to b specified in the window that is opened, so it is possible to scale only the "x" axis. </li>
1678
+
<li><imgalt="" src="images/magbuttons.png" /> The eight yellow "V" buttons can be used to reposition or rescale the plot axes. The four to the left reposition the plot limits but do not change the range. The "V" points in the direction the data move relative to the axes. The next two change the x-axis scaling and the final two change the y-axis scaling. The first of each pair zooms in (decreasing the plot range).
1679
+
The advantage of using these buttons over the "Zoom" and "Pan" buttons is that these controls will not interfere with other mouse actions, while "Zoom" and "Pan" mode need to be toggled off before other mouse actions are possible. </li>
1610
1680
</ul>
1611
-
<p>Note that plot scaling and difference/tickmark positioning is usually retained when selecting other histograms from the data tree, but only when the histogram type is the same. When moving from x-ray to neutron data, it is assumed that the scaling should be reset. </p>
1612
-
<p>It is also possible to define default scaling/appearance settings for a histogram. Use the commands above to define the scaling, as well as position difference & tickmark items (and then press the "!" key (or access from the "K" button. The current display settings for the histogram are saved and these settings will be used when the histogram is redisplayed by clicking on a data tree entry. This is of particular value when working with several histograms having different Q and/or intensity ranges. </p>
<p>Once a first histogram has been selected, the plot scaling and difference/tickmark positioning is usually retained unchanged when selecting other histograms from the data tree, but only when the histogram type is the same. This allows one to zoom in on a region of a pattern and then look at that region in a series of histograms. If this is not the desired behavior, use the "!" key command to set default settings for histograms.
1683
+
When moving from x-ray to neutron data, for example, the scaling etc. is reset. </p>
<p>It is also possible to define default scaling/appearance settings for a histogram. Use the commands above to define the scaling, as well as position difference & tickmark items (and then press the "!" key (or access from the "K" button). The current display settings for the histogram are saved and these settings will be used when the histogram is redisplayed by clicking on a data tree entry. This is of particular value when working with several histograms having different Q and/or intensity ranges. Note that the default settings for a histogram are saved in the project (.gpx) file. </p>
1613
1686
<p><aname="PWDR_plot_actions"></a>
1614
1687
<aname="PWDR_dragticks"></a></p>
1615
1688
<h3id="plot-actions">Plot Actions</h3>
1616
1689
<p>Here is a list of things that one can do with the plot of diffraction patterns from the
1617
-
PWDR entry and some of its subtree entries.</p>
1690
+
PWDR entry and some of its subdata tree entries.</p>
1618
1691
<h4id="for-all-plots">For all plots</h4>
1619
1692
<ul>
1620
1693
<li><strong>Move mouse</strong>: As the mouse cursor is moved across the plot, the plot status line will show the cursor position as <spanclass="arithmatex">\(2\theta\)</span> (or TOF), d-spacing, Q and the intensity.</li>
1621
-
<li><strong>Press keyboard keys</strong> - See below. The "s" and "w" modes are commonly used.</li>
1622
-
<li><strong>Drag tick marks</strong> - Select any tick mark and while holding the left mouse button down, move them to where you want them to be displayed (press the s key for Sqrt(I) mode to reset to the defaults). With multiple phases, selecting the 2nd phase, etc. changes the vertical spacing between phases. Tick marks can be dragged only when the main PWDR or Reflection Lists tree items are selected.</li>
1623
-
<li><strong>Drag the difference curve</strong> - When the "normal" obs-calc plot is shown (as opposed to the "w" mode plot where (obs-calc)/sigma is displayed, select any point in the difference curve and while holding the left mouse button down move the curve to where you want it to be displayed (press the s key for Sqrt(I) mode to reset it to the default). The difference curve can be dragged only when the main PWDR or Reflection Lists tree items are selected.</li>
1624
-
<li><strong>Display/edit histogram information</strong> - By selecting different tree items within the current histogram, it is possible to display and, in some cases, edit information associated with the histogram. See above.</li>
1694
+
<li><strong>Press keyboard keys</strong> - <ahref="#PWDR_keylist">See below</a>. The "s" and "w" modes are commonly used.</li>
1625
1695
<li><strong>Create a Publication-ready plot</strong> - Press the green "P" button to generate a customizable version of the displayed plot that can be exported at high resolution, <ahref="#PWDR_publication">as discussed below</a>.</li>
1696
+
</ul>
1697
+
<h4id="for-specific-datatree-items">For specific datatree items</h4>
1698
+
<p>Display/edit histogram information: Each PWDR subdata tree entry offers access to different sections of the histogram data and settings. In the Data Window one can see this information, plot it and in many cases, edit information associated with the histogram. </p>
1699
+
<ul>
1700
+
<li><strong>Drag tickmarks</strong> - Select any tickmark and while holding the left mouse button down, move them to where you want them to be displayed (press the s key for Sqrt(I) mode to reset to the defaults). With multiple phases, selecting the 2nd phase, etc. changes the vertical spacing between phases. tickmarks can be dragged only when the main PWDR or Reflection Lists tree items are selected.</li>
1701
+
<li><strong>Drag the difference curve</strong> - When the "normal" obs-calc plot is shown (as opposed to the "w" mode plot where (obs-calc)/sigma is displayed, select any point in the difference curve and while holding the left mouse button down move the curve to where you want it to be displayed (press the s key for Sqrt(I) mode to reset it to the default). The difference curve can be dragged only when the main PWDR or Reflection Lists tree items are selected.</li>
1626
1702
<li><strong>Highlight reflection positions</strong> - By selecting the "Reflection Lists" tree item and a phase, if the mouse is moved to the region of a reflection in that phase, a "tool tip" (temporarily displayed text) with the indices for nearby reflections is displayed.</li>
1627
1703
<li><strong>Label reflection positions</strong> - Right-clicking on a reflection tickmark (in the PWDR and "Reflection Lists" plots) will cause an hkl label with the indices for nearby reflection(s) to be displayed. Once a reflection label is shown, it can be dragged to a new position vertically with the left mouse button. Right-clicking on the label will delete it. All hkl labels can be deleted with a menu command. The hkl labels, including their positions, are saved in the GSAS-II project (.gpx) file.</li>
1628
1704
</ul>
@@ -1634,14 +1710,14 @@ <h4 id="for-line-plots">For line plots</h4>
1634
1710
<li><strong>a: add magnification region</strong> - Adds a magnification region to the plot and sets the magnification amount to x2. This can be edited (or deleted) in the table that is shown when the main PWDR tree entry is selected.</li>
1635
1711
<li><strong>b: subtract background</strong> - Subtracts the fitted background from the powder pattern. Pressing this again turns the mode off.</li>
1636
1712
<li><strong>c: contour on/off</strong> - if multiple powder profiles, then a contour plot is shown of the observed intensities. Data sets of differing length are padded/trimmed to match the 1st pattern.</li>
1637
-
<li><strong>f: toggle full length reflection tick marks</strong> - Reflection positions are indicated when the main PDWR tree entry is selected, or when the "Reflection Lists" entry is selected by display of vertical lines. These lines can be shown as tickmarks, short lines or a thin vertical line the full length of the plot. The 'f' key toggles between the two modes.</li>
1713
+
<li><strong>f: toggle full length reflection tickmarks</strong> - Reflection positions are indicated when the main PDWR tree entry is selected, or when the "Reflection Lists" entry is selected by display of vertical lines. These lines can be shown as tickmarks, short lines or a thin vertical line the full length of the plot. The 'f' key toggles between the two modes.</li>
1638
1714
<li><strong>g: grid lines</strong> - Toggle drawing vertical and horizontal grid lines at all axis label positions. Applies to all plot modes.</li>
1639
1715
<li><strong>m: toggle single/multiple plot</strong> - In single mode, this will show only the one selected from the data tree. In multiple “waterfall” mode all are superimposed; offset options (below) can be used to shift them. The selected one is displayed as points & curve for obs/calc; others as obs lines only.</li>
1640
1716
<li><strong>n: log(I) on/off</strong> - changes the y-axis to be the log10 of the intensity; difference curve is not shown for log(I) on.</li>
1641
1717
<li><strong>o: remove obs...</strong> - toggle removal of the labels for obs, calc, etc (only phase names for tickmarks remain).</li>
1642
1718
<li><strong>p: plot partials</strong> - plots the partial contributions from each phase, if they have been computed (using Calculate/Compute partials) in addition to the </li>
1643
1719
<li><strong>q: toggle Q plot</strong> - changes the x-axis to Q (in Å<spanclass="arithmatex">\(^{-1}\)</span>). This will put multiple powder patterns taken at different wavelengths/types on the same x-axis scale.</li>
1644
-
<li><strong>s: Sqrt(I) on/off</strong> - changes the y-axis to be the square-root of the intensity. The tick mark and the difference curve location is reset.</li>
1720
+
<li><strong>s: Sqrt(I) on/off</strong> - changes the y-axis to be the square-root of the intensity. The tickmark and the difference curve location is reset.</li>
1645
1721
<li><strong>t: toggle d-space plot</strong> - changes the x-axis to d-space (in Å). This will put multiple powder patterns taken at different wavelengths/types on the same x-axis scale.</li>
1646
1722
<li><strong>T: toggle plot title</strong> - Removes or returns the plot title</li>
1647
1723
<li><strong>v: Save CSV output</strong> - exports the contents of the plot as a .csv file for use in plotting and spreadsheet programs.</li>
Copy file name to clipboardExpand all lines: GSASII/help/powderindexppeaks.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1371,7 +1371,7 @@ <H3 style="color:blue;font-size:1.1em">What is plotted here?</H3>
1371
1371
1372
1372
<p>The plot is the largely the same as for the parent PWDR Powder Histograms tree entry
1373
1373
<ahref="powder.html#PWDR_plot_actions">with the same plot actions</a> and <ahref="powder.html#PWDR_keylist">same key press commands</a>.
1374
-
Specific to this plot are the peak positions that are shown as vertical solid blue lines. To show that a peak is selected, it is highlighted in yellow and, if "use" is selected, the blue line is made wider. The upper and lower data limits are shown as red and green dashed vertical lines, respectively. Tick marks aer not shown. Limits cannot be dragged from this data tree item. </p>
1374
+
Specific to this plot are the peak positions that are shown as vertical solid blue lines. To show that a peak is selected, it is highlighted in yellow and, if "use" is selected, the blue line is made wider. The upper and lower data limits are shown as red and green dashed vertical lines, respectively. Tickmarks are not shown. Limits cannot be dragged from this data tree item. </p>
1375
1375
<H3style="color:blue;font-size:1.1em">What can I do with the plot?</H3>
Copy file name to clipboardExpand all lines: GSASII/help/powderparent.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1369,11 +1369,11 @@ <H3 style="color:blue;font-size:1.1em">What is plotted here?</H3>
1369
1369
1370
1370
<p>The powder patterns that are part of your project are shown in the graphics window.
1371
1371
They can be displayed as a stack of powder patterns, just a single pattern, or as a contour image of the peak intensities, or be plotted individually.
1372
-
What can be done here will depend on how many patterns are shown as well as what mode is selected. Note that the tick marks and difference curve positions can be customized, as discussed below.</p>
1372
+
What can be done here will depend on how many patterns are shown as well as what mode is selected. Note that the tickmarks and difference curve positions can be customized, as discussed below.</p>
1373
1373
<H3style="color:blue;font-size:1.1em">What can I do with the plot?</H3>
1374
1374
1375
1375
<p>There are a huge number of options that can be used with the plot to change different aspects of how pattern(s) are plotted. The controls are largely the same for graphics associated with the main PWDR Powder Histograms tree entry and
1376
-
most subtree entries. See the <ahref="powder.html">overview</a> section for the <ahref="powder.html#PWDR_plot_actions">plot actions</a> and <ahref="powder.html#PWDR_keylist">key press commands</a>. </p>
1376
+
most subdata tree entries. See the <ahref="powder.html">overview</a> section for the <ahref="powder.html#PWDR_plot_actions">plot actions</a> and <ahref="powder.html#PWDR_keylist">key press commands</a>. </p>
0 commit comments