Announcement

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

  • Graph marker label anti-aliasing inconsistency

    Hi,

    The first marker label is anti-aliased, but the others are not.

    Any idea why and how to fix this?

    Thanks!!






  • #2
    I figured it out. scatter is stacking a ton of labels on top of each other. The first label has two labels stacked, while the second has five stacked.

    A solution:

    Comment


    • #3
      Dear Lucas,

      You could consider this code:
      Code:
      twoway histogram rep78, percent discrete ///
      || scatter rep78_pct rep78 if rep78_unique, ///
      graphregion(fc(white) lc(white) ilc(white) margin(l-2 b-2)) ///
      ms(none) mlabel(rep78_str) mlabpos(12) ylab(0(5)45) ///
      legend(off) ytitle("Part of whole (%)")
      graph export "TwowayHistogramLabelled_$dateplot.png", width(1000) replace
      which results in:
      Click image for larger version

Name:	TwowayHistogramLabelled_.png
Views:	1
Size:	39.3 KB
ID:	1656935
      http://publicationslist.org/eric.melse

      Comment


      • #4
        Thank you for your visualization ideas, but I intentionally stripped away most of the graphical formatting.

        My goal of posting a minimal working example (MWE) was to isolate the problem and then also a solution.

        My actual use case doesn't use car repair records from 1978, and my visualizations are quite different. Cheers.

        Comment

        Working...
        X