When I export plots with gridlines as images, both as .jpg and .png, some of the lines are much thicker than the others. In Mathematica they all have the same thickness. How can I solve this problem?
Simple example:
plot = Plot[Exp[-(x^2/2)], {x, -4, 4}, ImageSize -> 1000, GridLines -> Automatic]
Export["plot.jpg", plot]
Then I get the following exported image (see the line at -4):
I have the same problem for ListPlot
as well and using various options for the plots, such as Axes->False
, Frame->True
, various aspect ratios...
I use Mathematica 11.0.1.0, platform Linux x86 (64-bit) (on CentOS7)