LabPlot/Worksheet: Difference between revisions
(12 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
==Navigation, Zooming, Panning== | ==Navigation, Zooming, Panning== | ||
Navigate in the plot: | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
|- | |- | ||
! Key/Mouse Event !! Function | ! Key/Mouse Event !! Function | ||
|- | |- | ||
| | | '''x''' || Zoom In X | ||
|- | |- | ||
| | | '''SHIFT''' + '''x''' || Zoom Out X | ||
|- | |- | ||
| | | '''CTRL''' + '''SHIFT''' + '''x''' || Auto Scale X | ||
|- | |- | ||
| | | '''y''' || Zoom In Y | ||
|- | |- | ||
| y || | | '''SHIFT''' + '''y''' || Zoom Out X | ||
|- | |- | ||
| | | '''CTRL''' + '''SHIFT''' + '''y''' || Auto Scale X | ||
|- | |- | ||
| Mouse Wheel over an | | '''+''' || Zoom Out in both directions | ||
|- | |||
| '''-''' || Zoom In in both directions | |||
|- | |||
| '''1''' || Auto Scale (show full data range) | |||
|- | |||
|- | |||
| '''Mouse Wheel''' || Zoom In/Out in both directions | |||
|- | |||
| '''Mouse Wheel over an Axis''' || Zoom In/Out in the direction of the axis | |||
|- | |||
| '''Left-Click and Mouse Move''' || Pan anywhere | |||
|- | |||
| '''TAB''' || Navigate to the next curve | |||
|- | |||
| '''SHIFT+TAB''' || Navigate to the previous curve | |||
|- | |||
| '''c''' || Switch to the cursor mouse mode | |||
|- | |||
| '''s''' || Switch to the selection mouse mode | |||
|- | |||
| '''z''' || Switch to the zoom mouse mode | |||
|} | |} | ||
Navigate in the worksheet: | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
|- | |- | ||
! Key/Mouse Event !! Function | ! Key/Mouse Event !! Function | ||
|- | |- | ||
| CTRL + +|| Zoom Out | | '''CTRL''' + '''+'''|| Zoom Out | ||
|- | |- | ||
| CTRL + - || Zoom In | | '''CTRL''' + '''-''' || Zoom In | ||
|- | |- | ||
| CTRL + 1 || Original Size | | '''CTRL''' + '''1''' || Original Size | ||
|- | |- | ||
| CTRL + | | '''CTRL''' + '''h''' || Fit to Height | ||
|- | |- | ||
| CTRL + | | '''CTRL''' + '''w''' || Fit to Width | ||
|- | |- | ||
| CTRL + | | '''CTRL''' + '''f''' || Presenter Mode (full screen) | ||
|- | |- | ||
| SPACE || show/hide the selected worksheet element | | '''CTRL''' + '''Mouse Wheel''' || Zoom In/Out | ||
|- | |||
| '''SPACE''' || show/hide the selected worksheet element | |||
|} | |} | ||
Do not confuse scale zooming and navigation with the same operations in the view. Scale related operations affect the minimal and maximal x/y values for the current plotted data range and are used to plot the different regions of the data. The operations in the worksheet affect the entire worksheet view and are used for example to enlarge the canvas for easier positioning of small objects, etc. | |||
==Layouts== | ==Layouts== |
Latest revision as of 13:31, 18 September 2022
Basic Concepts
Navigate in the plot:
Key/Mouse Event | Function |
---|---|
x | Zoom In X |
SHIFT + x | Zoom Out X |
CTRL + SHIFT + x | Auto Scale X |
y | Zoom In Y |
SHIFT + y | Zoom Out X |
CTRL + SHIFT + y | Auto Scale X |
+ | Zoom Out in both directions |
- | Zoom In in both directions |
1 | Auto Scale (show full data range) |
Mouse Wheel | Zoom In/Out in both directions |
Mouse Wheel over an Axis | Zoom In/Out in the direction of the axis |
Left-Click and Mouse Move | Pan anywhere |
TAB | Navigate to the next curve |
SHIFT+TAB | Navigate to the previous curve |
c | Switch to the cursor mouse mode |
s | Switch to the selection mouse mode |
z | Switch to the zoom mouse mode |
Navigate in the worksheet:
Key/Mouse Event | Function |
---|---|
CTRL + + | Zoom Out |
CTRL + - | Zoom In |
CTRL + 1 | Original Size |
CTRL + h | Fit to Height |
CTRL + w | Fit to Width |
CTRL + f | Presenter Mode (full screen) |
CTRL + Mouse Wheel | Zoom In/Out |
SPACE | show/hide the selected worksheet element |
Do not confuse scale zooming and navigation with the same operations in the view. Scale related operations affect the minimal and maximal x/y values for the current plotted data range and are used to plot the different regions of the data. The operations in the worksheet affect the entire worksheet view and are used for example to enlarge the canvas for easier positioning of small objects, etc.
Layouts
Though the positioning of the objects on the worksheet can be freely done, a more practical and comfortable way to do this is by using the layouting system of the worksheet. If the layout is active, the plots are automatically arranged according to the type of the layout, s.a. the examples below. The layout of the currently selected worksheet is activated (or deactivated) via the corresponding buttons in the main toolbar:
![](/images.userbase/thumb/d/d3/LabPlot_worksheet_layout_toolbar.png/500px-LabPlot_worksheet_layout_toolbar.png)
or via the context menu of the worksheet.
Three different layout types are supported - vertical, horizontal and grid layout. In case no layout has to be used and the positioning is done manually by the user, the type "No Layout" has to be selected.
The properties of the layout are modified in the tab "Layout" in the properties explorer:
![](/images.userbase/thumb/9/9f/LabPlot_worksheet_layout_properties.png/300px-LabPlot_worksheet_layout_properties.png)
Here it is possible to specify the sizes of the margins as well as of the spacing between the plots. The type of the layout can also be changed here. In case the grid layout is active, additional options for the number of rows and columns in the grid that are specific to this layout type.
When adding new plots to the worksheet, LabPlot automatically takes care of the re-calculation of the sizes and positions for all plots on the worksheet according to the specified layout properties like type, margins and spacing.
- Vertical Layout
The vertical layout arranges the plots in the vertical direction:
![](/images.userbase/thumb/d/df/LabPlot_worksheet_vertical_layout.png/400px-LabPlot_worksheet_vertical_layout.png)
- Horizontal Layout
The horizontal layout arranges the plots in the horizontal direction:
![](/images.userbase/thumb/8/8a/LabPlot_worksheet_horizontal_layout.png/400px-LabPlot_worksheet_horizontal_layout.png)
- Grid Layout
In the grid layout the plots are arranged in multiple columns and rows. The number of columns and rows can be modified by the user. In the example below six plots are arranged in two rows and three columns:
![](/images.userbase/thumb/f/f7/LabPlot_worksheet_2x3_grid_layout.png/400px-LabPlot_worksheet_2x3_grid_layout.png)
The same plots can also be arranged in three rows and two columns:
![](/images.userbase/thumb/1/10/LabPlot_worksheet_3x2_grid_layout.png/400px-LabPlot_worksheet_3x2_grid_layout.png)
Note how the sizes of the plots are automatically adjusted to fit to the fixed size of the worksheet.
- Advanced Layout
More advanced layouts with arbitrary positions and sizes of the plots are achieved by deactivating the automatic layouting in the worksheet (option "No Layout") and by setting the positions and sizes manually. Below is an example for such an arrangement of plots:
![](/images.userbase/thumb/e/e4/LabPlot_worksheet_advanced_layout.png/400px-LabPlot_worksheet_advanced_layout.png)