Salva il grafico

From FreeCAD Documentation
Revision as of 21:40, 23 January 2015 by Renatorivo (talk | contribs) (Created page with "==Utilizzo== Selezionare l'immagine che si desidera salvare utilizzando le schede nella vista principale ed eseguire questo strumento. Utilizzare il pulsante di selezione perc...")

Salva grafico

Posizione nel menu
Grafico → Salva grafico
Ambiente
Grafico
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Nessuno

Descrizione

Lo strumento Salva grafico salva il grafico attivo nella posizione desiderata. Con questo strumento è possibile selezionare anche il formato e la risoluzione di immagine di output.

Utilizzo

Selezionare l'immagine che si desidera salvare utilizzando le schede nella vista principale ed eseguire questo strumento. 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.

Path selection button Path selection button

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.