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

Home » Public Forums » archive » More cgplot, ps_start, ps_end problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
More cgplot, ps_start, ps_end problems [message #75254] Sat, 19 February 2011 09:07
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
Weird... I just used PS_START and PS_END to create .eps files... but
ImageMagick can't find the .eps files to convert to PNGs when I have
PS_END, /PNG set. Here's the output from PS_END:

PostScript output will be created here: ~/Desktop/BrGamma_known.eps
ImageMagick CONVRT command:
convert -alpha off -density 300 "~/Desktop/BrGamma_known.eps" -resize
25% -flatten -rotate 90 "PNG24:~/Desktop/BrGamma_known.png"
convert: unable to open image `~/Desktop/BrGamma_known.eps': No such
file or directory @ error/blob.c/OpenBlob/2584
convert: missing an image filename `PNG:~/Desktop/BrGamma_known.png' @
error/convert.c/ConvertImageCommand/2949

I get the .eps file on the desktop, and the image size is correct, but
the plot isn't centered, it runs off the end, and the rotation is
wrong.

My last CG update is from a couple of days ago. Here's the routine
that produces the plots:

PRO knownplot, filt, nb, res, id, typ
ps_start, file='~/Desktop/'+filt+'_known.eps',$
/encapsulate,/inches,xsize=10,ysize=10
cgplot, nb, res-nb, psym=1, xtitle=filt+' NB mag',$
ytitle=filt+' Diff mag - NB mag',title+'Known WRs in '+$
filt, charsize=1.25
cgtext, nb, res-nb, typ, charsize=0.7, charthick=2, /data
ps_end, /png
end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Large H5
Next Topic: BUG: How to crash IDL using !null

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

Current Time: Wed Oct 08 13:33:44 PDT 2025

Total time taken to generate the page: 0.00872 seconds