I can't see your code for your PDF output, but my guess is that you have COLUMNS=2 set or you are using ODS LAYOUT. For PDF output, the WIDTH and HEIGHT of the graph can be overriden by the PDF document due to things like like COLUMNS option, ODS LAYOUT, page size, page margins, etc. The default page size is LETTER (8.5in X 11in). Using the size you gave, that guarantees that the graph will shrink at least an inch in both directions (the proportion of the graph is maintained automatically). Then, there are default margins that will cause it to shrink more. The COLUMN option will divide the remaining page space evenly, so the graph output will be constrained to one column size.
For LISTING, there are no container restrictions, WIDTH/HEIGHT (and DPI) will make the physical size of the graph to grow, but the internals of the graph are sized differently in the two cases. Typically, you should use WIDTH and HEIGHT to make the graph bigger. DPI should be used to improve image resolution.
Thanks!
Dan
... View more