Changeset 2472


Ignore:
Timestamp:
Sep 17, 2016 9:51:45 AM (7 years ago)
Author:
vondreele
Message:

fix color issues with structure plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2470 r2472  
    772772    wxGreen = wx.Colour(0,255,0)
    773773    Bl = np.array([0,0,255])
    774     Or = np.array([255,128,0])
    775     wxOrange = wx.Colour(255,128,0)
    776774    uBox = np.array([[0,0,0],[1,0,0],[1,1,0],[0,1,0],[0,0,1],[1,0,1],[1,1,1],[0,1,1]])
    777775    uEdges = np.array([
     
    56955693            atColor = atmFade[iat]*np.array(CL)/255.
    56965694            if drawingData['showRigidBodies'] and atom[ci] in rbAtmDict:
    5697                 bndColor = Or
     5695                bndColor = Or/255.
    56985696            else:
    56995697                bndColor = atColor
     
    58165814                color = np.array(MCSA['AtInfo'][aType][1])
    58175815                RenderSphere(x,y,z,0.2,color/255.)
    5818                 RenderBonds(x,y,z,mcsaBonds[ind],0.03,Gr)
     5816                RenderBonds(x,y,z,mcsaBonds[ind],0.03,Gr/255.)
    58195817                RenderLabel(x,y,z,name,0.2,wxOrange,matRot)
    58205818        if Backbones:
Note: See TracChangeset for help on using the changeset viewer.