Re: Problem with Polar_contour [message #62073 is a reply to message #62071] |
Mon, 25 August 2008 14:16   |
tarequeaziz
Messages: 20 Registered: November 2007
|
Junior Member |
|
|
On Aug 25, 3:53 pm, David Fanning <n...@dfanning.com> wrote:
> tarequea...@gmail.com writes:
>> Now when he runs it in his machine (with IDL version 6.2) it just
>> works like a charm but the same code breaks down when I want to run on
>> machine (with IDL 7.0).
>
>> As I showed on the code, program breaks down at weird places, like
>> "DEVICE,RETAIN=0"( shown above). It says that, retain is NOT allowed
>> for device command, how ridiculous!!!!!
>
>> Even if I circumvent this area, when it gets down to polar_contour
>> command, it says, it cannot plot since the points are collinear !! How
>> come then it works on his machine?????
>
>> As far as I can see, the code seems alright. I just cannot figure out
>> why it is breaking down on my machine.
>
> My guess is your device is "PS" and his device is "X" or "WIN".
> These commands are not allowed in the PostScript device.
> To see what device you are in, type this:
>
> HELP, /DEVICE
>
> 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.")
Thanks Dave,
I really appreciated your prompt reply!!!
As per your advice, I checked it. My device is set as "WIN"
here's what I got:
"Available Graphics Devices: CGM HP METAFILE NULL PCL PRINTER PS WIN Z
Current graphics device: WIN
Screen Resolution: 1680x1050
Simultaneously displayable colors: 16777216
Number of allowed color values: 16777216
System colors reserved by Windows: 0
IDL Color Table Entries: 256
NOTE: this is a TrueColor device
NOT using Decomposed color
Graphics Function: 3 (copy)
Current Font: System, Current TrueType Font: <default>
Default Backing Store: None. "
What do you think???
Best,
T
|
|
|