Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: graph export vs save graph as


From   "Kerry Kammire" <kkammire@stata.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: graph export vs save graph as
Date   Fri, 27 Jan 2006 13:59:16 -0600

Jan Bayer <jan.baijer@cea.fr> wrote:

> "graph export mygraph.pct" in a do-file is not the same as "save
> graph as pict", although my manual tells me so. The "exported" pict
> file is un-degroupable in drawing applications. Is there something I
> did not get ?!

They are the same.  I exported a graph in PICT format using -graph export-
and
also saved a graph as PICT and was able to open both PICT files in Adobe
Illustrator and select the different elements (lines, circles, text,
rectangles, etc) and move them around.

As far as being ungroupable, we have no control over that.  We tell the Mac
we're drawing a PICT file, it records all the drawing commands, then we save
those commands to a file.  It's up to the graphics application to figure out
how the different elements of the PICT file are grouped.  In Illustrator, it
grouped drawing elements (circles, lines, rectangles) together, then text
together, then bitmaps together.  I had to use the direct selection tool to
create new groups.
-Chinh Nguyen
 cnguyen@stata.com


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index