fix bug and add photic
update bar graph
Update to draw with customize spectral bar graph