Changeset 4463 for trunk


Ignore:
Timestamp:
Jun 4, 2020 3:40:34 PM (3 years ago)
Author:
toby
Message:

Redisplay structure after a shift-click to select an atom; update plot help info

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4450 r4463  
    82278227            elif event.RightIsDown():
    82288228                GetTruePosition(xy,True)
     8229            Draw('Shift atom select')
    82298230        else:
    82308231            drawingData['oldxy'] = list(xy)
  • trunk/help/gsasII.html

    r3977 r4463  
    52775277
    52785278<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
    5279 "Times New Roman"'>This window shows the reflections for the selected phase
    5280 found in this powder data set. It is generated by a Rietveld or Pawley
    5281 refinement.</p>
     5279"Times New Roman"'>This window shows the reflections for the selected
     5280phase (selected by the tab at top)
     5281found in this powder data set. It is generated by a Rietveld
     5282(including Pawley and LeBail) refinements. Reflection d-spaces are
     5283generated directly from lattice parameters but 2θ values will
     5284incorporate corrections, such as for sample displacement, zero, etc.
     5285</p>
    52825286
    52835287<h5 style='margin-left:.5in'><span style='mso-fareast-font-family:"Times New Roman"'>What
     
    63966400
    63976401<p class=MsoListParagraphCxSpFirst style='margin-left:1.0in;mso-add-space:auto;
    6398 text-indent:-.25in;mso-list:l5 level1 lfo28'><![if !supportLists]><span
    6399 class=MsoHyperlink><span style='mso-fareast-font-family:"Times New Roman";
    6400 color:windowtext;text-decoration:none;text-underline:none'><span
    6401 style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    6402 </span></span></span></span><![endif]><b style='mso-bidi-font-weight:normal'>Atom</b><b
    6403 style='mso-bidi-font-weight:normal'><span style='mso-fareast-font-family:"Times New Roman"'>
    6404 selection from table</span></b><span style='mso-fareast-font-family:"Times New Roman"'>
    6405 - These are controlled by the mouse and the Shift/Ctrl/Alt keys:<span
    6406 class=MsoHyperlink><span style='color:windowtext;text-decoration:none;
    6407 text-underline:none'><o:p></o:p></span></span></span></p>
     6402text-indent:-.25in;mso-list:l5 level1 lfo28'>1. Atom
     6403selection from table - These are controlled by the mouse and the
     6404Shift/Ctrl/Alt keys. Note that for most purposes (one exception is
     6405atom reordering which requires an Alt-Left-click on the rows), selection of any
     6406cell for an atom will work equivalently with selection of the entire row:</p>
    64086407
    64096408<p class=MsoListParagraphCxSpMiddle style='margin-left:1.5in;mso-add-space:
     
    66746673of this dialog box before proceeding.</p>
    66756674
     6675<h5 style='margin-left:.5in'><span
     6676style='mso-fareast-font-family:"Times New Roman"'>
     6677What can I do with the plot?</span></h5>
     6678
     6679<P style='margin-left:1.0in'>
     6680A plot will be displayed only if the Draw Options or Draw Atoms tabs
     6681are visited before use of the Atoms tab. In that case the crystal
     6682structure is shown. Use of the mouse buttons changes the
     6683view of the structure and can be used to select atoms.</P>
     6684<BL>
     6685<LI style='margin-left:1.4in; text-indent:-.2in'>
     6686<B>Left drag</B>:   
     6687Holding down left button rotates axes around screen x & y
     6688</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6689<B>Right drag</B>: 
     6690Holding down right button translates the fractional
     6691coordinates assigned to the view point (which is kept at the center of
     6692the plot). The structure will appear to translate.
     6693The view point can also be entered directly in the Draw Options.
     6694</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6695<B>Middle drag</B>: 
     6696Holding down center button rotates axes around screen z (direction
     6697perpendicular to screen).
     6698</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6699<B>Wheel</B>: 
     6700Rotating the scroll wheel: changes “camera position” (zoom in/out)
     6701</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6702<B>Shift+Left click</B>:   
     6703Holding down the shift key while clicking on an atom with the left
     6704mouse button causes that atom to be selected (Shift + a Right click
     6705does the same). Any previously selected
     6706atoms will be reset. If two atoms are overlapped in the
     6707current view, then the top-most atom will usually be selected.
     6708</LI></BL>
     6709
    66766710<h4 style='margin-left:0.25in'><u><a name="Draw_Options">
    66776711Draw Options</a></u></h4>
     
    66806714can I do here?<span class=MsoHyperlink><span style='color:#4F4FFF;text-decoration:
    66816715none;text-underline:none'><o:p></o:p></span></span></span></h5>
     6716
     6717<p class=MsoNormal style='margin-left:.75in'>
     6718The Draw Options window provides access to a number of items that control how
     6719the structure is displayed.
     6720</p>
     6721
    66826722
    66836723<h5 style='margin-left:.5in'><span
     
    66936733style='mso-fareast-font-family:"Times New Roman"'>
    66946734What can I do with the plot?</span></h5>
     6735
    66956736<P style='margin-left:1.0in'>
    6696 ...
    6697 </P>
     6737Use of the mouse buttons when viewing a crystal structure changes the
     6738view of the structure:</P>
     6739<BL>
     6740<LI style='margin-left:1.4in; text-indent:-.2in'>
     6741Holding down left button (left drag): rotates axes around screen x & y
     6742</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6743Holding down right button (right drag): translates the fractional
     6744coordinates assigned to the view point (which is kept at the center of
     6745the plot). Note that the view point coordinates can also be entered
     6746directly.
     6747</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6748Holding down center button (center drag): rotates axes around screen z
     6749</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6750Rotating the scroll wheel: changes “camera position” (zoom in/out)
     6751</LI></BL>
    66986752
    66996753
     
    69146968style='mso-fareast-font-family:"Times New Roman"'>
    69156969What can I do with the plot?</span></h5>
     6970
    69166971<P style='margin-left:1.0in'>
    6917 ...
    6918 </P>
     6972Use of the mouse buttons when viewing a crystal structure changes the
     6973view of the structure:</P>
     6974<BL>
     6975<LI style='margin-left:1.4in; text-indent:-.2in'>
     6976<B>Left drag</B>:   
     6977Holding down left button rotates axes around screen x & y
     6978</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6979<B>Right drag</B>: 
     6980Holding down right button translates the fractional
     6981coordinates assigned to the view point (which is kept at the center of
     6982the plot). The structure will appear to translate.
     6983The view point can also be entered directly in the Draw Options.
     6984</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6985<B>Middle drag</B>: 
     6986Holding down center button rotates axes around screen z (direction
     6987perpendicular to screen).
     6988</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6989<B>Wheel</B>: 
     6990Rotating the scroll wheel: changes “camera position” (zoom in/out)
     6991</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6992<B>Shift+Left click</B>:   
     6993Holding down the shift key while clicking on an atom with the left
     6994mouse button causes that atom to be selected. Any previously selected
     6995atoms will be reset. If two atoms are overlapped in the
     6996current view, then the top-most atom will usually be selected.
     6997</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     6998<B>Shift+Right click</B>:   
     6999Holding down the shift key while clicking on an atom with the right
     7000mouse button causes the atom to be selected if previously unselected
     7001and unselected if previously selected. Any previously selected
     7002atoms will be continue to be selected so shift-right click can be used
     7003to add atoms to the selection list. If two atoms are overlapped in the
     7004current view, then the top-most atom will usually be selected.
     7005</LI></BL>
    69197006
    69207007<h4 style='margin-left:0.25in'><a name="RB_Models">RB Models</a></h4>
    69217008
    6922 <p class=MsoNormal style='margin-left:.5in'>This gives the list of
    6923 included <a href="#Rigid_bodies">Rigid bodies</a> in this phase</p>
     7009<p class=MsoNormal style='margin-left:.5in'>This is used to insert
     7010rigid bodies into a structure. The rigid bodies must first be defined
     7011for the project using the <a href="#Rigid_bodies">Rigid bodies tree
     7012item</a>. It also allows control of the location of the rigid body and
     7013in this phase</p>
     7014<h5 style='margin-left:.5in'><span
     7015style='mso-fareast-font-family:"Times New Roman"'>
     7016What can I do with the plot?</span></h5>
     7017
     7018<P style='margin-left:1.0in'>
     7019Use of the mouse buttons when viewing a crystal structure changes the
     7020view of the structure:</P>
     7021<BL>
     7022<LI style='margin-left:1.4in; text-indent:-.2in'>
     7023Holding down left button (left drag): rotates axes around screen x & y
     7024</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     7025Holding down right button (right drag): translates the fractional
     7026coordinates assigned to the view point (which is kept at the center of
     7027the plot). The structure will appear to translate.
     7028The view point can also be entered directly in the Draw Options.
     7029</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     7030Holding down center button (center drag): rotates axes around screen z
     7031</LI><LI style='margin-left:1.4in; text-indent:-.2in'>
     7032Rotating the scroll wheel: changes “camera position” (zoom in/out)
     7033</LI></BL>
     7034
     7035<P style='margin-left:1.0in'>
     7036When a rigid body is being inserted into a structure, both the rigid
     7037body and the crystal structure are displayed. It is useful to plan for
     7038this by preselecting the atoms in the Draw Atoms list and to have
     7039atoms displayed as "Sticks" or "Ball-and-Sticks." The rigid body will
     7040be displayed as "Ball-and-Sticks" but bonds will be in green. Use of the Alt
     7041key causes the above mouse movements to reposition the rigid body
     7042rather than change the view of the crystal structure:</P>
     7043<BL>
     7044<LI style='margin-left:1.4in; text-indent:-.2in'>
     7045<B>Alt+Left drag</B>:   
     7046Holding Alt while dragging the mouse with the left button down
     7047rotates the rigid body around screen x & y axes
     7048<LI style='margin-left:1.4in; text-indent:-.2in'>
     7049<B>Alt+Middle drag</B>:   
     7050Holding Alt while dragging the mouse with the middle button down
     7051rotates the rigid body around screen z axis (out of screen)
     7052<LI style='margin-left:1.4in; text-indent:-.2in'>
     7053<B>Alt+Right drag</B>:   
     7054Holding Alt while dragging the mouse with the right button down
     7055translates the rigid body in the screen x & y directions (rotate the
     7056plot to see and move in the rigid body in the third direction.)
     7057Pressing the "Lock" checkbox next to the origin location prevents the
     7058origin from being changed in this way.
     7059</LI></BL>
    69247060
    69257061<h4 style='margin-left:0.25in'><a name="Texture">Texture </a></h4>
     
    71787314<hr size=2 width="100%" align=center>
    71797315
    7180 <!-- hhmts start -->Last modified: Mon May 13 12:33:41 CDT 2019 <!-- hhmts end -->
     7316<!-- hhmts start -->Last modified: Thu Jun  4 15:21:22 CDT 2020 <!-- hhmts end -->
    71817317
    71827318</div>
Note: See TracChangeset for help on using the changeset viewer.