Beginners difficulties making graphs

Without a reproducible example, it is difficult to help.

That being said, aravind's reply should fix it.