Frequency polygons, to shut the end points , in some diagrams one end point on either side is made on x axis. How is it done?

google has many discussions on this topic. search and read.