Plot Workbench: Difference between revisions
Renatorivo (talk | contribs) (Marked this version for translation) |
(If FreeCAD uses Python 2.7, you should have matplotlib for the same version) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<translate> |
<translate> |
||
⚫ | |||
{{Docnav|[[Path Workbench|Path Workbench]]|[[Points Workbench|Points Workbench]]|IconL=Path-Workbench.svg|IconR=PointsWorkbench.svg}} |
|||
</translate> |
|||
[[Image:Workbench_Plot.svg|64px]] |
|||
<translate> |
|||
== Introduction == <!--T:8--> |
|||
<!--T:1--> |
<!--T:1--> |
||
{{TOCright}} |
|||
The Plot module allows to edit and save output plots created from other modules and tools. With plot module you can edit easily the working area, the axes, labels, titles, styles, etc. Plot module is an abstraction of matplotlib conveniently addapted to FreeCAD. |
|||
The [[Plot Workbench|Plot Workbench]] allows the user to edit and save output plots created from other workbenches and tools. |
|||
<!--T:9--> |
|||
With the Plot workbench you can edit the working area, the axes, labels, titles, line styles, and other elements of plots. |
|||
<!--T:10--> |
|||
The Plot workbench is an abstraction of the [https://matplotlib.org/ matplotlib] [[Python|Python]] library conveniently adapted for FreeCAD. To use the Plot functions, the version of {{incode|matplotlib}} installed in your system should match the Python version that FreeCAD uses, that is, if FreeCAD uses Python 2.7, you should have {{incode|matplotlib}} for the same version. |
|||
==Tools== <!--T:2--> |
==Tools== <!--T:2--> |
||
<!--T:3--> |
<!--T:3--> |
||
* [[Image:Plot_Save.png|32px]] [[Plot_Save|Save plot]]: Saves the plot in several formats. You can select the output size and resolution too. |
|||
These are tools availables. |
|||
* [[Image: |
* [[Image:Plot_Axes.png|32px]] [[Plot_Axes|Axes]]: Add, remove or edit plot axes. |
||
* [[Image: |
* [[Image:Plot_Series.png|32px]] [[Plot_Series|Series]]: Edit series title and styling. |
||
* [[Image: |
* [[Image:Plot_Grid.png|32px]] [[Plot_Grid|Grid]]: Show/hide grid. |
||
* [[Image: |
* [[Image:Plot_Legend.png|32px]] [[Plot_Legend|Legend]]: Show/hide legend. |
||
* [[Image: |
* [[Image:Plot_Labels.png|32px]] [[Plot_Labels|Labels]]: Edit labels. |
||
* [[Image: |
* [[Image:Plot_Positions.png|32px]] [[Plot_Positions|Positions]]: Set elements positions. |
||
* [[Image:Plot_Positions.png]] [[Plot_Positions|Positions]]: Set elements positions. |
|||
==Scripting== <!--T:4--> |
==Scripting== <!--T:4--> |
||
Since Plot |
Since the Plot Workbench is a layer on top of {{incode|matplotlib}}, you are free to use any function from this library on plot instances. See [[Scripting_examples|scripting examples]] for examples. |
||
==Tutorial== <!--T:5--> |
==Tutorial== <!--T:5--> |
||
Line 23: | Line 39: | ||
<!--T:6--> |
<!--T:6--> |
||
{{Docnav|[[Path Workbench|Path Workbench]]|[[Points Workbench|Points Workbench]]|IconL=Path-Workbench.svg|IconR=PointsWorkbench.svg}} |
|||
{{Docnav| | }} |
|||
<!--T:12--> |
|||
{{Plot Tools navi}} |
|||
{{Userdocnavi}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
</translate> |
</translate> |
||
{{clear}} |
|||
⚫ |
Revision as of 06:43, 8 April 2019
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
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub