Ask Your Question

How to change line color automatically in rxgraph?

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

sam gravatar image

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

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 -0500

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 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 274 times

Last updated: Aug 26 '11