How to obtain a graph of acceleration waveforms using K-NET CSV format data


K-NET CSV format describes physical values of acceleration waveforms in CSV format. By reading the K-NET CSV format data with spreadsheet software, a graph of acceleration waveforms can be obtained. This webpage describes how to obtain a graph of acceleration waveforms using Microsoft Excel.

Here, Excel 2019 is used.


1. open a file in Excel

  1. Double-click the downloaded K-NET CSV format data. Or, right-click ⇒ [Open from Program] ⇒ [Excel].

2. Set the time format.

  1. Select cell A17 and enter "Shift + End" and "End + ↓" to select all the absolute time cells.
  2. Right-click on the selected cells and click on "Format Cells" from the menu that appears.
  3. In the Display Format tab of the Format Cells, set the following and select OK

Classification: "user-defined
Type: "yyyy/mm/dd hh:mm:ss.00" (manual input)

3. Add a graph.

  1. Click on a cell with no input.
  2. Add "Scatter Plot (Linear) " from the Insert tab Charts
  3. Right-click on the graph area and select "Select Data
  4. When the data source selection screen appears, select "Add" for the legend item.
  5. The Edit Series window will appear, so add a series.
  6. 系列名:NS
    系列Xの値:Time列
    系列Yの値:NS列


  7. Select "OK" to return to the data source selection window and select "OK" again.

This will create a graph.

3. Adjust the graph.

  1. Double-click on the horizontal axis and set the axis options.

  2. Boundary value (/day, so adjust to the nearest decimal place)
  3. Replace the decimal point portion of the minimum and maximum values with that of the calculation result.

    Minimum value: "04:34:45" → ( (4 x 60 + 34 ) x 60 + 45 ) / (24 * 60 * 60) → 0.190556

    Maximum value: "04:36:24" → ( (4 x 60 + 36 ) x 60 + 24 ) / (24 * 60 * 60) → 0.191944

  4. Unit (main)
  5. Enter the results of the following calculations

    Scale: 20 seconds → 20/ (24 x 60 x 60) → 0.000347

  6. Label
  7. Bottom/left edge

  8. Display Format Code
  9. hh:mm:ss


  10. Adding Axis Labels
  11. Select [Add Graph Elements] ⇒ Axis Labels ⇒ First Vertical Axis from the Design tab, and enter any label name.