Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Mon, May 6, 2013 at 6:56 AM, Charles Vellutini
> 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
> -----Message d'origine-----
> De : email@example.com [mailto:firstname.lastname@example.org] De la part de Maarten Buis
> Envoyé : lundi 6 mai 2013 12:37
> À : email@example.com
> 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 L. Buis
> Reichpietschufer 50
> 10785 Berlin
* For searches and help try: