83 lines
4.6 KiB
HTML
83 lines
4.6 KiB
HTML
<html><head><title>Plot Save/ru</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Plot Save/ru</h1></div>
|
|
|
|
<div id="mw-content-text" lang="ru" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Plot_Save"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Plot_Save.png" class="image"><img alt="Plot Save.png" src="32px-Plot_Save.png" width="32" height="32" srcset="/wiki/images/thumb/f/f6/Plot_Save.png/48px-Plot_Save.png 1.5x, /wiki/images/f/f6/Plot_Save.png 2x" /></a> Plot Save</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Расположение в меню
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Plot → Сохранить диаграмму
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Верстаки
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Plot_Module/ru" title="Plot Module/ru">Plot</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Быстрые клавиши
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">отсутствуют
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">См. также
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">...
|
|
</td></tr>
|
|
<tr>
|
|
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
|
<ul>
|
|
<li class="toclevel-1"><a href="#Plot_Save"><span class="tocnumber">1</span> <span class="toctext">Plot Save</span></a></li>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#How_to_use"><span class="tocnumber">3</span> <span class="toctext">How to use</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Scripting"><span class="tocnumber">5</span> <span class="toctext">Scripting</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
|
<p>Plot save tool saves the active plot at desired location. With this tool you can also select the size and resolution of output image.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Plot_Trigonometric_Example.png" class="image"><img alt="Plot Trigonometric Example.png" src="600px-Plot_Trigonometric_Example.png" width="600" height="267" srcset="/wiki/images/thumb/4/46/Plot_Trigonometric_Example.png/900px-Plot_Trigonometric_Example.png 1.5x, /wiki/images/4/46/Plot_Trigonometric_Example.png 2x" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
|
|
<p>Select the plot tab that you want to save, and run this tool. Use path selector button in order to show a file dialog where you can choose the output image place and format.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Plot_Save_Path.png" class="image" title="Path selection button"><img alt="Path selection button" src="Plot_Save_Path.png" width="48" height="31" /></a>
|
|
<span style="font-variant:small-caps">Path selection button</span>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
|
<ul><li> <b>File path</b>: You can set the output image path (including format extension) inserting it at text line too.</li>
|
|
<li> <b>Size</b>: You can specify output image width and height (inches).</li>
|
|
<li> <b>dpi</b>: You can set the image resolution (Dots Per Inch). Final resolution (in pixels) will be the multiplication of width and height by dpi.</li></ul>
|
|
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
|
<p>Plot save tool can be used in <a href="Macros.html" title="Macros">macros</a> and from Python console by using the following function:
|
|
</p><p><b>save(str, (float, float), float)</b> : Saves the plot at path, width the size specified in inches, and the resolution specified in Dots Per Inch.
|
|
</p><p>Example:
|
|
</p>
|
|
<pre>import Plot
|
|
Plot.save("~/example.pdf", (12.8, 9.6), 50) </pre>
|
|
<p>That will save a pdf image of 12.8x9.6 inches, with 640x480 pixels.
|
|
</p>
|
|
<div style="clear:both"></div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Plot_Save/ru&oldid=213196">http://www.freecadweb.org/wiki/index.php?title=Plot_Save/ru&oldid=213196</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |