Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: (no subject)

From   [email protected] (Derek Wagner, Stata Corp)
To   [email protected]
Subject   st: (no subject)
Date   Tue, 07 Oct 2003 14:15:09 -0500

Tom Blade wrote:

>I can export the graphic, but when I copy the figure
>and paste it into word, it has no color. Also printing
>the document doesn't solve the problem. I don't
>have problems with exporting but with the colors,
>sorry for the confusing last mail.
>I type (Stata 8):
>graph7 Percentage Year if Year~=., c(l) sort xlabel ///
>(1991,1992,1993,1994,1995,1996,1997,1998,1999,2000, ///
>2001) ylabel(5,10,15,20,25,30,35,40,45,50,55,60)
>graph export c:\stata8\data\Figure1.wmf

The -graph7- command in Stata 8 uses the Stata 7 Graph
Preferences by default- which in turn uses the Monochrome
scheme.  To access the Stata 7 Graph Preferences in Stata
8, simply type -oldgprefs- in the Command window.

In the Graph Preferences dialogue box, make sure that
the same scheme is being used for the Graph Window, Printer,
and Clipboard.  This will allow you to copy and paste
using the same color scheme seen in the actual graph window.

Once the scheme has been set for each tab in the dialogue
box, try creating your graph again.  You should be able to
just copy (Ctrl-C) and paste (Ctrl-V) the original graph
into Word, since the default filetype for copying graphs
is set to .wmf (Windows Metafile).

Derek Wagner
[email protected]
*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index