- Close all figure windows
- Close All Windows 4.8
- Аналоги программы
- Close All Windows at Once — Safely & Easily Quit Apps Before Shutting Down Your PC
- Command Line Usage
- close
- Syntax
- Description
- Examples
- Close a Single Figure
- Close Multiple Figures
- Close Figure with Specified Number
- Close Figure with Specified Name
- Verify Figure Is Closed
- Close All Figures with Visible Handles
- Close All Figures with Visible or Hidden Handles
- Force Figure to Close
- Input Arguments
- fig — Figure to close one or more Figure objects, figure numbers, or figure names
- Algorithms
Close all figure windows
By default, Octave refreshes the plot window when a prompt is printed, or when waiting for input. The drawnow function is used to cause a plot window to be updated.
: drawnow () : drawnow («expose») : drawnow ( term , file , debug_file )
Update figure windows and their children.
The event queue is flushed and any callbacks generated are executed.
With the optional argument «expose» , only graphic objects are updated and no other events or callbacks are processed.
The third calling form of drawnow is for debugging and is undocumented.
See also: refresh.
Only figures that are modified will be updated. The refresh function can also be used to cause an update of the current figure, even if it is not modified.
: refresh () : refresh ( h )
Refresh a figure, forcing it to be redrawn.
When called without an argument the current figure is redrawn. Otherwise, the figure with graphic handle h is redrawn.
See also: drawnow.
Normally, high-level plot functions like plot or mesh call newplot to initialize the state of the current axes so that the next plot is drawn in a blank window with default property settings. To have two plots superimposed over one another, use the hold function. For example,
displays sine and cosine waves on the same axes. If the hold state is off, consecutive plotting commands like this will only display the last plot.
: newplot () : newplot ( hfig ) : newplot ( hax ) : hax = newplot (…)
Prepare graphics engine to produce a new plot.
This function is called at the beginning of all high-level plotting functions. It is not normally required in user programs. newplot queries the «NextPlot» field of the current figure and axis to determine what to do.
Figure NextPlot | Action |
---|---|
«new» | Create a new figure and make it the current figure. |
«add» (default) | Add new graphic objects to the current figure. |
«replacechildren» | Delete child objects whose HandleVisibility is set to «on» . Set NextPlot property to «add» . This typically clears a figure, but leaves in place hidden objects such as menubars. This is equivalent to clf . |
«replace» | Delete all child objects of the figure and reset all figure properties to their defaults. However, the following four properties are not reset: Position, Units, PaperPosition, PaperUnits. This is equivalent to clf reset . |
Axis NextPlot | Action |
---|---|
«add» | Add new graphic objects to the current axes. This is equivalent to hold on . |
«replacechildren» | Delete child objects whose HandleVisibility is set to «on» , but leave axis properties unmodified. This typically clears a plot, but preserves special settings such as log scaling for axes. This is equivalent to cla . |
«replace» (default) | Delete all child objects of the axis and reset all axis properties to their defaults. However, the following properties are not reset: Position, Units. This is equivalent to cla reset . |
If the optional input hfig or hax is given then prepare the specified figure or axes rather than the current figure and axes.
The optional return value hax is a graphics handle to the created axes object (not figure).
Caution: Calling newplot may change the current figure and current axis.
: hold : hold on : hold off : hold ( hax , …)
Toggle or set the «hold» state of the plotting engine which determines whether new graphic objects are added to the plot or replace the existing objects.
Retain plot data and settings so that subsequent plot commands are displayed on a single graph. Line color and line style are advanced for each new plot added.
hold all (deprecated)
Equivalent to hold on .
Restore default graphics settings which clear the graph and reset axis properties before each new plot command. (default).
Toggle the current hold state.
When given the additional argument hax , the hold state is modified for this axis rather than the current axes returned by gca .
To query the current hold state use the ishold function.
: ishold : ishold ( hax ) : ishold ( hfig )
Return true if the next plot will be added to the current plot, or false if the plot device will be cleared before drawing the next plot.
If the first argument is an axes handle hax or figure handle hfig then operate on this plot rather than the current one.
To clear the current figure, call the clf function. To clear the current axis, call the cla function. To bring the current figure to the top of the window stack, call the shg function. To delete a graphics object, call delete on its index. To close the figure window, call the close function.
: clf : clf reset : clf ( hfig ) : clf ( hfig , «reset») : h = clf (…)
Clear the current figure window.
clf operates by deleting child graphics objects with visible handles (HandleVisibility = «on» ).
If the optional argument «reset» is specified, delete all child objects including those with hidden handles and reset all figure properties to their defaults. However, the following properties are not reset: Position, Units, PaperPosition, PaperUnits.
If the first argument hfig is a figure handle, then operate on this figure rather than the current figure returned by gcf .
The optional return value h is the graphics handle of the figure window that was cleared.
: cla : cla reset : cla ( hax ) : cla ( hax , «reset»)
Clear the current axes.
cla operates by deleting child graphic objects with visible handles (HandleVisibility = «on» ).
If the optional argument «reset» is specified, delete all child objects including those with hidden handles and reset all axis properties to their defaults. However, the following properties are not reset: Position, Units.
If the first argument hax is an axes handle, then operate on this axis rather than the current axes returned by gca .
: shg
Show the graph window.
Currently, this is the same as executing drawnow .
: delete ( file ) : delete ( file1 , file2 , …) : delete ( handle )
Delete the named file or graphics handle.
file may contain globbing patterns such as ‘ * ’. Multiple files to be deleted may be specified in the same function call.
handle may be a scalar or vector of graphic handles to delete.
Programming Note: Deleting graphics objects is the proper way to remove features from a plot without clearing the entire figure.
: close : close h : close ( h ) : close ( h , «force») : close all : close all hidden : close all force
Close figure window(s).
When called with no arguments, close the current figure. This is equivalent to close (gcf) . If the input h is a graphic handle, or vector of graphics handles, then close each figure in h .
If the argument «all» is given then all figures with visible handles (HandleVisibility = «on» ) are closed.
If the argument «all hidden» is given then all figures, including hidden ones, are closed.
If the argument «force» is given then figures are closed even when «closerequestfcn» has been altered to prevent closing the window.
Implementation Note: close operates by calling the function specified by the «closerequestfcn» property for each figure. By default, the function closereq is used. It is possible that the function invoked will delay or abort removing the figure. To remove a figure without executing any callback functions use delete . When writing a callback function to close a window do not use close to avoid recursion.
: closereq ()
Close the current figure and delete all graphics objects associated with it.
By default, the «closerequestfcn» property of a new plot figure points to this function.
Close All Windows 4.8
Close All Windows – это просто незаменимое приложение, которое способно решить очень много важных технических проблем. Главная функция софта – это быстрое закрытие всех программ и файлов, которые в момент работы запущены в операционной системе. Всего лишь одной кнопкой можно завершить все процессы, что значительно экономит время человека.
Очень часто пользователи сталкиваются с такими проблемами, когда зависают различные программы или игры. Порой в таких ситуациях не помогают даже комбинации на клавиатуре и стандартные инструменты Windows. Поэтому в данной ситуации очень сильно выручит этот цифровой продукт.
Пароль ко всем архивам: 1progs
Для выполнения своей работы достаточно запустить утилиту, выставить необходимую горячую клавишу, и свернуть приложение в системный трей. Дополнительно так же можно будет выставить параметры автозагрузки, либо режим работы с отдельными программами.
- Максимально удобный и эффективный процесс работы;
- Широкий набор инструментов;
- Автоматический режим работы;
- Не снижает производительность системы;
Скачать Close All Windows вы можете на нашем сайте, перейдя по ссылке, которая находится на активной странице.
Битая ссылка или обновилась версия программы? Напишите об этом в комментариях, обязательно обновим!
Если не подходит пароль к архиву или после извлечения не все файлы в архиве — смотрите раздел Помощь
Аналоги программы
Похожие программы смотрите в наших подборках программ
Close All Windows at Once — Safely & Easily Quit Apps Before Shutting Down Your PC
Close All Windows (or CloseAll) is an ultimate task management tool for Windows designed specifically to quickly close multiple applications. CloseAll flashes a ‘close’ signal to the selected applications and then ceases. It doesn’t use any system resources at all, since you run it only when needed. What can be easier than a task list with check boxes and OK button? Yes, you can run CloseAll without any UI too!
Pay once, use forever on any PC you own!
BLACK FRIDAY SALE: 35% off this week only!
CloseAll allows you to choose different sorting and grouping options for the task list, double-click groups to select/deselect the whole group, filter apps by typing in any part of their window title or app name, and use individual close buttons to close apps one by one.
Screenshots created with WinSnap – 20% discount if bought together with CloseAll!
New dark theme is default now:
Start typing to search for apps quickly:
Command Line Usage
You can specify /NOUI command line switch to run CloseAll in silent mode and close all windows without any UI interaction. Just open CloseAll shortcut properties and add /NOUI to the “Target” location:
CloseAll is indeed very handy if you are running
20 applications at the same time and want all of them to quit instantly. Try it now to see if it saves you time!
Pay once, use forever on any PC you own!
BLACK FRIDAY SALE: 35% off this week only!
CloseAll runs only on Windows 10, 8, 7 and Vista (32-bit and 64-bit). The native 64-bit version is included in the setup package and installed automatically.
Never miss when a new version comes out! Subscribe to updates →
close
Close one or more figures
Syntax
Description
close closes the current figure. Calling close is equivalent to calling close(gcf) .
close( fig ) closes the figure specified by fig .
close all closes all figures whose handles are visible. A figure handle is hidden if the HandleVisibility property is set to ‘callback’ or ‘off’ .
close all hidden closes all figures, including figures with hidden handles.
close all force closes all figures, including figures for which the CloseRequestFcn callback has been specified to prevent users from closing the figure window.
status = close( ___ ) returns the status of the close operation for any of the previous syntaxes. The function returns 1 if the figure or figures close and 0 otherwise. When specifying the output status , you must enclose input arguments that are character vectors in parentheses; for example, status = close(‘all’,’hidden’) .
Examples
Close a Single Figure
Create two figures, each with a line plot.
Close the first figure and display the value of f1 .
Close the current figure.
Close Multiple Figures
Create three figures, and then create a line plot. By default, the plot function targets the current figure ( f3 ).
Close figures f1 and f2 simultaneously.
Close Figure with Specified Number
Create two figures with specified numbers. Include a line plot in each figure.
Close the second figure by passing its number to the close function.
Close Figure with Specified Name
Create a figure, specify its name, and then create a line plot.
Close the figure using its name.
Verify Figure Is Closed
Create two figures, each with a line plot.
Close figure f1 . Verify that the figure is closed by displaying its status.
Close All Figures with Visible Handles
Create three figures whose handles are visible, and include a line plot in each figure.
Close all of the figures simultaneously.
Close All Figures with Visible or Hidden Handles
Create three figures, each with a line plot. Set the HandleVisibility property of the last figure to ‘off’ .
Close all of the figures. Notice that you cannot close f3 by calling close all because it has a hidden handle.
Force Figure to Close
The CloseRequestFcn property enables you to specify a close request callback, which executes whenever a user attempts to close the figure window. For example, you can display a dialog box asking to confirm or cancel the close operation or to prevent users from closing a figure that contains a UI.
Create a figure whose window cannot be closed by setting the CloseRequestFcn property to an empty character vector. Then, add a line plot to the figure.
Create a second figure with a line plot.
If you try to close the figures using the close all syntax, MATLAB® closes only f2 . To close both f1 and f2 , use the close all force syntax.
Input Arguments
fig — Figure to close
one or more Figure objects, figure numbers, or figure names
Figure to close, specified as one or more Figure objects, figure numbers, or figure names.
If fig is a figure number, MATLAB ® searches for an existing figure in which the Number property is equal to fig . By default, the Number property value is displayed in the title of the figure.
If fig is a figure name, MATLAB searches for an existing figure in which the Name property is equal to fig .
Example: close(f) closes the figure with handle f .
Example: close([f1 f2]) closes the figures with handles f1 and f2 .
Example: close(1) closes the figure with number 1 .
Example: close([1 2]) closes the figures with numbers 1 and 2 .
Example: close(‘My Figure’) closes the figure with name ‘My Figure’ .
Example: close(‘My First Figure’,’My Second Figure’) closes the figures with names ‘My First Figure’ and ‘My Second Figure’ .
To delete all figures unconditionally, use these statements:
When implementing a CloseRequestFcn callback, do not use a call to close . Calling close in the body of the callback sets up a recursion that results in a MATLAB warning. Instead, implement the callback using the delete function. delete removes the figure without executing the CloseRequestFcn callback.
If you call close on a figure without specifying the CloseRequestFcn property, the default value of the property, closereq , unconditionally deletes the figure and closes its window. To prevent deletion when calling close , implement a CloseRequestFcn callback.
Algorithms
The close function evaluates the CloseRequestFcn property of the specified figure f using this statement:
CloseRequestFcn enables you to either delay or abort the closing of a figure once close has been invoked. For example, you can display a dialog box to confirm that the user really wants to close the figure or save and clean up before closing.
The default value of CloseRequestFcn , closereq , closes the current figure using delete(get(groot,’CurrentFigure’)) . If you specify an array of figure handles, close executes the callback specified by CloseRequestFcn for each figure.
If an error terminates the execution of a CloseRequestFcn callback, then the figure is not closed.