The Plot Toolbar

This toolbar is only active when a graph window is selected. It provides single-click access to the commands of the Graph menu and of the Data menu which are used for the modification of plots and the data points of the plots.

Figure 4-3. The QtiPlot Plot Toolbar

Table 4-6. Plot toolbar commands

IconCommandKeyDescription
Add Error Bars...Ctrl-BAdds error bars to a curve on the active plot layer.
Add/Remove Curves...Alt-CAdds curves to, or removes curves from, the active plot window.
Add Function...Ctrl-Alt-FAdds a curve based on a function to the active plot layer.
New LegendCtrl-LAdds a new legend to the active plot layer.
Exchange X-Y Axes Swaps the X and Y axes of the the active layer.
Rescale To Show AllCtrl-Shift-RRescales the axes to show all data points.
Disable tools Reverts to normal pointer mode. Useful when you have selected another pointer mode on a plot layer, such as the data reader.
Zoom Commands Selects the last used zoom tool or selects a new one from a drop down list.
Select Data RangeAlt-SSwitches the active plot layer into Select Data Range mode.
Read Data Commands Selects the last used data reader tool or selects a new one from a drop down list.
Edit Data Commands Selects the last used data edit tool or selects a new one from a drop down list.
Add Text Commands Selects the last used add text tool or selects a new one from a drop down list.
Add Line/Arrow Commands Selects the last used add arrow/line tool or selects a new one from a drop down list.
Geometric Shape Commands Selects the last used geometric shape tool or selects a new one from a drop down list.
Add ImageAlt-IInserts a new image into the active plot layer.
Z-order Commands Selects the last used Z-order tool or selects a new one from a drop down list. These tool buttons are available only when one or more annotation objects are selected in the active plot layer.
Align Objects Commands Selects the last used alignment tool or selects a new one from a drop down list. These tool buttons are available only when several annotation objects are selected in the active plot layer.

Table 4-7. Plot Toolbar Zoom Commands

IconCommandKeyDescription
Zoom In/Out and Drag Canvas Switches the active plot layer into dynamic zoom/drag mode.
Zoom/Drag Canvas Horizontally Switches the active plot layer into dynamic horizontal zoom/drag mode.
Zoom/Drag Canvas Vertically Switches the active plot layer into dynamic vertical zoom/drag mode.
Zoom inCtrl-+Switches the active plot layer into zoom mode.
Zoom outCtrl--Zooms the active plot layer out one step in the zoom history.

Table 4-8. Read Data Commands

IconCommandKeyDescription
Data ReaderCtrl-DSwitches the data display into Data Reader mode.
Annotation Switches the active plot layer into Annotation mode.
Screen Reader Switches the active plot layer into Screen Reader mode.

Table 4-9. Edit Data Commands

IconCommandKeyDescription
Draw Data PointsAdds new data points on the active plot layer.
Move Data pointsCtrl-Alt-MAllows drag-mode moving of data points on the active plot layer.
Remove Bad Data PointsAlt-BAllows removal of data points from the active plot layer.
Remove Bad Data PointsDrags a selected curve around on plot layer.

Table 4-10. Add Text Commands

IconCommandKeyDescription
Add TextAlt-TAdds a new text element on the active plot layer.
Add Equation... commandAlt-QAdds a new Tex formatted equation on the active plot layer.
Add Time StampCtrl-Alt-TAdds a time/date label on the active plot layer.

Table 4-11. Add Line/Arrow Commands

IconCommandKeyDescription
Draw ArrowCtrl-Alt-AAdds a new arrow on the active plot layer.
Draw LineCtrl-Alt-LAdds a new line on the active plot layer.

Table 4-12. Geometric Shape Commands

IconCommandKeyDescription
Add RectangleCtrl-Alt-RAdds a new rectangle on the active plot layer.
Add EllipseCtrl-Alt-EAdds a new ellipse (circle) on the active plot layer.

Table 4-13. Z-order Commands

IconCommandKeyDescription
Move to TopMoves the selected item to the top of the layer's z-order.
Move to BottomMoves the selected item to the bottom of the layer's z-order.

Table 4-14. Align Objects Commands

IconCommandKeyDescription
Align Left Aligns selected plot objects along the left edge.
Align Right Aligns selected plot objects along the right edge.
Align Top Aligns selected plot objects along the top edge.
Align Bottom Aligns selected plot objects along the bottom edge.