해리s 2017. 11. 2. 06:26

f, axarr = plt.subplots(1, 3, figsize=_figsize)

    r = get_s4reward(rewards)

    axarr[0].scatter(zmu_proj[idx_l,0],zmu_proj[idx_l,1],s=r[idx_l],marker='o',edgecolors='g',facecolors=_facecolors,linewidths=2,label='Left')

    axarr[0].set_xlim([-m,m]); axarr[0].set_ylim([-m,m]); axarr[0].set_title('Left', fontsize=25)

    axarr[1].scatter(zmu_proj[idx_r,0],zmu_proj[idx_r,1],s=r[idx_r],marker='o',edgecolors='r',facecolors=_facecolors,linewidths=2,label='Left')

    axarr[1].set_xlim([-m,m]); axarr[1].set_ylim([-m,m]); axarr[1].set_title('Right', fontsize=25)

    axarr[2].scatter(zmu_proj[idx_c,0],zmu_proj[idx_c,1],s=r[idx_c],marker='o',edgecolors='b',facecolors=_facecolors,linewidths=2,label='Left')

    axarr[2].set_xlim([-m,m]); axarr[2].set_ylim([-m,m]); axarr[2].set_title('Center', fontsize=25)

    plt.show()