Changeset 3351 for trunk/GSASIIplot.py
- Timestamp:
- Apr 17, 2018 7:57:47 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r3349 r3351 3246 3246 legLbl = [] 3247 3247 legLine = [] 3248 obsartist = None 3248 3249 for i,l in enumerate(Plot.lines): 3249 3250 lbl = l.get_label() … … 3256 3257 mew = l.get_mew() 3257 3258 if lbl[1:] == 'obs': 3259 obsartist = l 3258 3260 siz = float(plotOpt['markerSiz']) 3259 3261 marker = plotOpt['markerSym'] … … 3301 3303 rsig = np.sqrt(Pattern[1][2]) 3302 3304 rsig[rsig>1] = 1 3303 ax1.plot(Pattern[1][0],Pattern[1][5]*rsig,color='k') 3305 if obsartist: 3306 ax1.plot(obsartist.get_xdata(),Pattern[1][5]*rsig,color='k') 3304 3307 if legLine: 3305 3308 ax0.legend(legLine,legLbl,loc='best',prop={'size':plotOpt['labelSize']})
Note: See TracChangeset
for help on using the changeset viewer.