Customizing Stata

This page shows how you can customize your version of Stata.  Unless otherwise specified, these tips apply to Stata on Windows, Macintosh, Unix and Linux.

How do I change the font (PC Version)?

The four Stata windows (Results, Review, Variables, Stata Command) have an icon in the top left corner.  Below we show arrows pointing to this icon for the Review and Results window.  You can click this icon and choose Fonts which gives you a dialog box where you can change the font for that window.  If you want to keep the font changes, choose Prefs then Save Windowing Preferences

If you want to change the font for each window, you need to do this process separately for each window, allowing you to choose a different font for each window.

 

How do I change the amount of memory allocated for data files?

Say you want to allocate 50 megabytes of memory for data files every time you start Stata. You can type

. set memory 50m, permanently

and it will remember this setting every time you start Stata.

How do I set the buffer size for the results window?

You may sometimes find that the results window does not hold enough results when you scroll back in the results window.  Say you want to allocate 100,000 bytes for the scroll buffer for the results window, then you can type

set scrollbufsize 100000

and this setting will take effect the next time you start Stata.  You can select values between 10,000 and 500,000.

How do I change the default graph scheme?

You can see a list of the possible graph schemes that you can choose from using the graph query , schemes command.  Say that you wanted to make the s1mono scheme the default scheme, then you could type

set scheme s1mono, permanently

and the default graph scheme will then be s1mono and this will be used in subsequent sessions as well.

How to cite this page

Report an error on this page or leave a comment

The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.