question: public void makeTruthtableBargraph ( Gate g , String prefix , String suffix ) { String name_rpu_data = prefix + "_" + g . Name + "_" + suffix + ".txt" ; LogicCircuit lc = new LogicCircuit ( ) ; String rpu_data = lc . printLogicRPU ( g ) ; Util . fileWriter ( _output_directory + name_rpu_data , rpu_data , false ) ; String logic_string = BooleanLogic . logicString ( g . get_logics ( ) ) ; logic_string = logic_string . replaceAll ( "[^\\d.]" , "" ) ; String cmd = "perl " + _home + "/resources/scripts/make_gnuplot_truthtable.pl " + _output_directory + " " + _dateID + " " + name_rpu_data + " " + logic_string ; Util . executeCommand ( cmd ) ; }
target:  Synopsis    [  ] Bar graph with blue ON bars and red OFF bars for the output gate(s)