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.

I'm trying to create a rather big 3D image and export it. Currently, I create the image then display using Show, then use Export. The problem is that drawing the 3D image as an interactive object is absolutely caning my little laptop, and I don't really need it - I just want a jpeg output. Any way to do this?

What I am doing is basically along the lines of

Show[{object list}, options]
Export["name.jpeg",%,options]

So as an example, if I wanted an image of a Sin[x] graph without Mathematica first "drawing" it, how would I do it?

Thanks

share|improve this question
    
I think the following will do the job: plot=Show[...]; Export["name.png",plot] –  Kuba Jul 19 '13 at 10:41
    
That did the job, thank you. –  Jonathan Thurgood Jul 19 '13 at 11:15
    
Maybe reading about semicolon will help. –  Jens Jul 19 '13 at 18:11
add comment

1 Answer 1

If you really want to export the graphics only, then the most direct way is probably

Export["name.jpeg", Show[{object list}, options], exportoptions]

which returns only the file name of the exported graphics. Another common thing is, as Kuba suggested, to suppress the output with ;

plot = Show[{object list}, options];
Export["name.jpeg", plot,options]
share|improve this answer
    
Thank you, halirutan –  Jonathan Thurgood Jul 19 '13 at 15:23
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.