Plot Save/it: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
⚫ | |||
=Salva grafico= |
|||
==Description== |
|||
⚫ | |||
Plot save tool saves the active plot at desired location. With this tool you can also select the size and resolution of output image. |
|||
==Descrizione== |
|||
Lo strumento '''Salva grafico''' salva il grafico attivo nella posizione desiderata.<br>Con questo strumento è possibile selezionare anche il formato e la risoluzione di immagine di output. |
|||
[[Image:Plot_Trigonometric_Example.png|600px]] |
[[Image:Plot_Trigonometric_Example.png|600px]] |
||
== |
==How to use== |
||
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. |
|||
Selezionare l'immagine che si desidera salvare utilizzando le schede nella vista principale ed eseguire questo strumento.<br>Utilizzare il pulsante di selezione percorso per visualizzare una finestra di dialogo in cui è possibile scegliere il luogo e il formato dell'immagine in uscita. |
|||
[[Image:Plot_Save_Path.png|Path selection button]] |
[[Image:Plot_Save_Path.png|Path selection button]] |
||
<span style="font-variant:small-caps"> |
<span style="font-variant:small-caps">Path selection button</span> |
||
== |
==Options== |
||
* '''File path''': You can set the output image path (including format extension) inserting it at text line too. |
|||
* '''Size''': You can specify output image width and height (inches). |
|||
* '''dpi''': You can set the image resolution (Dots Per Inch). Final resolution (in pixels) will be the multiplication of width and height by dpi. |
|||
==Scripting== |
|||
* '''Percorso del file''': È possibile impostare il percorso dell'immagine in uscita (compresa l'estensione del formato), anche inserendolo nella riga di testo. |
|||
Plot save tool can be used in [[macros]] and from Python console by using the following function: |
|||
* '''Dimensioni''': È possibile specificare la larghezza e l'altezza dell'immagine (pollici). |
|||
* '''dpi''': È possibile impostare la risoluzione dell'immagine (punti per pollice). La risoluzione finale (in pixel) è data dalla moltiplicazione di larghezza e altezza per dpi. |
|||
'''save(str, (float, float), float)''' : Saves the plot at path, width the size specified in inches, and the resolution specified in Dots Per Inch. |
|||
==Script== |
|||
Example: |
|||
Lo strumento '''Salva grafico''' può essere utilizzato nelle [[macros/it|macro]] e dalla console Python utilizzando la seguente funzione: |
|||
{{Code|code= |
|||
⚫ | |||
⚫ | |||
}} |
|||
That will save a pdf image of 12.8x9.6 inches, with 640x480 pixels. |
|||
'''save(str, (float, float), float)''' : Salva il grafico nel percorso indicato, con la dimensione specificata in pollici, e la risoluzione specificata in punti per pollice. |
|||
Esempio: |
|||
⚫ | |||
⚫ | |||
Nell'esempio viene salvata un'immagine in formato pdf di 12.8x9.6 pollici, con una risoluzione di 640x480 pixel. |
|||
{{clear}} |
|||
<br> |
|||
{{PlotTools/it}} |
|||
{{clear}} |
{{clear}} |
||
<languages/> |
|||
<br> |
|||
{{languages/it | {{en|Plot Save}} {{es|Plot Save/es}} {{fr|Plot Save/fr}} }} |
Revision as of 21:36, 23 January 2015
Plot Save |
Menu location |
---|
Plot → Save plot |
Workbenches |
Plot |
Default shortcut |
None |
Introduced in version |
- |
See also |
None |
Description
Plot save tool saves the active plot at desired location. With this tool you can also select the size and resolution of output image.
How to use
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.
Options
- File path: You can set the output image path (including format extension) inserting it at text line too.
- Size: You can specify output image width and height (inches).
- dpi: You can set the image resolution (Dots Per Inch). Final resolution (in pixels) will be the multiplication of width and height by dpi.
Scripting
Plot save tool can be used in macros and from Python console by using the following function:
save(str, (float, float), float) : Saves the plot at path, width the size specified in inches, and the resolution specified in Dots Per Inch.
Example:
import Plot
Plot.save("~/example.pdf", (12.8, 9.6), 50)
That will save a pdf image of 12.8x9.6 inches, with 640x480 pixels.