l_export | R Documentation |
The supported image formats are dependent on the system
environment. Plots can always be exported to the PostScript format.
Exporting displays as .pdf
s is only possible when the command line tool
epstopdf
is installed. Finally, exporting to either png
, jpg
,
bmp
, tiff
or gif
requires the Img Tcl extension.
When choosing one of the formats that
depend on the Img extension, it is possible to export any Tk widget as an
image including inspectors.
l_export(widget, filename, width, height)
widget |
widget path as a string or as an object handle |
filename |
path of output file |
width |
image width in pixels |
height |
image height in pixels |
Note that the CTRL-P
key combination opens a dialog to export
the graphic.
The native export format is to ps
as this is what the Tk canvas
offers. If the the l_export
fails with other formats then please
resort to a screen capture method for the moment.
path to the exported file
l_export_valid_formats
, plot.loon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.