Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: axis label font


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: axis label font
Date   Mon, 21 Nov 2011 20:49:46 -0600

For label size, you can use the -labsize()- option.

Here is one way to change just the font of -xabel()- :

sysuse auto
scatter mpg weight, xlabel(,labsize(medlarge))
gr_edit xaxis1.edit_tick 1 2000 `"{fontface "Tahoma": 2,000}"' 2 3000
`"{fontface "Tahoma": 3,000}"' 3 4000 `"{fontface "Tahoma": 4,000}"' 4
5000 `"{fontface "Tahoma": 5,000}"', tickset(major)


Scott

On Mon, Nov 21, 2011 at 12:52 PM, Bulent Koksal <bkoksal@gmail.com> wrote:
> Hello,
>
> I would lie to use one of the fonts installed in my system (like
> tahoma) and a specific size for axis labels. Is this possible?
>
> In Excel we can determine the font and font size for axis labels and
> we can do the same for titles in Stata. But is this possible for axis
> labels (ylabel and xlabel) in Stata. Thank you.
>
> --
> Bülent Köksal
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index