K>> for idx=1:15
idx
btnName=buttonTypesEnum(idx)
matlab.graphics.controls.ToolbarController.createToolbarButton(btnName, parentAxes)
end
idx =
1
btnName =
1×1 cell array
{'restoreview'}
ans =
ToolbarPushButton (Restore View) with properties:
Tooltip: 'Restore View'
Icon: 'restoreview'
ButtonPushedFcn: @(e,d)matlab.graphics.controls.internal.resetHelper(d.Axes,true)
Show all properties
idx =
2
btnName =
1×1 cell array
{'zoomout'}
ans =
ToolbarStateButton (Zoom Out) with properties:
Tooltip: 'Zoom Out'
Icon: 'zoomout'
ValueChangedFcn: @(e,d)matlab.graphics.interaction.webmodes.toggleMode(d.Axes,'zoomout',d.Value)
Show all properties
idx =
3
btnName =
1×1 cell array
{'zoomin'}
ans =
ToolbarStateButton (Zoom In) with properties:
Tooltip: 'Zoom In'
Icon: 'zoomin'
ValueChangedFcn: @(e,d)matlab.graphics.interaction.webmodes.toggleMode(d.Axes,'zoom',d.Value)
Show all properties
idx =
4
btnName =
1×1 cell array
{'stepzoomout'}
ans =
[]
idx =
5
btnName =
1×1 cell array
{'stepzoomin'}
ans =
[]
idx =
6
btnName =
1×1 cell array
{'pan'}
ans =
ToolbarStateButton (Pan) with properties:
Tooltip: 'Pan'
Icon: 'pan'
ValueChangedFcn: @(e,d)matlab.graphics.interaction.webmodes.toggleMode(d.Axes,'pan',d.Value)
Show all properties
idx =
7
btnName =
1×1 cell array
{'rotate'}
ans =
ToolbarStateButton (Rotate 3D) with properties:
Tooltip: 'Rotate 3D'
Icon: 'rotate'
ValueChangedFcn: @(e,d)matlab.graphics.interaction.webmodes.toggleMode(d.Axes,'rotate',d.Value)
Show all properties
idx =
8
btnName =
1×1 cell array
{'datacursor'}
ans =
[]
idx =
9
btnName =
1×1 cell array
{'brush'}
ans =
ToolbarStateButton (Brush/Select Data) with properties:
Tooltip: 'Brush/Select Data'
Icon: 'brush'
ValueChangedFcn: @(e,d)matlab.graphics.interaction.webmodes.toggleMode(d.Axes,'brush',d.Value)
Show all properties
idx =
10
btnName =
1×1 cell array
{'export'}
ans =
ToolbarDropdown (export) with properties:
Tag: 'export'
Icon: 'export'
Children: [3×1 ToolbarPushButton]
Show all properties
idx =
11
btnName =
1×1 cell array
{'saveas'}
ans =
ToolbarPushButton (Save As) with properties:
Tooltip: 'Save As'
Icon: 'saveas'
ButtonPushedFcn: [function_handle]
Show all properties
idx =
12
btnName =
1×1 cell array
{'copyimage'}
ans =
ToolbarPushButton (Copy as Image) with properties:
Tooltip: 'Copy as Image'
Icon: 'copyimage'
ButtonPushedFcn: [function_handle]
Show all properties
idx =
13
btnName =
1×1 cell array
{'copyvector'}
ans =
ToolbarPushButton (Copy as Vector Graphic) with properties:
Tooltip: 'Copy as Vector Graphic'
Icon: 'copyvector'
ButtonPushedFcn: [function_handle]
Show all properties
idx =
14
btnName =
1×1 cell array
{'default'}
ans =
7×1 graphics array:
ToolbarPushButton (Restore View)
ToolbarStateButton (Zoom Out)
ToolbarStateButton (Zoom In)
ToolbarStateButton (Pan)
ToolbarStateButton (Rotate 3D)
ToolbarStateButton (Brush/Select Data)
ToolbarDropdown (export)
idx =
15
btnName =
1×1 cell array
{'none'}
ans =
[]