Statalist


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

Re: st: Re: grc1leg


From   Chris Witte <eljefespeaks@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: grc1leg
Date   Tue, 2 Dec 2008 06:33:23 -0800 (PST)

Mike,
I don't think you read my response to Martin.  I already appologized for the pathway screw up that Martin pointed out.  It was my original intent to remove the pathways from the code, but office distractions led me to overlook those lines in my example.  I also said that Stata did not return any kind of error message, and that it just ignores my -ysize- option.

Gary,
Thanks for your constructive advice.  I'll try to get -graph display- to work for me.


----- Original Message ----
From: Michael Hanson <mshanson@mac.com>
To: statalist@hsphsun2.harvard.edu
Sent: Monday, December 1, 2008 6:29:32 PM
Subject: Re: st: Re: grc1leg

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?searchhttp://www.stata.com/support/statalist/faqhttp://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