// Uses Table.applyMacro() and Table.deleteColumn() to // rearrange the columns in a "Results" table. saveSettings(); run("Blobs (25K)"); run("Set Measurements...", "area mean centroid feret's"); setAutoThreshold("Default"); Table.reset("Results"); run("Analyze Particles...", "display include in_situ"); wait(1000); code = "FeretMinimum=MinFeret; FeretMaximum=Feret;" +"FeretAngleCopy=FeretAngle; FeretStartX=FeretX;" +"FeretStartY=FeretY"; Table.applyMacro(code); Table.deleteColumn("MinFeret"); Table.deleteColumn("FeretAngle"); Table.deleteColumn("FeretX"); Table.deleteColumn("FeretY"); Table.renameColumn("FeretAngleCopy", "FeretAngle"); Table.update; restoreSettings;