// This macro demonstrates how to add lines that vary // in width to an overlay. Requires ImageJ 1.52i or later. newImage("Untitled", "8-bit ramp", 400, 600, 1); setColor("red"); width = 1; for (y=50; y<600; y+=50) { setLineWidth(width++); Overlay.drawLine(0, y, 512, y); } Overlay.show;