Statalist


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

Re: st: Re: grc1leg


From   Michael Hanson <mshanson@mac.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: grc1leg
Date   Mon, 01 Dec 2008 19:29:32 -0500

Unless I misunderstand your example (which the exchange below suggests it may fail the Statalist FAQ dictum: "Say exactly what you typed and exactly what Stata typed (or did) in response. N.B. exactly!"), it looks to me that you are not using your named graphs in your -graph combine- and -grc1leg- commands, but rather (old?) versions you have saved to disk. If so, this could yield unanticipated results.

(As an aside: why hard-code Windows-type paths into such a simple example? It is completely unnecessary, even if you are -saving()- the graphs. When people do this, they are implicitly saying they don't want any help from the many folks on Statalist who use a non-MS operating system.)

-- Mike

On Dec 1, 2008, at 6:21 PM, Chris Witte wrote:

hmm, when I run the -gr combine- I get a very tall skinny combined graph, but the -grc1leg- does not do that for me. It is like the ysize option is ignored, and doesn't return an error or anything.

sorry about the path mess...



----- Original Message ----
From: Martin Weiss <martin.weiss1@gmx.de>
To: statalist@hsphsun2.harvard.edu
Sent: Monday, December 1, 2008 5:05:35 PM
Subject: st: Re: grc1leg

Seems to me that -grc1leg- takes all the options of the official - gr combine-. Your syntax runs without error for me (apart from the obvious path issue), with

. which grc1leg
c:\ado\plus\g\grc1leg.ado
*! version 1.0.4  08sep2005




HTH
Martin
_______________________
----- Original Message ----- From: "Chris Witte" <eljefespeaks@yahoo.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Monday, December 01, 2008 11:29 PM
Subject: st: grc1leg


I've ran into a problem using -grc1leg-, which puts a single legend on a combined graph. I am unable to use the -xsize- and - ysize- region options, which are available when using -graph combine-. here's an example:

sysuse auto, clear
scatter price mpg, name(g1)
scatter weight length, name(g2)
graph combine "C:\_DATA\g1" "C:\_DATA\g2", ysize(10)
grc1leg "C:\_DATA\g1" "C:\_DATA\g2", ysize(10)

can anyone fix this?




*
*  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/



*
*  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/





*
*   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/

*
*   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   |   What's new   |   Site index