Generates a new plot window or activates a plot window. figure generates a new plot window for the next plot command. figure(a) makes plot a the current plot.
obj = figure
obj = figure(a)
Reference to the plot window. a can be a reference or a positive integer. If plot window a exists, figure(a) makes that plot window visible and current. If plot window a does not exist, figure(a) creates a new plot window and assigns it the number a if a is a positive integer. figure(a) returns an error if a is an invalid reference.
Reference to the current plot window.
X = 0:1:10; plot(X) figure Y = X.*X; plot(Y)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported