Changeset 11363ee in sasview for calculatorview/src/sans


Ignore:
Timestamp:
Jan 25, 2013 10:58:32 AM (12 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a805118
Parents:
1de85f4
Message:

fixes of connecting lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/src/sans/perspectives/calculator/gen_scatter_panel.py

    r1de85f4 r11363ee  
    734734        # IV. Draws atomic bond with grey lines if any 
    735735        if output.has_conect: 
    736             ax.plot(output.line_x, output.line_z, output.line_y, '-',  
    737                     lw=0.6, c="grey", alpha=0.3) 
     736            for ind in range(len(output.line_x)): 
     737                ax.plot(output.line_x[ind], output.line_z[ind],  
     738                        output.line_y[ind], '-', lw=0.6, c="grey", alpha=0.3)  
    738739        # V. Draws magnetic vectors 
    739740        if has_arrow and len(pos_x) > 0:      
Note: See TracChangeset for help on using the changeset viewer.