ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to change line color automatically in rxgraph?

asked 2011-07-21 19:28:28 -0600

sam gravatar image

updated 2011-08-26 01:52:32 -0600

Because when rxgraph show many lines on the screen,sometimes it's difficult to each line of goal.

If it is possible to change color automatically,it will be easy to understand.

The normal black line:

image description

I use grep to find color,but what I found is not black:

 sam@/opt/ros/diamondback/stacks/rx/rxgraph/src/rxgraph$ grep color *            return '  %s [color="red", shape="doublecircle",      label="%s", URL="node:%s"];'%(            return '  %s [color="orange", shape="doublecircle",      label="%s", URL="node:%s"];'%(
 二進位格式檔案 dotcode.pyc 符合


Where is the setting of line of color?

Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2011-07-25 07:47:08 -0600

mmwise gravatar image

Currently there is no way to change the color of the lines in rxgraph programatically. But you could add that feature to rxgraph and patch it back to ROS.

edit flag offensive delete link more


If I want to see the source code of rxgraph,where is it? I trace 'rxgraph' only see import roslib; roslib.load_manifest('rxgraph');import rxgraph;rxgraph.rxgraph_main()
sam gravatar image sam  ( 2011-08-24 18:34:10 -0600 )edit
I have updated the origin post,and I want to find out which portion I can focus.Thank you~
sam gravatar image sam  ( 2011-08-26 01:54:00 -0600 )edit

Question Tools


Asked: 2011-07-21 19:28:28 -0600

Seen: 346 times

Last updated: Aug 26 '11