An open API service indexing awesome lists of open source software.

https://github.com/obitech/gpsplot

A Python script to visualize GPS data with GNU plot
https://github.com/obitech/gpsplot

gnuplot gps-data python tu-chemnitz

Last synced: 6 months ago
JSON representation

A Python script to visualize GPS data with GNU plot

Awesome Lists containing this project

README

          

# gpsplot.py - A tiny program to plot GPS output

![GNUplot 5 output file](https://github.com/obitech/gpsplot/blob/master/assets/track.png)

### GPS data file
![GPS data](https://github.com/obitech/gpsplot/blob/master/assets/info.png)

### GNU plot
You can visualize it using GNU plot and the following commands:
```gnuplot
$ gnuplot
gnuplot> set grid
gnuplot> unset logscale x
gnuplot> unset logscale y
gnuplot> set xlabel "Distance in km"
gnuplot> set ylabel "Height in m"
gnuplot> set terminal png
gnuplot> set output "track.png"
gnuplot> plot "gpsplot.gp" using 3:7 notitle with lines linetype 3
```
Then open track.png in your folder.

### Limitations
You need to change file names in script. Also this doesn't work yet if a time difference between two data points is more than 24h. Other than that have fun!

### Disclaimer
This was an assignment I did during my Masters program at [TU Chemnitz](https://www.tu-chemnitz.de/index.html.en "Technical University Chemnitz"). The following was provided:

* `diff_dist()` function