|
|
Re: Trouble resizing image [message #88598 is a reply to message #88597] |
Thu, 15 May 2014 18:39   |
Matthew Argall
Messages: 286 Registered: October 2011
|
Senior Member |
|
|
> I would have to see the command.
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
|
|
|
Re: Trouble resizing image [message #88599 is a reply to message #88598] |
Thu, 15 May 2014 19:12   |
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.")
|
|
|
|
|