Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Plot
From
Rebecca Pope <[email protected]>
To
[email protected]
Subject
Re: st: Plot
Date
Mon, 28 Mar 2011 07:16:26 -0500
It's even better than that. On the "Overall" tab of the dialog box for
-twoway-, there is an option for naming your graph. Or, if you want to
edit the command, I recommend using the "copy command" function from
the dialog box, rather than just submitting it, especially if you have
a lot of data to graph. "Copy" is available in Stata 11. I can't speak
to prior versions.
As I read Max's question though, he's looking at his "Plots" tab and
seeing the following:
Plot 1
Plot 2
Plot 3
Plot 4
etc
in the box labeled "Plot definitions:". But, with several plots
defined, it is difficult to know what he has defined and which Plot #
contains what variables. My guess is that Max wants to be able to name
his plots (using auto.dta as an example):
Price to Weight
MPG to Weight
so when he needs to enable or disable each plot, he doesn't have to
click "Edit" on each plot to remind himself of how it is defined.
Unfortunately, I don't know how to do this so the best I can recommend
is keeping a list in a research notebook. As far as I can tell,
nothing displayed with -help name_options- gives any guidance on plot
names. It says "Option name() specifies the name of the graph being
created." This doesn't appear to help Max, who say says in his
original post that he already knows how to name the graph. I don't see
any documentation of how to employ -name()- to change the displayed
name of plots in the dialog box. If it exists, it appears to be
undocumented. Maybe Nick or Oliver can help with that.
Regards,
Rebecca
On Mon, Mar 28, 2011 at 3:37 AM, Oliver Jones
<[email protected]> wrote:
>
> Hi Max,
>
> there might be a misunderstanding.
> When Nick talks recommends to look at the name() option for graphs, he want's you
> look at the help file name_option. And I guess he assumes that you are familiar with
> the command line in Stata.
> But from your example I assume you never have typed any command in Stata and you have
> always worked by clicking on the buttons...
>
> Well when you do your clicking and then your graph is created you see the actual
> Stata command that was creating the graph.
> And to this command you can add an option called name().
> For example:
>
>
> ******** Begin example ********
>
> sysuse auto, clear
> scatter price mpg, name(name_you_choose)
>
> ********* End example *********
>
> Best
> Oliver
>
>
> Am 26.03.2011 10:03, schrieb Max Fotbollen:
>>
>> Thanks Oliver JOnes, for respondig,
>> I do not get the replay on mail to my mailbox. I will explain my problem via an example,
>>
>> I try to do data analysis of some stationary data series. I choose from the menu Graphics/twowaygraph. Then I get the dialog box where I can choose Create to define some graph. What happens here is that a plot is created; Plot1. Next I create Plot2 and so on. In each of these plots one series is defined. I can Enable a combination of these plots (and Diable the rest) to get my graph. To make my job easer when I have many plots, I would lilke to assign some name to these plots (instead of having Plot1, Plot2 etc).
>>
>> Thanks again,
>> Max
>>
>>
>> *
>> * 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/
>
> --
> Universität Bielefeld
> Fakultät für Wirtschaftswissenschaften
> Lehrstuhl für Ökonometrie und Statistik
> - - -
> Bielefeld University
> Faculty of Business Administration and Economics
> Chair of Econometrics and Statistics
> - - -
> Raum / room: V9-110
> Tel / phone: +49 (0)521 106 4871
> --
> *
> * 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/