Changeset 2725


Ignore:
Timestamp:
Feb 24, 2017 12:39:36 PM (5 years ago)
Author:
vondreele
Message:

further fix to azimuth in stress/strain intensity plot - no exact match to image features

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r2724 r2725  
    247247    for i in range(0,C,1):      #step around ring in 1mm increments
    248248        a = 360.*i/C
    249         x = radii[1]*cosd(a+phi)        #major axis
    250         y = radii[0]*sind(a+phi)
     249        x = radii[1]*cosd(a-phi+90.)        #major axis
     250        y = radii[0]*sind(a-phi+90.)
    251251        X = (cphi*x-sphi*y+cent[0])*scalex      #convert mm to pixels
    252252        Y = (sphi*x+cphi*y+cent[1])*scaley
Note: See TracChangeset for help on using the changeset viewer.