Plot Workbench: Difference between revisions

From FreeCAD Documentation
m (png to svg)
(Marked this version for translation)
Line 12: Line 12:
[[Image:Workbench_Plot.svg|240px|center]]
[[Image:Workbench_Plot.svg|240px|center]]
<translate>
<translate>
<!--T:13-->
{{Caption|align=center|The FreeCAD Plot Workbench Icon}}
{{Caption|align=center|The FreeCAD Plot Workbench Icon}}


Line 57: Line 58:
{{Plot Tools navi}}
{{Plot Tools navi}}


<!--T:14-->
{{Userdocnavi}}
{{Userdocnavi}}


<!--T:15-->
[[Category:Workbenches]]
[[Category:Workbenches]]



Revision as of 18:00, 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