Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to draw a chart with automatic pattern fill for printing using a black & white printer

    Hi,
    I want to have a chart which is suitable for printing using a black & white printer. I know "set scheme s1mono/manual" will result in black and white graphs, however I need to fill the chart with (automatic) special patterns like the following chart in order to have a more readable one. I found the following lecture but I couldn't get how I should use that. I should say I use Stata 15.


    https://www.stata.com/meeting/dcconf...9_radyakin.pdf
    Attached Files
    Last edited by Ali Bahador; 15 Jun 2022, 04:49.

  • #2
    Not the answer you want, but Stata doesn't really support what you want easily.

    Is your need a pie chart? Seems to me that a bar chart with names would make the information perfectly clear.

    Comment


    • #3
      Dear Nick, In fact, I try to draw a set of bar charts using over() and by() options, so that more than 30 charts are presented on a graph. Thus there is literally no space for adding bar titles under horizontal axis of each (sub)chart. It seem the only solution is to have a legend showing title of each colored (filled by pattern) bar.
      Last edited by Ali Bahador; 15 Jun 2022, 07:21.

      Comment


      • #4
        I find it hard to imagine how there could be space for a legend but not for direct labels. Perhaps you can post a real(istic) data example of what you have.

        Comment


        • #5
          Dear Nick, I attached a mock dataset. I should add I need to print this graph on A4 paper using a black & white printer.

          Code:
          graph set window fontface "Times New Roman"
          graph bar unemployment, by(state, note(" ") title("Unemployment Rate in USA States") subtitle("Source: U.S. Dept. of Labor, Bureau of Labor Statistics (BLS)") ) over(month) asyvars ascategory legend(rows(1)) ytitle("")
          Attached Files

          Comment

          Working...
          X