/!\ Since groovy, rxplot becomes DEPRECATED and is succeeded by rqt_plot.

Overview

rxplot is a tool in the rxtools package that plots data from one or more ROS topic fields using Matplotlib. For plotting of data contained in bag files, you may wish to try the rxbag tool instead.

rxplot.gif

Usage

$ rxplot /topic1/field1 /topic2/field2

To graph the data all on the same plot:

$ rxplot /topic1/field1,/topic2/field2

To graph multiple fields of a message:

$ rxplot /topic1/field1:field2:field3

All of these options can be specified together, e.g.:

$ rxplot /topic1/field1,/topic2/field2:field3 /topic4/field4

Options

-l LEGEND, --legend=LEGEND

  • Set the legend. LEGEND should be a comma-separated list of labels.

-p PERIOD, --period=PERIOD

  • Set the time period in seconds displayed in window.

-m MARKER, --marker=MARKER

  • Set the line marker, e.g. o, ^, .

-t TITLE, --title=TITLE

  • Set the title of the plot screen.

-b BUFFER, --buffer=BUFFER

  • Set size of plotting buffer in seconds (default of -1 keeps all data).

--mode=scatter <topic/field1> <topic/field2> [topic/field3] New in diamondback

  • Do scatter plot. If two arguments are provided, time is used as third axis.

--mode=3d <topic/field1> <topic/field2> [topic/field3] New in diamondback

  • Do 3d plot. If two arguments are provided, time is used as third axis.

-r REFRESH_RATE, --refresh_rate=REFRESH_RATE New in electric

  • Set refresh rate of display (default 2hz). This option is useful for reducing the CPU usage of rxplot.

-P, --pause New in Electric

  • Start in paused state.

--ymin, --ymax New in Fuerte

  • Set y-axis scale limits.

Tutorials

  1. Entendendo tópicos no ROS

    Este tutorial apresenta tópicos no ROS, e também como utilizar as ferramentas rostopic e rqt_plot.

  2. ROS Topics 이해하기

    This tutorial introduces ROS topics as well as using the rostopic and rqt_plot commandline tools.

  3. Tìm hiểu về ROS Topics

    Hướng dẫn giới thiệu về ROS topics cũng như dùng công cụ dòng lệnh rostopicrqt_plot .

  4. Comprendre les Topics ROS

    Ce tutoriel introduit les concepts de Topics sous ROS ainsi que l'utilisation des outils en ligne de commande rostopic et rqt_plot.

  5. ROSトピックの理解

    このチュートリアルはrostopicrqt_plotなどのコマンドとともに,ROSのtopicについて学びます.

  6. Understanding ROS Topics

    This tutorial introduces ROS topics as well as using the rostopic and rqt_plot commandline tools.

  7. Understanding ROS Topics

    This tutorial introduces ROS topics as well as using the rostopic and rqt_plot commandline tools.

  8. 理解ROS话题

    本教程介绍了ROS话题,以及如何使用rostopicrqt_plot命令行工具。

  9. No Title

    No Description

Wiki: rxplot (last edited 2013-07-23 05:14:05 by IsaacSaito)