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]

[no subject]



Friedrich

On Mon, May 6, 2013 at 6:56 AM, Charles Vellutini
<[email protected]> wrote:
> Many thanks Maarten. Sounds like a solution but I must be doing something wrong, for a get a "could not find Graph window" error right after the -graph export- command below
>
> Here is the code I tried :
>
>         graph matrix `vars', saving(scatter_matrix,  replace) nodraw
>         graph use scatter_matrix, nodraw
>         graph export $output_dir\scatter_matrix.png, replace
>
> thanks again
> Charles
>
> -----Message d'origine-----
> De : [email protected] [mailto:[email protected]] De la part de Maarten Buis
> Envoyé : lundi 6 mai 2013 12:37
> À : [email protected]
> Objet : Re: st: -translate- graph into jpeg png or gif
>
> On Mon, May 6, 2013 at 12:18 PM, Charles Vellutini wrote:
>> I would like to convert a .gph graph saved on disk into either a .jpeg, .png  or .gif file. I cannot use the -graph export- command, because it requires the graph to be displayed first, which won't work for us (for reasons unimportant here).
>
> You can use the -nodraw- option in -graph use- to load the graph without drawing it (see: -help graph use-), after that you can use -graph export-.
>
> Hope this helps,
> Maarten
>
> ---------------------------------
> Maarten L. Buis
> WZB
> Reichpietschufer 50
> 10785 Berlin
> Germany
>
> http://www.maartenbuis.nl
> ---------------------------------

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index