[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Video from multiple graph exports
"Dan Weitzenfeld" <email@example.com>
Re: st: Video from multiple graph exports
Wed, 3 Dec 2008 16:48:06 -0800
I think I'm barking up the wrong tree. I found, in a previous
statalist discussion, "At the moment Stata
does not allow a level of transparency in the graphics engine." It
seems that transparency support would be necessary for overlaying a
graph on top of an image. Indeed, when I try exporting .pngs with
regions having "zero" fill, the resulting file is still opaque.
On Wed, Dec 3, 2008 at 4:28 PM, Dan Weitzenfeld
> Thanks for suggestions, all. I am playing around with ImageJ, and
> will try MovieMaker.
> Basically I'm trying to overlay a graph on top of an image - the image
> can be .jpg, .png, etc. To give you a concrete example, one type of
> data I work with is eye-tracking data, so I would like to - within
> Stata - generate a graph in which the image/stimuli is the background.
> The shp -> GIS package is an interesting idea, but it feels like
> overkill because (with the help of -spmap-) Stata will do everything I
> need except for putting a graph on top of an image. I'll definitely
> look into it, though. Has anyone written a program that converts
> -spmap- files (e.g. Basemap files) to .shp?
> On Wed, Dec 3, 2008 at 4:05 PM, Sergiy Radyakin <firstname.lastname@example.org> wrote:
>> I've done videos like that. Once you have all your frames in .png
>> files, select all of them, drag and drop to the Windows MovieMaker,
>> there check that they are in the proper sequence, and place them into
>> the timeline. You can adjust the delay interval individually for each
>> file or for the whole sequence. You can add a soundtrack right away.
>> Then save as a video file (wmv).
>> Example available.
>> Alternatively, many viewers support command line activated slide show
>> mode, for Windows platform, check free IrfanView, which is an
>> excellent Viewer/Converter. I don't think you will have a lot of
>> control though, e.g. setting individual delays for each file.
>> As for Q2, Stata does not support JPG files for any purpose and you
>> should not either. JPG is a format for digital photography, for
>> noise-rich analog-to-digital conversion (via scanner of digital
>> camera) from the real world to the world of computers. For images
>> generated inside your computer, use one of the lossless formats, like
>> png. Why don't you export your data to shp format from Stata and plot
>> in a GIS package?
>> Best regards, Sergiy Radyakin
>> On Wed, Dec 3, 2008 at 2:49 PM, Dan Weitzenfeld
>> <email@example.com> wrote:
>>> Hi Folks,
>>> I'm considering making a movie using multiple Stata graphs, exported.
>>> E.g., for t=0,1,...n, graphing the data at each t, and then using a
>>> slide-show program to stack the graphs in time order, creating a
>>> "movie" illustrating how the data changes over time.
>>> My questions:
>>> 1. Has anyone does this before, and if so, do you have
>>> recommendations for the most flexible slide-show program?
>>> Specifically, I'm wondering if there is a program that will allow for
>>> variable intervals between slides (e.g., t=0, 1.5, 2, 2.2,....)
>>> 2. Is there a way to overlay a Stata graph on top of a .jpg file?
>>> I've been doing this manually, using -spmap- to plot my
>>> location-oriented data, exporting graphs as .emf/.wmf, ungrouping the
>>> result in PowerPoint and aligning the .jpg overlay.
>>> 3. Am I trying to use Stata to do something it's not suited for? I
>>> know JMP can play movies from data, but I don't think the movies can
>>> be exported, and, well, I'm partial to Stata.
>>> Thanks in advance,
>>> * 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/
> Dan Weitzenfeld
> Media Analyst
> EmSense Corporation
> 512 2nd Street, 3rd Floor
> San Francisco, CA 94107
> w: 415.418.7314
> m: 510.552.0106
512 2nd Street, 3rd Floor
San Francisco, CA 94107
* For searches and help try: