Renaming a plot window of a function

Hello,

Is the following method the only way to change the window name of .plot following a function?

{ ... }.plot.parent.name_("new name")

An actual example of a code block is as follows:

(
s.waitForBoot{
	var oscillator, modes, cycle;
	oscillator = Impulse;
	modes = [\linear, \points, \plines, \levels, \steps, \bars];
	cycle = 1000;
	modes.do{ |mode, i|
		var interval = cycle.reciprocal * 3;
		{
			{ oscillator.ar(cycle) }
			.plot(interval, bounds: Rect((i/2).floor*500, i%2*330, 500, 300))
			.plotMode_(mode)
			.parent.name_(oscillator.cs + mode)
		}.defer;
		interval.wait
	}
}
)

Thank you so much for your attention and participation.