updated least_demo to be able to generate figures with seperate scale