A specific coding question

You mention attachments but there are none...
I assume we can consider the code leading up to the creation of data9 to be working for you as you would wish, and you require more specific assistance in plotting data9 in the way you describe, therefore consider providing a representative sample of data9 in a forum friendly form, i.e. as described in the guide.