GRAPHICS


  • When you create by-graphs, you can now specify the altleg bystyle to move the legend to the six o’clock position and use two columns for the legend. For instance, specifying the by(group, style(altleg)) option will create the graph for each value of group and will place the two-column legend at the bottom of these graphs.

 

© Copyright 1996–2024 StataCorp LLC. All rights reserved.

  • You can now specify a minimum length for the axis labels with the labelminlen(#) option. This can be particularly helpful if you are creating multiple graphs that you intend to combine by using graph combine. You can, for instance, specify ylabel(labelminlen(5)) with each graph to ensure that at least five characters are used for the y-axis labels; labels are padded with spaces on the left if needed. Adding this option to each graph specification will allow you to create graphs with labels of the same width so that axes will align nicely when combined.