comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » No Raster Image via Imagemagick
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: No Raster Image via Imagemagick [message #88993 is a reply to message #88992] Thu, 10 July 2014 07:58 Go to previous messageGo to previous message
morganlsilverman is currently offline  morganlsilverman
Messages: 46
Registered: February 2013
Member
On Thursday, July 10, 2014 10:16:51 AM UTC-4, David Fanning wrote:
> Morgan Silverman writes:
>
>
>
>> Oh, good to know. Thanks. I guess the moral of the story here is, I need to continually produce PostScript files when plotting to make sure what I'm creating looks good in a hard copy and not just looks good on the screen.
>
>
>
> Yes, and I think you will find it easier to do outside of a cgWindow.
>
> Now that you have all your graphics commands in a single file, I find it
>
> easier to just do this:
>
>
>
> cgPS_Open, 'myfile.png'
>
> DoMyThingWithGraphicsProgram
>
> cgPS_Close
>
>
>
> This creates (and deletes) the intermediate PostScript file. The end
>
> result is a PNG file of high quality. :-)
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

How do I go backwards now and go outside of a cgWindow? I wrote 6 procedures, 1 for each panel, and am running them in a main code using...

cgWindow, 'DAQPanel1', wtitle='Plot6PanelTraj_MOZAICpaper', wxsize=800, wysize=800, WBackground='White'
cgWindow, 'DAQPanel2', wtitle='Plot6PanelTraj_MOZAICpaper', wxsize=800, wysize=800, WBackground='White', /AddCmd
cgWindow, 'DAQPanel3', wtitle='Plot6PanelTraj_MOZAICpaper', wxsize=800, wysize=800, WBackground='White', /AddCmd
cgWindow, 'MOZAICPanel1', wtitle='Plot6PanelTraj_MOZAICpaper', wxsize=800, wysize=800, WBackground='White', /AddCmd
cgWindow, 'MOZAICPanel2', wtitle='Plot6PanelTraj_MOZAICpaper', wxsize=800, wysize=800, WBackground='White', /AddCmd
cgWindow, 'MOZAICPanel3', wtitle='Plot6PanelTraj_MOZAICpaper', wxsize=800, wysize=800, WBackground='White', /AddCmd

To use cgPS_Open do I need to recreate my graphics just in a normal cgDisplay window?

-Morgan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: improve calculation time
Next Topic: computation time for convolution

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 20:31:52 PDT 2025

Total time taken to generate the page: 0.31982 seconds