1 | <html> |
---|
2 | <head> |
---|
3 | <title>EXPGUI Tutorial #6</title> |
---|
4 | </head> |
---|
5 | |
---|
6 | <style> |
---|
7 | A:link {text-decoration:none} |
---|
8 | A:vlink {text-decoration:none} |
---|
9 | </style> |
---|
10 | |
---|
11 | <BODY BGCOLOR="#FFFFFF" |
---|
12 | topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" |
---|
13 | text="#000000" link="#0033ff" vlink="#0033ff" alink="#0033ff"> |
---|
14 | |
---|
15 | <? |
---|
16 | include("/var/www/include/navigation.inc"); |
---|
17 | include("/var/www/include/utility.inc"); |
---|
18 | ?> |
---|
19 | <blockquote> |
---|
20 | |
---|
21 | <CENTER> |
---|
22 | <H1>GSAS Nickel example using EXPGUI (part 6)</H1> |
---|
23 | </CENTER> |
---|
24 | <H1> |
---|
25 | 6. Plot data using POWPLOT or LIVEPLOT |
---|
26 | </H1> |
---|
27 | At this point in the GSAS tutorial |
---|
28 | program POWPLOT is used to plot the diffraction data. This |
---|
29 | is done in EXPGUI by pressing POWPLOT button in the button bar, or |
---|
30 | by pressing the POWPLOT menu item in either the Powder menu |
---|
31 | or the Graphs menu. The input supplied to POWPLOT and the |
---|
32 | results are the same as what is shown in the menu, so this will |
---|
33 | not be repeated here. |
---|
34 | <P> |
---|
35 | EXPGUI does offer another way to display diffraction data, LIVEPLOT. |
---|
36 | Similar to the way POWPREF was run in the previous step, |
---|
37 | LIVEPLOT can be started by pressing LIVEPLOT button in the button bar, |
---|
38 | or by pressing the LIVEPLOT menu item in the Graphs menu. |
---|
39 | <P> |
---|
40 | <img src="liveplot1.gif" align=left> |
---|
41 | Since no cycles of refinement have been run, |
---|
42 | after LIVEPLOT has generated a blank window, it must be |
---|
43 | triggered to read the POWPREF output by pressing the "Update Plot" |
---|
44 | item in the File menu. |
---|
45 | A plot similar to the one to the left is then displayed. |
---|
46 | <P> |
---|
47 | The contents of the LIVEPLOT window are discussed more fully |
---|
48 | <A HREF="#liveplot"> |
---|
49 | below</A>, but |
---|
50 | note that the calculated diffraction intensities are all |
---|
51 | zero at this point, since GENLES |
---|
52 | has not yet been to run to simulate the pattern. |
---|
53 | Likewise the background values have not yet been fit so |
---|
54 | this curve is a poor fit. |
---|
55 | The blue line shows the values of |
---|
56 | obs-calc (diff), offset negatively. The sum of the fixed background |
---|
57 | values plus the fitted background function is shown |
---|
58 | difference |
---|
59 | pattern is |
---|
60 | <BR clear=left><P> |
---|
61 | <img src="liveplot2.gif" align=left> |
---|
62 | Note that the region plotted can be changed by clicking with the left |
---|
63 | mouse button, to outline the region to be shown, as seen to the left. |
---|
64 | When the left mouse button is pressed a second time, the graph is "zoomed in," |
---|
65 | as is shown below. |
---|
66 | To "zoom out" to the previous region, press the right mouse button. |
---|
67 | <BR clear=left><P> |
---|
68 | <img src="liveplot3.gif"> |
---|
69 | <P> |
---|
70 | <img src="liveplot4.gif" align=left> |
---|
71 | Reflection positions can be marked, using the File/Tickmarks menu. |
---|
72 | <BR clear=left><P> |
---|
73 | <img src="liveplot5.gif" align=left> |
---|
74 | Reflection indices can be displayed by pressing the "h" (or "H") key in the |
---|
75 | position of the reflection to be labeled. The size and time before |
---|
76 | the reflection labels are removed is determined by values in the Options/HKL labeling menu. |
---|
77 | <BR clear=left><P> |
---|
78 | <I>Do not exit LIVEPLOT at this time as it will be used again in part 8 of this |
---|
79 | tutorial.</I> |
---|
80 | <a name="liveplot"> |
---|
81 | <H4>LIVEPLOT Contents and Options</H1> |
---|
82 | </a> |
---|
83 | Note that the observed data points (obs) are marked with "x" symbols in |
---|
84 | LIVEPLOT. |
---|
85 | This can be changed in the Options/Obs symbol menu. The simulated |
---|
86 | diffraction data based on the crystallographic model (calc) is shown as |
---|
87 | a red line. The lower blue line shows the values of |
---|
88 | obs-calc (diff), offset negatively to avoid overlapping with the previous |
---|
89 | curves. The green line (mostly obscured in this figure) shows the background |
---|
90 | function (bckg). This is the sum of the fixed background |
---|
91 | values (if any) plus the fitted background function (if used). |
---|
92 | The dashed magenta vertical lines denote reflection positions. The color |
---|
93 | and lengths of these lines can be customized using the |
---|
94 | options/Configure Tickmarks menu item, for example, auto placement mode |
---|
95 | creates the more customary short tickmarks placed below the pattern, |
---|
96 | at different heights when more than one phase is present. |
---|
97 | <P> |
---|
98 | There are many other options available in LIVEPLOT in the Options menu. The |
---|
99 | Appearance and location of the tickmarks can be set. The symbol and symbol size |
---|
100 | used for observed data can be selected. |
---|
101 | The X and Y units can be changed to Q or d-space values. Background |
---|
102 | can be subtracted. The legend can be removed from the plot. |
---|
103 | |
---|
104 | <BR clear=left><HR> |
---|
105 | Previous step: <A HREF="nickel5.html"> |
---|
106 | Run POWPREF</A> |
---|
107 | <BR> |
---|
108 | Next step: <A HREF="nickel7.html"> |
---|
109 | Setup for Least-Squares Refinement</A> |
---|
110 | |
---|
111 | <HR> |
---|
112 | </blockquote> |
---|
113 | <P><font size=-1><A HREF="MAILTO:crystal@NIST.gov?subject=WWW page <?=$PHP_SELF?>">Comments, corrections or questions: crystal@NIST.gov</A></font><BR> |
---|
114 | <font size=-1><? lastmod(); ?> </font> |
---|
115 | <BR>$Revision: 588 $ $Date: 2009-12-04 23:08:41 +0000 (Fri, 04 Dec 2009) $ |
---|
116 | </body> |
---|
117 | </html> |
---|