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 #88985 is a reply to message #88978] Thu, 10 July 2014 05:34 Go to previous messageGo to previous message
morganlsilverman is currently offline  morganlsilverman
Messages: 46
Registered: February 2013
Member
On Wednesday, July 9, 2014 3:53:43 PM UTC-4, David Fanning wrote:
> Morgan Silverman writes:
>
>
>
>> I was hoping to save my cgWindow to a publication quality image using Imagemagick. I've run cgHasImageMagick and get
>
>>
>
>> IDL> Print, cgHasImageMagick()
>
>> 1
>
>>
>
>> but under File, Save Window As... -> I only have the options of Postscript File, PDF File, or Raster Image File. Is there a way to get the Raster Image Files vis ImageMagick from the graphics window or do I need to just save as a postscript and manually convert the file in ImageMagick? I'm using IDL version 8.1.0 on a mac.
>
>
>
> Yes, and ...
>
>
>
> Is the resulting image of crappy quality? In my experience, the output
>
> from cgWindow is at least as good as (and sometimes better) than the
>
> output from the function graphics routines.
>
>
>
> http://www.idlcoyote.com/cg_tips/compcont.php
>
>
>
> What does "publication quality image" mean to you? I use this method to
>
> produce ALL the figures in my books. The books sell well enough to
>
> convince me the figures can't be that bad. ;-)
>
>
>
> Do you need to modify the image output? If so, see the keywords to
>
> cgControl.
>
>
>
> 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.")

David,

I will certainly take a look at that article. The quality of the output is alright. The problem is I can only save from the graphics window to a postscript and the hardcopy created is different looking then the cgWindow (axis label spacing too close to graph, legend too big, and panel spacing too close). I've tried to save as a Raster File but for some reason nothing is generated and either IDL or my mac actually deletes any previously saved .ps files from cgWindow of the same name. I think the legend resizing problem might be because I used AL_legend,['1500 m', '2000 m', '2500 m', '3000 m', '3500 m'], psym=[28,28,28,28,28], color=['red', 'blue', 'green', 'cyan', 'magenta'], pos=[0.055,0.96], /norm, charsize=0.85. This seemed to be the only method that worked to produce a legend in each panel though. Is there a better way to do that so it doesn't change size in the hardcopy? Maybe not use normalized positions. Thanks.

-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: Wed Oct 08 19:33:28 PDT 2025

Total time taken to generate the page: 0.00427 seconds