Dear Statalist,
I would like to know how to maximize the similarity in appearance of graphs as they appear in the graph window and as they appear when exported, in particular to PDF.
Font sizes, etc., are slightly different between the graph window and a subsequently generated PDF. Usually this is not a problem but occasionally it has been frustrating to find, for example, graph titles escaping the margins of the pdf.
I have experimented a bit with graph set window, in particular changing the fontfaces to match those of eps (see graph set for these options), and this seems to improve the match, but I'm not sure whether this is the best way to go about this, if it will hold up generally, or if there are possible negative unintended consequences.
Many thanks,
BL
PS - Stata 13.1 SE on W10-64bit
PPS - If possible, I would like to avoid calling an external program like epstopdf since, when last I checked about a year ago, calling external programs was difficult-to-impossible when running Stata in batch mode on Windows.
I would like to know how to maximize the similarity in appearance of graphs as they appear in the graph window and as they appear when exported, in particular to PDF.
Font sizes, etc., are slightly different between the graph window and a subsequently generated PDF. Usually this is not a problem but occasionally it has been frustrating to find, for example, graph titles escaping the margins of the pdf.
I have experimented a bit with graph set window, in particular changing the fontfaces to match those of eps (see graph set for these options), and this seems to improve the match, but I'm not sure whether this is the best way to go about this, if it will hold up generally, or if there are possible negative unintended consequences.
Many thanks,
BL
PS - Stata 13.1 SE on W10-64bit
PPS - If possible, I would like to avoid calling an external program like epstopdf since, when last I checked about a year ago, calling external programs was difficult-to-impossible when running Stata in batch mode on Windows.
Comment