Changeset 4752
- Timestamp:
- Jan 9, 2021 8:55:00 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4735 r4752 8274 8274 pI[1] %= len(atoms) 8275 8275 Tx,Ty,Tz = atoms[pI[1]][cx:cx+3] 8276 rho = G2mth.getRho([Tx,Ty,Tz],mapData) 8276 8277 txt = '' 8277 8278 SetSelectedAtoms(pI[1]) 8278 8279 drawingData['viewPoint'] = [np.array([Tx,Ty,Tz]),pI] 8279 8280 SetViewPointText(drawingData['viewPoint'][0]) 8280 if ct: G2frame.G2plotNB.status.SetStatusText('View point at atom '+atoms[pI[1]][ct-1]+txt,1) 8281 if ct: 8282 line = 'View point at atom '+atoms[pI[1]][ct-1]+txt 8283 if rho: 8284 line += ', density = %.2f'%rho 8285 G2frame.G2plotNB.status.SetStatusText(line,1) 8281 8286 NPkey = True 8282 8287
Note: See TracChangeset
for help on using the changeset viewer.