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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Changing Font in Legends


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Changing Font in Legends
Date   Fri, 10 May 2013 10:47:31 -0400

David,

font type is a per-graph setting. Individual graph elements can not have
fonts that are different from each other. To set fontface for the whole
graph right-click the graph and select font in the <Preferences>
dialog.

If you are writing a general program, avoid referring to a particular font
since this is platform specific. Use aliases reported and set with the
-graph set window- command. For example:

graph set window fontface fontfaceserif

will set whatever the font the user wants to use for serif-type, which
can happen to be Arial on a Windows machine.

Best, Sergiy

On Thu, May 9, 2013 at 12:25 AM, David Crow <david.crow@cide.edu> wrote:
> Dear All:
>
> I have a scatterplot for which I'd to use one font, Times New Roman,
> generally, and another, Arial, for marker labels and in the legend.
> How can I do this?
>
> Thanks,
> David
>
> --
> Web site for México, las Américas y el Mundo:
> http://mexicoyelmundo.cide.edu/
>
> ====================================
> David Crow
> Profesor-Investigador/Assistant Professor
> División de Estudios Internacionales
> Carretera México-Toluca 3655
> Col. Lomas de Santa Fe 01210  México, D.F.
> Tel.:  5727-9800, ext. 2152
> Fax:  5727-9872
> ====================================
>
> Conmutador: 5727-98-00 Lada sin costo: 01 800 021 2433 (CIDE) |©
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

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


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