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

Re: [Newbie]writing JPEG or GIF file with plot?



hy,

Thank you for your help and for your program.

I will try it in the next days and I will give you the result of my tests.
( and perhaps others questions if I've failed though I hope not)

Yann



>
> You will have to draw your graphics in either a pixmap window
> or in the Z graphics buffer. You can take a screen snapshot and
> write the proper file by using my TVREAD procedure:
>
>    http://www.dfanning.com/programs/tvread.pro
>
> Your code will look something like this:
>
>    thisDevice = !D.Name
>    Set_Plot, 'Z'
>    Plot, ....
>    OPlot, ....
>    XYOutS, ...
>    image = TVRead(/JPEG)
>    Set_Plot, thisDevice
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155