public void writeFigTreeBlock(Map<String,Object> settings) throws IOException {
  writer.println("\nbegin figtree;");
  for (  String key : settings.keySet()) {
    Object value=settings.get(key);
    writer.println("\tset " + key + "="+ createString(value)+ ";");
  }
  writer.println("end;\n");
}

public void writeFigTreeBlock ( Map < String , Object > settings ) throws IOException { writer . println ( "\nbegin figtree;" ) ; for ( String key : settings . keySet ( ) ) { Object value = settings . get ( key ) ; writer . println ( "\tset " + key + "=" + createString ( value ) + ";" ) ; } writer . println ( "end;\n" ) ; }
writes a ' figtree ' block .
