CloseTimeCoursePlot Method


Description

Closes a previously created time course window.

Syntax

objDocument.CloseTimeCoursePlot(strTCWindowName)

Remarks

Valid only if objDocument is of type VMR. The window name (strTCWindowName) refers to the name specified when the ROI Time Course window has been created using the ShowTimeCourseOfVoxel or ShowTimeCourseOfVoxelEx method.

Example

' VBScript
doc.
ShowTimeCourseOfVoxelEx 100, 180, 145, "TC window", False, 523, 0, 500, 181, True, False
doc.
MoveTimeCoursePlot "TC window", 523, 181, 500, 181
doc.
CloseTimeCoursePlot "TC window"

// JScript
doc.ShowTimeCourseOfVoxelEx(100, 180, 145, "TC window", false, 523, 0, 500, 181, true, false);
doc.
MoveTimeCoursePlot("TC window", 523, 181, 500, 181);
doc.
CloseTimeCoursePlot("TC window");

# PerlScript
$doc->ShowTimeCourseOfVoxelEx(100, 180, 145, "TC window", 0, 523, 0, 500, 181, 1, 0);
$doc->MoveTimeCoursePlot("TC window", 523, 181, 500, 181);
$doc->CloseTimeCoursePlot("TC window");