Changeset 2556 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Dec 2, 2016 4:29:37 PM (5 years ago)
Author:
vondreele
Message:

reorder contents of PDF Controls data page to put sample stuff first, then files & finally PDF calc. controls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2551 r2556  
    41414141            item = G2frame.itemPicked
    41424142            pixelSize = Data['pixelSize']
    4143             scalex = 1000./pixelSize[0]
     4143            scalex = 1000./pixelSize[0]         #microns --> 1/mm
    41444144            scaley = 1000./pixelSize[1]
    41454145            if item and G2frame.PatternTree.GetItemText(G2frame.PickId) == 'Image Controls':
     
    44534453
    44544454    imScale = 1
    4455     if len(G2frame.ImageZ) > 1024:
    4456         imScale = len(G2frame.ImageZ)/1024
     4455    maxpix = 2048
     4456    if len(G2frame.ImageZ) > maxpix:
     4457        imScale = len(G2frame.ImageZ)/maxpix
    44574458    sizexy = Data['size']
    44584459    pixelSize = Data['pixelSize']
Note: See TracChangeset for help on using the changeset viewer.