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

Home » Public Forums » archive » Trouble resizing image
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: Trouble resizing image [message #88599 is a reply to message #88598] Thu, 15 May 2014 19:12 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matthew Argall writes:

> The same thing happens with this:
>
> IDL> window, XSIZE=1200, YSIZE=700
> IDL> cgPS_Open, '/home/user/Desktop/test.ps'
> PostScript output will be created here: /home/user/Desktop/test.ps
> IDL> cgPlot, findgen(100), XTITLE='X-Axis', YTITLE='Y-Axis', TITLE='Title', POSITION=[0.09, 0.1, 0.9, 0.93]
> IDL> cgPS_Close, /PNG, /SHOWCMD, DELETE_PS=0
> ImageMagick CONVERT command: convert -alpha off -density 300 "/home/user/Desktop/test.ps" -flatten -rotate 90 -resize 25% "PNG24:/Users/argall/Desktop/test.png"
> Output file located here: /home/user/Desktop/test.png

Yeah, don't know. Just needs more space, I guess. PostScript output is
not really WYSIWYG. Is there a reason you want the axes so close to the
edge of the plot "window"?

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I force the x=image(...) command to give me a window that is the same size as my image?
Next Topic: Re: Command line history in IDLWAVE shell

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

Current Time: Wed Oct 08 17:34:42 PDT 2025

Total time taken to generate the page: 0.00396 seconds