How do I save a ListLinePlot graphic as an Adobe Illustrator file (with extension .ai)?

  • $\begingroup$ .AI is not a supported format. Export is the relevant command. $\endgroup$ – mfvonh Jun 30 '14 at 17:39
  • $\begingroup$ With $ExportFormatsyou get all supported Formats. Check out this link (@Jens) $\endgroup$ – user9660 Jun 30 '14 at 17:47
  • $\begingroup$ Can Illustrator import PDF? $\endgroup$ – Michael E2 Jun 30 '14 at 19:12
  • $\begingroup$ @MichaelE2 Yes, but Adobe Illustrator's support of PDF is limited. $\endgroup$ – Alexey Popkov Jun 30 '14 at 19:49

Mathematica cannot export to Illustrator format. However, it can export both to PDF and EPS, which are natively supported by Illustrator. (In fact, I believe the AI format is based on PostScript too, just like EPS the AI format used to the based on EPS but is now based on PDF.)

Try using PDF or EPS instead.

The information on Jens's site will be useful too.

| improve this answer | |
  • 2
    $\begingroup$ If you look at the header of an AI file, it's actually just a PDF file with some additions. That's why it can for example be viewed in Preview on OS X without having to install Illustrator. AI format used to be based on EPS, but that's no longer the case. $\endgroup$ – Jens Jun 30 '14 at 18:07
  • $\begingroup$ @Jens Thank you for the explanation, corrected. $\endgroup$ – Szabolcs Jun 30 '14 at 18:39
a = Plot[Sin[x], {x, -Pi, Pi}];

Export["C:\\YourPath\\plot.pdf", a]
| improve this answer | |

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.