Plot Workbench/sv: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav
{{Docnav|[[Path Workbench|Path Workbench]]|[[Points Workbench|Points Workbench]]|IconL=Path-Workbench.svg|IconR=PointsWorkbench.svg}}
|[[Path Workbench|Path Workbench]]
|[[Points Workbench|Points Workbench]]
|IconL=Workbench_Path.svg
|IconR=Workbench_Points.svg
}}


[[Image:Workbench_Plot.svg|64px]]
[[Image:Workbench_Plot.svg|240px|center]]
{{Caption|align=center|The FreeCAD Plot Workbench Icon}}


== Introduction ==
== Introduction ==

{{TOCright}}
{{TOCright}}

The [[Plot Workbench|Plot Workbench]] allows the user to edit and save output plots created from other workbenches and tools.
The [[Image:Workbench_Plot.svg|24px]] [[Plot Workbench|Plot Workbench]] allows the user to edit and save output plots created from other workbenches and tools.


With the Plot workbench you can edit the working area, the axes, labels, titles, line styles, and other elements of plots.
With the Plot workbench you can edit the working area, the axes, labels, titles, line styles, and other elements of plots.
Line 15: Line 21:
==Tools==
==Tools==


* [[Image:Plot_Save.png|32px]] [[Plot_Save|Save plot]]: Saves the plot in several formats. You can select the output size and resolution too.
* [[Image:Plot_Save.svg|32px]] [[Plot_Save|Save plot]]: Saves the plot in several formats. You can select the output size and resolution too.
* [[Image:Plot_Axes.png|32px]] [[Plot_Axes|Axes]]: Add, remove or edit plot axes.
* [[Image:Plot_Axes.svg|32px]] [[Plot_Axes|Axes]]: Add, remove or edit plot axes.
* [[Image:Plot_Series.png|32px]] [[Plot_Series|Series]]: Edit series title and styling.
* [[Image:Plot_Series.svg|32px]] [[Plot_Series|Series]]: Edit series title and styling.
* [[Image:Plot_Grid.png|32px]] [[Plot_Grid|Grid]]: Show/hide grid.
* [[Image:Plot_Grid.svg|32px]] [[Plot_Grid|Grid]]: Show/hide grid.
* [[Image:Plot_Legend.png|32px]] [[Plot_Legend|Legend]]: Show/hide legend.
* [[Image:Plot_Legend.svg|32px]] [[Plot_Legend|Legend]]: Show/hide legend.
* [[Image:Plot_Labels.png|32px]] [[Plot_Labels|Labels]]: Edit labels.
* [[Image:Plot_Labels.svg|32px]] [[Plot_Labels|Labels]]: Edit labels.
* [[Image:Plot_Positions.png|32px]] [[Plot_Positions|Positions]]: Set elements positions.
* [[Image:Plot_Positions.svg|32px]] [[Plot_Positions|Positions]]: Set elements positions.


==Scripting==
==Scripting==
Line 30: Line 36:
* [[Plot MultiAxes tutorial]]
* [[Plot MultiAxes tutorial]]


{{Docnav
{{Docnav|[[Path Workbench|Path Workbench]]|[[Points Workbench|Points Workbench]]|IconL=Path-Workbench.svg|IconR=PointsWorkbench.svg}}
|[[Path Workbench|Path Workbench]]
|[[Points Workbench|Points Workbench]]
|IconL=Workbench_Path.svg
|IconR=Workbench_Points.svg
}}


{{Plot Tools navi}}
{{Plot Tools navi}}

{{Userdocnavi}}
{{Userdocnavi}}

[[Category:Workbenches]]
[[Category:Workbenches]]

Revision as of 18:04, 14 February 2020

The FreeCAD Plot Workbench Icon

Introduction

The Plot Workbench allows the user to edit and save output plots created from other workbenches and tools.

With the Plot workbench you can edit the working area, the axes, labels, titles, line styles, and other elements of plots.

The Plot workbench is an abstraction of the matplotlib Python library conveniently adapted for FreeCAD. To use the Plot functions, the version of matplotlib installed in your system should match the Python version that FreeCAD uses, that is, if FreeCAD uses Python 2.7, you should have matplotlib for the same version.

Tools

  • Save plot: Saves the plot in several formats. You can select the output size and resolution too.
  • Axes: Add, remove or edit plot axes.
  • Series: Edit series title and styling.
  • Grid: Show/hide grid.
  • Legend: Show/hide legend.
  • Labels: Edit labels.
  • Positions: Set elements positions.

Scripting

Since the Plot Workbench is a layer on top of matplotlib, you are free to use any function from this library on plot instances. See scripting examples for examples.

Tutorial