Re: The usage of PS_END [message #62797 is a reply to message #62796] |
Sun, 05 October 2008 16:07   |
duxiyu@gmail.com
Messages: 88 Registered: March 2007
|
Member |
|
|
I will use PSConfig instead of it.
Because I found that the parameter filename for PS_START can not be
set as the whole path file like 'D:\lineplot.ps'.
It added the current path before the given filename, and get errors as
calling DEVICE.
Best regards,
Du
On Oct 4, 3:58 pm, David Fanning <n...@dfanning.com> wrote:
> dux...@gmail.com writes:
>> PS_START/PS_END is a very useful program in Coyote Program Library.
>> But I have some troubles to use PS_END to convert ps file to another
>> type.
>
>> I have installed ImageMagick and the command COVERT is avaible when I
>> test it in system.
>> My OS is vista and the version of IDL is 7.0.
>
>> However, I cannot repeat the example which is given in David's
>> website.
>> ;----------------------------------------------------------- ----------------------------------
>> PS_Start, FILENAME='lineplot.ps'
>> Plot, Findgen(11), COLOR=FSC_Color('navy'), /NODATA, XTITLE='Time',
>> YTITLE='Signal'
>> OPlot, Findgen(11), COLOR=FSC_Color('indian red')
>> OPlot, Findgen(11), COLOR=FSC_Color('olive'), PSYM=2
>> PS_End, /PNG
>> ;----------------------------------------------------------- ----------------------------------
>> After I excuted them, there was no problem about the PS file
>> 'lineplot.ps', but the PNG file was not created.
>
> Humm. Well, if you have confirmed that all the individual parts
> work, and that you can make a PNG file from your PS file by hand
> using ImageMagik, then I think the only possible explanation is computer
> gremlins. If this is the case, then I am afraid the only solution
> available to you is fervent prayer. :-(
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|