# How do you generate a wave scatter plot showing the probability of occurrence of sea states?

I need to generate a wave scatter plot(Hs,Tp) showing the probability of occurrence of sea states using a wave climate record sampled every 3 hours a day for a whole year. Does anyone know how to do this? or maybe suggest to me some references?

• What do you want on the X-axis and Y-axis? LibreOffice Calc has the ability to create an XY (Scatter) chart. Have you tried it? Aug 19, 2022 at 17:55
• How do you want the X axis to look? with day#+time ? date + time? or ?? Aug 19, 2022 at 20:45
• with 2 cycles per day and 8 samples per day you only get 4 samples per cycle so some peaks will be missed ... to convert text to a date i.stack.imgur.com/KUPd1.png Aug 19, 2022 at 20:59
• researchgate.net/profile/Guillaume-Ducrozet/publication/… Aug 21, 2022 at 10:56
• waveworkshop.org/13thWaves/Papers/… Aug 21, 2022 at 10:58

Judging by the question, I assume this task is with regards to a homework assignment or a similar project. I will therefore not provide an explicit solution, but rather some guiding assistance.

As you've stated, 3-hour sea states are usually defined by their peak wave period $$T_p$$ and significant wave height $$H_s$$. If one is to describe the environmental conditions (here waves, but same applies for e.g. wind) for a given location, it is therefore of interest to know the frequency of each $$[H_s$$, $$T_p]$$ pair, or in other words, $$H_s | T_p$$ (i.e. $$H_s$$ given $$T_p$$). The date and time the pair occured is actually of no interest, since we're only looking to extract the statistical properties anyway.

The industry standard for displaying such data is in terms of a scatter diagram as shown in Figure 1. Although a scatter plot or a contour plot might be more visually pleasing, a table greatly surpasses them in terms of accurately describing the measured hindcast data. It is then left to the user of the data to extract the data as needed. I will not go into detail on how the data may be further used.

Figure 1: Omni-directional scatter diagram of the Haltenbaken area (Laverton, 2015). Each number represents the amount of occurences of that specific $$[H_s$$, $$T_p]$$ pair during the entire measured interval. Sums are displayed on each side for simplicity.

When it comes to creating a scatter diagram directly from hindcast data, I would recommend you to script it in a programming language of your choosing. The psudo-code goes something along the lines of:

for all sea states
extract Hs and Tp