How do I save a graph that has been drawn with the drawing tool? As you can see from my screenshot, all the save buttons are disabled.
1 Answer
You have to right click on the bracket to the right of the figure and then choose "Save Selection As".
Alternatively you can copy the figure with ctrl+c on Windows or cmd+c on MacOS, or with the copy button in the "Edit" menu, and then paste it (with ctrl+v, cmd+v or via the edit menu) into a code cell where you can export it with the Export
function.
-
$\begingroup$ Thanks for your suggestion. In order to save the graph, you have to draw the graph in the area that is generated by code like {Graphics[{}, ImageSize -> 800]} $\endgroup$– biosApr 14, 2017 at 15:20
-
$\begingroup$ @bios Yes, I assumed that is what you had done. I included it in my screenshot for clarity. $\endgroup$– C. E.Apr 14, 2017 at 15:28
-
r := RandomReal[];
ellipse := Circle[{r, r}, {r, r}];
gr = Graphics[Table[{RandomColor[], ellipse}, {5}]];
Export[FileNameJoin[{NotebookDirectory[], "elipses.png"}], gr];
gr
$\endgroup$