Changeset 4074


Ignore:
Timestamp:
Jul 28, 2019 7:40:40 AM (2 years ago)
Author:
vondreele
Message:

fix size/mustrain plots so diameters match coefficients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4072 r4074  
    55925592    PHI = np.linspace(0.,360.,40,True)
    55935593    PSI = np.linspace(0.,180.,40,True)
    5594     X = np.outer(npcosd(PHI),npsind(PSI))
    5595     Y = np.outer(npsind(PHI),npsind(PSI))
    5596     Z = np.outer(np.ones(np.size(PHI)),npcosd(PSI))
     5594    X = np.outer(npcosd(PHI),npsind(PSI))/2.
     5595    Y = np.outer(npsind(PHI),npsind(PSI))/2.
     5596    Z = np.outer(np.ones(np.size(PHI)),npcosd(PSI))/2.
    55975597    try:        #temp patch instead of 'mustrain' for old files with 'microstrain'
    55985598        if plotDict[plotType]:
Note: See TracChangeset for help on using the changeset viewer.