It is straightforward to export lists to Excel with Export. Can I export a graphic image, too? This does not work:
g = CompleteGraph[4];
fnOut = "Output1.xls";
Export[fnOut, {"Sheet1" -> g}]
Maybe I need to transform g in some way?
|
It is straightforward to export lists to Excel with
Maybe I need to transform |
|||||||
|
|
You can export both data and the images using one of several syntax patterns that you find in the docs on XLS format:
For example:
gives
EDIT: Exporting multiple images: It seems you need at least one sheet (which could be empty) as part of any export. With this restriction,
or
or
all work to export several images. |
|||||||||||
|
|
If you need a basic data behind the graph, the
If you need the image of the graph object, in addition to programmatic way (see @kguler answer) there is an interactive way I personally use often. The steps (on win7):
|
|||||||||||
|