Changeset 4033 for trunk


Ignore:
Timestamp:
Jun 19, 2019 9:13:11 PM (6 years ago)
Author:
vondreele
Message:

line masks now drawn on image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIplot.py ΒΆ

    r4032 r4033  
    74317431        if newImage:
    74327432            Imin,Imax = Data['range'][1]
    7433             MA = ma.masked_greater(ma.masked_less(G2frame.ImageZ,Zlim[0]),Zlim[1])
    7434            
     7433            MA = ma.masked_greater(ma.masked_less(G2frame.ImageZ,Zlim[0]),Zlim[1])           
    74357434            MaskA = ma.getmaskarray(MA)
     7435            for xline in Masks.get('Xlines',[]):
     7436                MaskA[xline,:] = True
     7437            for yline in Masks.get('Ylines',[]):
     7438                MaskA[:,yline] = True
    74367439            A = G2img.ImageCompress(MA,imScale)
    74377440            AM = G2img.ImageCompress(MaskA,imScale)
Note: See TracChangeset for help on using the changeset viewer.