[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Michael Hanson <mshanson@mac.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Video from multiple graph exports |

Date |
Wed, 03 Dec 2008 20:58:56 -0500 |

Dan:

Hope this helps, Mike On Dec 3, 2008, at 7:48 PM, Dan Weitzenfeld wrote:

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 <dan.weitzenfeld@emsense.com> wrote:Thanks for suggestions, all. I am playing around with ImageJ, and will try MovieMaker. Sergiy,Basically I'm trying to overlay a graph on top of an image - theimagecan 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 - withinStata - generate a graph in which the image/stimuli is thebackground.The shp -> GIS package is an interesting idea, but it feels likeoverkill because (with the help of -spmap-) Stata will doeverything Ineed 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? -DanOn Wed, Dec 3, 2008 at 4:05 PM, Sergiy Radyakin<serjradyakin@gmail.com> wrote:Hi! 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 themintothe timeline. You can adjust the delay interval individually foreachfile 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 slideshowmode, 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. http://www.irfanview.com/ http://gd.tuwien.ac.at/graphics/irfantut/commopti.html 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 imagesgenerated inside your computer, use one of the lossless formats,likepng. Why don't you export your data to shp format from Stata andplotin a GIS package? Best regards, Sergiy Radyakin On Wed, Dec 3, 2008 at 2:49 PM, Dan Weitzenfeld <dan.weitzenfeld@emsense.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 willallow forvariable 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 mylocation-oriented data, exporting graphs as .emf/.wmf,ungrouping theresult in PowerPoint and aligning the .jpg overlay.3. Am I trying to use Stata to do something it's not suitedfor? Iknow JMP can play movies from data, but I don't think the moviescanbe exported, and, well, I'm partial to Stata. Thanks in advance, -Dan * * 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 dan.weitzenfeld@emsense.com-- Dan Weitzenfeld Media Analyst EmSense Corporation 512 2nd Street, 3rd Floor San Francisco, CA 94107 w: 415.418.7314 m: 510.552.0106 dan.weitzenfeld@emsense.com * * 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/

**References**:**st: Video from multiple graph exports***From:*"Dan Weitzenfeld" <dan.weitzenfeld@emsense.com>

**Re: st: Video from multiple graph exports***From:*"Sergiy Radyakin" <serjradyakin@gmail.com>

**Re: st: Video from multiple graph exports***From:*"Dan Weitzenfeld" <dan.weitzenfeld@emsense.com>

**Re: st: Video from multiple graph exports***From:*"Dan Weitzenfeld" <dan.weitzenfeld@emsense.com>

- Prev by Date:
**Re: st: RE: problem with dividing dataset into equally sized groups** - Next by Date:
**Re: st: Video from multiple graph exports** - Previous by thread:
**Re: st: Video from multiple graph exports** - Next by thread:
**Re: st: Video from multiple graph exports** - Index(es):

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