Plot Workbench/zh: Difference between revisions

From FreeCAD Documentation
(Created page with "Category:User Documentation/zh")
 
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
[[Image:Workbench_Plot.svg|64px]]
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.

== Introduction ==

{{TOCright}}
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, styles, and other elements of plots.

The Plot workbench is an abstraction of the [https://matplotlib.org/ matplotlib] [[Python]] library conveniently adapted for FreeCAD.


==Tools==
==Tools==


These are tools availables.
* [[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.png|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.png|32px]] [[Plot_Axes|Axes]]: Add, remove or edit plot axes.
Line 14: Line 22:


==Scripting==
==Scripting==
Since Plot module is a layer over matplotlib, you are free to use all matplotlib commands over plot instances. See [[Scripting_examples|scripting examples]] section to see examples.
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==
==Tutorial==
Line 20: Line 28:
* [[Plot MultiAxes tutorial]]
* [[Plot MultiAxes tutorial]]


{{Docnav| | }}
{{Docnav|Path Workbench|Points Workbench}}
{{Plot Tools navi}}

{{Userdocnavi}}
[[Category:User Documentation/zh]]
[[Category:Workbenches]]

{{clear}}

Revision as of 21:17, 15 January 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, styles, and other elements of plots.

The Plot workbench is an abstraction of the matplotlib Python library conveniently adapted for FreeCAD.

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

Path Workbench
Points Workbench