1
$\begingroup$

I'm having a lot of fun playing with this cool demonstration project by Karl Scherer:

http://demonstrations.wolfram.com/LineArt2/

After getting some beautiful artistic results I tried to print or save the output but sadly there doesn't appear to be a provision for this. I'd love to save som .eps files that could be printed large to display. What must be added/changed/modified in the code for this to be done?

$\endgroup$
1
$\begingroup$

Use the Paste Snapshot command from the plus menu of Manipulate for getting a static DynamicModule code of what you have created:

screenshot

For Exporting you can simply paste the code obtained via the Paste Snapshot command instead of <code> into the expression Export["fig.eps", <code>] (in another Notebook) and evaluated it. With Mathematica 10.4.1 I obtained this way a EPS file of size about 1 Mb. Note that EPS format doesn't support semi-transparency but the created figure contains Opacity directives. This means that obtained figure in the EPS format can differ from what you see in the Notebook.

$\endgroup$
  • 1
    $\begingroup$ For Exporting I just pasted the code obtained via the Paste Snapshot command instead of <code> into the expression Export["fig.eps", <code>] and evaluated it. $\endgroup$ – Alexey Popkov May 14 '16 at 16:47
  • $\begingroup$ Got it thanks @Alexey Popkov ! FYI Eps does not provide a match when exporting the project output, only PDF works but it does work well! $\endgroup$ – R Hall May 14 '16 at 17:05
  • $\begingroup$ Thanks for the Accept. It is well-known that EPS format does not support semi-transparency. A quick check confirmed that the output obtained from the CDF file contains Opacity directives, so they may be the reason for the mismatch. $\endgroup$ – Alexey Popkov May 14 '16 at 17:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.