Changeset 2797 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Apr 19, 2017 3:15:36 PM (7 years ago)
Author:
vondreele
Message:

fix simulation problem when calc intensities too small

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2796 r2797  
    31443144        Plot.set_xscale("log",nonposy='mask')
    31453145        Plot.set_xlim([np.min(2.*Bins)/2.,np.max(2.*Bins)*2.])
    3146     Plot.bar(2.*Bins-Dbins,BinMag,2.*Dbins,facecolor='white')       #plot diameters
     3146    Plot.bar(2.*Bins-Dbins,BinMag,2.*Dbins,facecolor='green')       #plot diameters
     3147    colors=['b','r','c','m','k']
    31473148    if 'Size Calc' in data:
    31483149        Rbins,Dist = data['Size Calc']
    31493150        for i in range(len(Rbins)):
    31503151            if len(Rbins[i]):
    3151                 Plot.plot(2.*Rbins[i],Dist[i])       #plot diameters
     3152                Plot.plot(2.*Rbins[i],Dist[i],color=colors[i%5])       #plot diameters
    31523153    Page.canvas.draw()
    31533154
Note: See TracChangeset for help on using the changeset viewer.