I am not sure if this has already been solved, but here goes.
I need to export to png or tiff 2D graphs of lines in high resolution (600dpi or higher). Everything is ok when all lines are solid, but when dotted, dashed or other combinations are present the exported image looks very bad. The problem is that the lines and dots do not scale correctly when exported and and up being very very thin very numerous. The end result is a "hazy" solid line that only looks like a dotted one when you fully zoom in. The same goes for the grid if I add it.
For now what I do is after doing all my plotting and manipulation in Matlab, I export a .dat file of the quantity I want to plot and save it to disk. Then I use another program for the plotting, such as Origin lab.
I have tried various files here on the website but nothing seems to work well. I also know that similar problems exist in python which runs similar to Matlab. Note I do not want vector graphs.
Thanks in advance :) Best, Paris