I recently asked for advice about the best format for posting a lot of graphs on a web site so they could be either read on line or downloaded and printed. In case this information is more generally useful, I’m summarizing what I learned here. A well-done graph can convey information much more clearly to the public than words or numbers. Laying out a graph so it tells a story is hard enough. But an added complication is that graphs that are most appealing on a computer screen or slide show can be illegible when printed and photocopied. Lines or bars of different colors and even monochrome patterns or gray shades can all look alike when photocopied. Paper really needs white backgrounds: even a light gray can hide graphical elements after something is photocopied a few times. It is a lot of work to produce legible graphs, and having to do everything twice is really frustrating. So the goal was to produce things once in a format that could either be viewed on line or be downloaded and printed and would look decent either way.
I decided Adobe Acrobat PDFs would be best as they are readable on the web but also downloadable and printable. I produced the graphs in Stata. They were of two types: (1) Simple line graphs. The trick here is to use markers and line patterns rather than color to distinguish the lines. (2) Complex line graphs plotting trends for 30 states on the same axes. The trick here is to use state initials as markers on the lines. They are most distinguishable in color, but are legible when printed in monochrome.
Getting the graphs from Stata into PDF took some tricks. The suggestion to have Stata generate png (Portable Network Graphics) graphs did not work well. Stata-produced png files were too fuzzy for the complex graphs to be legible. Also, all png graphs produced by Stata included a blur of grey around all graphical elements that just looked a little fuzzy when ported into Adobe but printed as black when the PDF graph was printed in monochrome — making it completely illegible. I ended up producing the PDF files in two ways (for the two types of graphs): (1) For the simple graphs, I generated them as wmf (Windows Metafile) files in Stata then used my photo manager software (I use ACDSee which I originally got as a demo with some other software) & Adobe distiller to batch print the wmf files to PDF. I printed the graphs two to a page as “contact sheets.” (2) For the complex color graphs, it worked best to have Stata produce ps (Postscript) files that Adobe could import directly as pages. As the ps files cannot be viewed or checked on screen, I saved all these graphs in two formats, so I could both preview and check them and then assemble into PDF.
Lessons to remember: (1) Public sociology stuff, if it is used at all, tends to get passed around and photocopied. Always test how something looks when printed in low-resolution monochrome. (2) Producing something that will work on both the web and paper is a set of trade-offs. If you think about how to make graphs work for both formats from the beginning, it goes better. (3) The different graphics formats work differently in different software, and different types of graphs seemed to do better with different formats. If you are going to do a big job, test single graphs in the full production cycle before generating all of them. (4) The more recent versions of Adobe Acrobat Pro have capabilities that make these jobs easier, including the ability to assemble a document from multiple files (graphics files plus PDFs with documentation produced by a word processor) and to automatically add page numbers, headers & footers or cover sheets to documents in “batch” mode. What I did not do, but tested later and discovered would work, is assemble a document of graphs in Adobe Acrobat Pro and then print to Adobe (using the distiller) from inside Adobe printing multiple pages to a page. (5) Importing something directly into Adobe gives a different result from printing to it with the distiller. (6) I’m still producing manuscripts and dull static web pages, not pretty magazine-like layouts. I’ll learn those skills some other year.
I’m not sure anyone will ever want to use the information, but it is up there now. It is a bunch of graphs on racial trends in imprisonment. I’d appreciate feedback on content or format, by email or comment. If you want to see it and have not been able to figure out who I am, drop a comment and I’ll tell you by email. (FYI I plan to drop the pretense of anonymity after a certain report is released in a few months.)