Skip to content

A Python script to visualize GPS data with GNU plot

License

Notifications You must be signed in to change notification settings

obitech/gpsplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gpsplot.py - A tiny program to plot GPS output

GNUplot 5 output file

GPS data file

GPS data

GNU plot

You can visualize it using GNU plot and the following commands:

$ 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. The following was provided:

  • diff_dist() function

About

A Python script to visualize GPS data with GNU plot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages