The code below is supposed to generate a high resolution plot, but it does not!

g = Plot[Sin[x], {x, -1, 1}];
Export["c:/sin.jpg", g, ImageResolution -> 600]

enter image description here

I have the same problem with exporting other graphic objects. What should I do?

  • 1
    $\begingroup$ It plots just fine on 10.0 for Mac OS X x86 (64-bit) (December 4, 2014). Maybe you should switch to a different format, such as PDF. What is not as you expect it? $\endgroup$ – user9660 Dec 24 '14 at 17:49
  • 4
    $\begingroup$ Related Quality control when exporting graphics into JPG $\endgroup$ – user9660 Dec 24 '14 at 17:52
  • 2
    $\begingroup$ Plots just fine 9.0 Win7-64. Compare ImageResolution -> 600 with ImageResolution -> 6. Documentation for ImageResolution also says "ImageResolution is relevant only for bitmap graphics formats such as "PNG", and not for resolution‐independent formats such as "SVG"." Docs for previous versions worded that differently. So try exporting a bitmap graphics image like PNG and see if the problem goes away. $\endgroup$ – Bill Dec 24 '14 at 17:56
  • 1
    $\begingroup$ Related: Rasterize: Resolution option not working properly. $\endgroup$ – Karsten 7. Dec 24 '14 at 19:12
  • 3
    $\begingroup$ Sort of unrelated, but in general one should always export images as either "PDF" or "PNG"; "JPG" tends to produce ugly graphics due to quantization error, and is better suited for photographs of people. $\endgroup$ – DumpsterDoofus Dec 24 '14 at 23:01

Browse other questions tagged or ask your own question.