Bookmark and Share

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: AW: st: Graph edits


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   RE: AW: st: Graph edits
Date   Tue, 23 Mar 2010 22:20:06 +0100

<>

Re operation of the graph editor, you may also want to check out our recent
article at http://www.stata-journal.com/article.html?article=gr0042



HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Dienstag, 23. März 2010 22:15
To: [email protected]
Subject: RE: AW: st: Graph edits


<>

Changing the font size (your point 2) is slightly more involved: Right-click
on the text, for instance, on the left of the graph, say the word "Hartman",
choose "markerlabel properties" and increase the size according to taste.

The reason for your problem is probably that -metan- uses overlays between
different -twoway-s to construct its graph. So the labels on the left are
quite possibly achieved by -scatter-ing and killing the markers, leaving
only the labels visible...


HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Dienstag, 23. März 2010 22:05
To: [email protected]
Subject: RE: AW: st: Graph edits


<>

"The graph editor doesnt allow me to do any of the above."


It does allow you to do much of "the above". Click your way through the
"Object Browser", all 29 plots listed there. For point 3 on your list, for
instance, click on the plus sign next to "plotregion1", right click "plot
3", "scatter properties" and change the "marker properties" color to "black"
in the dropdown box.



HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sripal Kumar
Sent: Dienstag, 23. März 2010 21:51
To: [email protected]
Subject: Re: AW: st: Graph edits

Ok.  Here it is.

 use metan_example_data.dta
metan cdeath tdeath cnodeath tnodeath, label(namevar=id) fixed or
xlabel(0.1, 1.0, 10) counts

I am trying to do the following to the resulting forest plot:

1.  Remove the light blue (or some color--sorry) border sorrounding the
graph
2.  Increase the font size
3.  Change the grey box surrounding point estimate to black.
4.  Is there a way to have transparent background.

I used to do all of these by copying into powerpoint--> ungroup-->
edit.  Now I use Mac, I cant save it as WMF anymore.  So no more
ungrouping.  The graph editor doesnt allow me to do any of the above.
Again I use Stata 10.
thanks,
Sripal.

On Tue, Mar 23, 2010 at 4:14 PM, Martin Weiss <[email protected]> wrote:
>
> <>
>
> Use the one in the help file for - ssc d metan-.
>
>
> HTH
> Martin
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Sripal Kumar
> Sent: Dienstag, 23. März 2010 21:07
> To: [email protected]
> Subject: Re: AW: st: Graph edits
>
> Is there a official dataset for meta analysis?
>
> On Tue, Mar 23, 2010 at 3:56 PM, Martin Weiss <[email protected]>
wrote:
>>
>> <>
>>
>>
>> " I guess statalist doesnt allow file
>> attachments.  "
>>
>>
>>
>> It does not, but you can simply recreate your issues with official
> datasets,
>> and post the code highlighting your problem...
>>
>>
>> HTH
>> Martin
>>
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Sripal Kumar
>> Sent: Dienstag, 23. März 2010 20:54
>> To: [email protected]
>> Subject: Re: AW: st: Graph edits
>>
>> Martin--you are correct.  I am a stata 10 user.  Nick asked me earlier
>> if I could give an example.  I guess statalist doesnt allow file
>> attachments.  I will explain in a later email what I am looking for.
>> thanks,
>> Sripal.
>>
>> On Tue, Mar 23, 2010 at 3:05 PM, Martin Weiss <[email protected]>
> wrote:
>>>
>>> <>
>>>
>>> "
>>> In Stata 11 I have no problem editing individual labels to change their
>>> size/color."
>>>
>>>
>>> Am I mixing up threads, or did Sripal say he is a Stata 10 user?
>>>
>>>
>>> HTH
>>> Martin
>>>
>>>
>>> -----Original Message-----
>>> From: [email protected]
>>> [mailto:[email protected]] On Behalf Of Nick Winter
>>> Sent: Dienstag, 23. März 2010 20:03
>>> To: [email protected]
>>> Subject: Re: AW: st: Graph edits
>>>
>>> In Stata 11 I have no problem editing individual labels to change their
>>> size/color.
>>>
>>> To make them bold, just change the relevant text in the id variable from
>>> "Text" to "{bf:Text}"
>>>
>>> - NW
>>>
>>> On 3/23/2010 9:57 AM, Martin Weiss wrote:
>>>>
>>>> <>
>>>>
>>>> You could use the official example from -help metan-:
>>>>
>>>>
>>>> *************
>>>> use http://fmwww.bc.edu/repec/bocode/m/metan_example_data, clear
>>>> metan_examples metan_example_custom
>>>> *************
>>>>
>>>>
>>>>
>>>> HTH
>>>> Martin
>>>>
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: [email protected]
>>>> [mailto:[email protected]] Im Auftrag von Nick
Winter
>>>> Gesendet: Dienstag, 23. März 2010 14:52
>>>> An: [email protected]
>>>> Betreff: Re: st: Graph edits
>>>>
>>>> If you give an example command that generates your forest plot, and
>>>> describe the changes you want done to that plot, I'll bet Statalisters
>>>> could make it happen.  Or at least would have a better shot at it than
>>>> now, not knowing exactly how you generated the basic plot.
>>>>
>>>> - NW
>>>>
>>>> On 3/23/2010 9:42 AM, Sripal Kumar wrote:
>>>>> My biggest problem is increasing the font size.  Even if I use "huge"
>>>>> or "v huge", nothing happens and the font on the forest plot is still
>>>>> small.  I wonder if this is only for a forest plot.
>>>>>
>>>>> On Tue, Mar 23, 2010 at 9:39 AM, Martin Weiss<[email protected]>
>>>> wrote:
>>>>>>
>>>>>> <>
>>>>>>
>>>>>> " In addition, I prefer to selectively highlight the main
>>>>>> results of the plot by using the bold option.  "
>>>>>>
>>>>>>
>>>>>> Which "bold option" are you referring to? Stata 10 did not feature
>>>> options
>>>>>> for bold text on graphs, as far as I recall. That was introduced in
>>> Stata
>>>>>> 11.
>>>>>>
>>>>>> See -help whatsnew10to11-:
>>>>>> "See 7.  You can now put bold and italic text, Greek letters,
symbols,
>>>>>> superscripts, and subscripts on graphs!"
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> HTH
>>>>>> Martin
>>>>>>
>>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: [email protected]
>>>>>> [mailto:[email protected]] Im Auftrag von Sripal
>>> Kumar
>>>>>> Gesendet: Dienstag, 23. März 2010 14:33
>>>>>> An: [email protected]
>>>>>> Betreff: Re: st: Graph edits
>>>>>>
>>>>>> Well there are a few things where the graphics editor doesnt work for
>>>>>> me.  In a forest plot (for meta analysis), even though I try to
>>>>>> increase the font size of the txt using the editor, nothing seem to
>>>>>> happen.  Moreover, it creates a frame around the graph, which I like
>>>>>> to remove.  In addition, I prefer to selectively highlight the main
>>>>>> results of the plot by using the bold option.  None of these work or
>>>>>> rather, I havent figured out an easy way to do it.
>>>>>>
>>>>>> On Mon, Mar 22, 2010 at 8:56 AM, Nick Winter<[email protected]>
>>>> wrote:
>>>>>>> George Hoffman has replied suggesting this might be an OS issue; I
>>> can't
>>>>>>> speak to that.
>>>>>>>
>>>>>>> But I wonder what you want in your graph that you can't do with the
>>>> Stata
>>>>>>> graphics editor?
>>>>>>>
>>>>>>> - NW
>>>>>>>
>>>>>>> On 3/21/2010 9:09 PM, Sripal Kumar wrote:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I recently switched over to stata 10 for mac.  When I used to use
>>>>>>>> windows and Stata 9, I used to edit the graphs by right clicking
and
>>>>>>>> ungrouping.  I cant seem to do with graphs created in mac.  The
> graph
>>>>>>>> editor for stata 10 doesnt permit me to make all the edits I want.
>>  Is
>>>>>>>> there a way to save the graph so that I can use word or powerpoint
> to
>>>>>>>> ungroup it and edit it.
>>>>>>>> thanks,
>>>>>>>> Sripal.
>>>>>>>> *
>>>>>>>> *   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/
>>>>>>>
>>>>>>> --
>>>>>>> --------------------------------------------------------------
>>>>>>> Nicholas Winter                                 434.924.6994 t
>>>>>>> Assistant Professor                             434.924.3359 f
>>>>>>> Department of Politics                  [email protected] e
>>>>>>> University of Virginia          faculty.virginia.edu/nwinter w
>>>>>>> S385 Gibson Hall, South Lawn  Map: http://tinyurl.com/uvaSLmap
>>>>>>> *
>>>>>>> *   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/
>>>>
>>>
>>> --
>>> --------------------------------------------------------------
>>> Nicholas Winter                                 434.924.6994 t
>>> Assistant Professor                             434.924.3359 f
>>> Department of Politics                  [email protected] e
>>> University of Virginia          faculty.virginia.edu/nwinter w
>>> S385 Gibson Hall, South Lawn  Map: http://tinyurl.com/uvaSLmap
>>> *
>>> *   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/
>>
>
> *
> *   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/


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index