Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

share|improve this question
    
.AI is not a supported format‌​. Export is the relevant command. –  mfvonh Jun 30 at 17:39
    
With $ExportFormatsyou get all supported Formats. Check out this link (@Jens) –  Lou Jun 30 at 17:47
    
Can Illustrator import PDF? –  Michael E2 Jun 30 at 19:12
    
@MichaelE2 Yes, but Adobe Illustrator's support of PDF is limited. –  Alexey Popkov Jun 30 at 19:49
add comment

2 Answers 2

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.

share|improve this answer
2  
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. –  Jens Jun 30 at 18:07
    
@Jens Thank you for the explanation, corrected. –  Szabolcs Jun 30 at 18:39
add comment
a = Plot[Sin[x], {x, -Pi, Pi}];

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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