Started code to make function to position frequency labels based on frequency value