<commit_before># plot-1d
![Screenshot of sine function scatter plot](./resources/images/screenshots/sine.png)

Generates scatter plots from formatted text files.

## Usage
The shell script plot-1d.sh launches the application.

`cd ./plot-1d`
`./plot-1d.sh <data.1d>`

The input data file should contain two columns of numbers separated by a space. The first column gives x-axis values and the second column gives the corresponding y-axis value. For example a file containing the following represents a few data points on the line y = 2x + 1 for the x values 0, 1, 2, 3, 4.

`
0 1
1 3
2 5
3 7
4 9
`

You can find some example input files under ./test/data.

`
# Plots a sine function
./plot-1d.sh ./test/data/sine.1d 

# Plots a square wave
./plot-1d.sh ./test/data/square_wave.1d

# Plots the price of diamonds versus mass for a sample of 50,000 diamonds
# x: price of diamond in US dollars
# y: mass in carats
./plot-1d.sh ./test/data/diamonds.1d

# Plots Francis Galton's data on the heights of parents and their children (Galton 1886)
# x: child height in inches
# y: average of parents height in inches
./plot-1d.sh ./test/data/galton.1d
`

## Requirements
This program was devoloped using Java 7 and make.

## Licence
Copyright 2015 <NAME>

This program is provided under the MIT License. You are generally free to use plot-1d for anything you find useful. See LICENSE for details.<commit_msg>Fixed markdown formatting for code blocks<commit_after># plot-1d
![Screenshot of sine function scatter plot](./resources/images/screenshots/sine.png)

Generates scatter plots from formatted text files.

## Usage
The shell script plot-1d.sh launches the application.

```cd ./plot-1d
./plot-1d.sh <data.1d>
```

The input data file should contain two columns of numbers separated by a space. The first column gives x-axis values and the second column gives the corresponding y-axis value. For example a file containing the following represents a few data points on the line `y = 2x + 1` for the x values 0, 1, 2, 3, 4.

```0 1
1 3
2 5
3 7
4 9
```

You can find some example input files under ./test/data.

```
# Plots a sine function
./plot-1d.sh ./test/data/sine.1d 

# Plots a square wave
./plot-1d.sh ./test/data/square_wave.1d

# Plots the price of diamonds versus mass for a sample of 50,000 diamonds
# x: price of diamond in US dollars
# y: mass in carats
./plot-1d.sh ./test/data/diamonds.1d

# Plots <NAME>'s data on the heights of parents and their children (Galton 1886)
# x: child height in inches
# y: average of parents height in inches
./plot-1d.sh ./test/data/galton.1d
```

## Requirements
This program was devoloped using Java 7 and make.

## Licence
Copyright 2015 <NAME>

This program is provided under the MIT License. You are generally free to use plot-1d for anything you find useful. See LICENSE for details.
{'fraction_non_alphanumeric': 0.0884016973125884, 'fraction_numerical': 0.03182461103253183, 'mean_word_length': 3.6, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '30780', 'n_tokens_mistral': 958, 'n_tokens_neox': 868, 'n_words': 415}