gpsplot.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!--
  3. This file is Copyright 2020 by the GPSD project
  4. SPDX-License-Identifier: BSD-2-clause
  5. -->
  6. <!DOCTYPE refentry PUBLIC
  7. "-//OASIS//DTD DocBook XML V4.1.2//EN"
  8. "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
  9. <refentry id='gpsplot.1'>
  10. <refentryinfo>
  11. <date>28 September 2020</date>
  12. </refentryinfo>
  13. <refmeta>
  14. <refentrytitle>gpsplot</refentrytitle>
  15. <manvolnum>1</manvolnum>
  16. <refmiscinfo class="source">The GPSD Project</refmiscinfo>
  17. <refmiscinfo class="manual">GPSD Documentation</refmiscinfo>
  18. </refmeta>
  19. <refnamediv id='name'>
  20. <refname>gpsplot</refname>
  21. <refpurpose>tool to dynamically dump plot data from gpsd</refpurpose>
  22. </refnamediv>
  23. <refsynopsisdiv id='synopsis'>
  24. <cmdsynopsis>
  25. <command>gpsplot</command>
  26. <arg choice='opt'>-?</arg>
  27. <arg choice='opt'>--count <replaceable>COUNT</replaceable></arg>
  28. <arg choice='opt'>-D <replaceable>DEBUG-LEVEL</replaceable></arg>
  29. <arg choice='opt'>--device <replaceable>DEVICE</replaceable></arg>
  30. <arg choice='opt'>--fields <replaceable>FIELDS</replaceable></arg>
  31. <arg choice='opt'>-h</arg>
  32. <arg choice='opt'>--help</arg>
  33. <arg choice='opt'>--host <replaceable>HOST</replaceable></arg>
  34. <arg choice='opt'>-n <replaceable>COUNT</replaceable></arg>
  35. <arg choice='opt'>--plottype <replaceable>PLOTTYPE</replaceable></arg>
  36. <arg choice='opt'>--port <replaceable>PORT</replaceable></arg>
  37. <arg choice='opt'>--seconds <replaceable>SECONDS</replaceable></arg>
  38. <arg choice='opt'>-u <replaceable>UNITS</replaceable></arg>
  39. <arg choice='opt'>--units <replaceable>UNITS</replaceable></arg>
  40. <arg choice='opt'>-V</arg>
  41. <arg choice='opt'>-x <replaceable>SECONDS</replaceable></arg>
  42. <group>
  43. <replaceable>server</replaceable>
  44. <group>
  45. <replaceable>:port</replaceable>
  46. <group>
  47. <replaceable>:device</replaceable>
  48. </group>
  49. </group>
  50. </group>
  51. </cmdsynopsis>
  52. </refsynopsisdiv>
  53. <refsect1 id='description'>
  54. <title>DESCRIPTION</title>
  55. <para>
  56. <application>gpsplot</application> is a tool to connect
  57. to <application>gpsd</application> and dynamically plot data
  58. to the users screen. Plot types include scatterplots and stripcharts.
  59. </para>
  60. <para>Plotting requires the Python Matplot lib module, and its many
  61. dependencies be installed on the display host, but not on the host
  62. that is running the <application>gpsd</application> instance.</para>
  63. </refsect1>
  64. <refsect1 id='options'>
  65. <title>OPTIONS</title>
  66. <para>--count [COUNT] Exit after [COUNT] plot messages.</para>
  67. <para>--device [DEVICE] Connect to device [DEVICE].</para>
  68. <para>--fields [FIELDS] The code for the fields to plot.
  69. FIELDS is one of: llh (lat/lon/altHAE) or llm (lat/lon/altMSL).</para>
  70. <para>--help Print a usage message and exit.</para>
  71. <para>--plottype [PLOTTYPE] The type of plot to make. PLOTTYPE is
  72. one of 'scatterplot' or'stripchart'.</para>
  73. <para>--port [PORT] Connect on port [PORT].</para>
  74. <para>--seconds [seconds] Exit after delay of [seconds].</para>
  75. <para>-? Print a usage message and exit.</para>
  76. <para>-D [debug-level] Set debug level..</para>
  77. <para>-h print a usage message and exit.</para>
  78. <para>-n [COUNT] Exit after [COUNT] plot messages.</para>
  79. <para>-p [PORT] Connect on port [PORT].</para>
  80. <para>-V prints the program version, then exits.</para>
  81. <para>-x [seconds] Exit after delay of [seconds].</para>
  82. </refsect1>
  83. <refsect1 id='examples'>
  84. <title>EXAMPLES</title>
  85. <para>Generate a scatterplot of Latitude, Longitude and the Altitude
  86. above Mean Sea Level (altMSL). Stop after 60 seconds:
  87. <programlisting>
  88. gpsplot --seconds 60 --fields llm
  89. </programlisting>
  90. </para>
  91. <para>Generate a scatterplot of Latitude, Longitude and the Height
  92. Above Ellipsoid (altHAE). Stop after 60 fixes:
  93. <programlisting>
  94. gpsplot --count 60 --plottype stripchart
  95. </programlisting>
  96. </para>
  97. <para>Generate a scatterplot locally of Latitude, Longitude and altMSL
  98. from a remote <application>gpsd</application> instannce at host "example.com"
  99. and the remote device "/dev/ttyS0". Stop after 60 fixes:
  100. <programlisting>
  101. gpsplot --count 60 --fields llm example.com::/dev/ttyS0
  102. </programlisting>
  103. </para>
  104. </refsect1>
  105. <refsect1 id='see_also'>
  106. <title>SEE ALSO</title>
  107. <para>
  108. <citerefentry>
  109. <refentrytitle>gpsd</refentrytitle>
  110. <manvolnum>8</manvolnum>
  111. </citerefentry>,
  112. <citerefentry>
  113. <refentrytitle>gps</refentrytitle>
  114. <manvolnum>1</manvolnum>
  115. </citerefentry>,
  116. <citerefentry>
  117. <refentrytitle>gpscat</refentrytitle>
  118. <manvolnum>1</manvolnum>
  119. </citerefentry>.
  120. <citerefentry>
  121. <refentrytitle>gpsfake</refentrytitle>
  122. <manvolnum>1</manvolnum>
  123. </citerefentry>,
  124. <citerefentry>
  125. <refentrytitle>gpsprof</refentrytitle>
  126. <manvolnum>1</manvolnum>
  127. </citerefentry>,
  128. </para>
  129. </refsect1>
  130. <refsect1 id='maintainer'>
  131. <title>AUTHOR</title>
  132. <para>Gary E. Miller <email>gem@rellim.com</email>.</para>
  133. </refsect1>
  134. </refentry>