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);
}

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 ) ; }
synopsis [ ] bar graph with blue on bars and red off bars for the output gate ( s )
