On Aug 25, 5:46 pm, David Fanning <n...@dfanning.com> wrote:
> tarequea...@gmail.com writes:
>> 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???
>
> I think your colleague runs on LIXUX machines and programs
> accordingly. :-)
>
> Windows can certainly accept a DEVICE, RETAIN=0 command, so
> I don't know why that should fail. Still smacks of PostScript
> to me. DEVICE, TRUE_COLOR=xxx is going to fail on Windows,
> since that is not how you set up a True-Color device on Windows.
> And, anyway, as you can see, you already ARE a 24-bit device,
> so the command is unnecessary.
>
> There isn't a SET_PLOT, 'X' somewhere in the code, is there?
>
> I really don't know. Strange errors. :-)
>
> 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.")
My God....!
You are RIGHT!!!!!
Its true that my buddy works in Linux. and yes, there is a
'set_plot,x' command.
Actually here's the rest of the code( this starts right after the
polar_contour command):
"
..........
close,2
set_plot,'ps'
device, filename=fileout,/encapsulated,/color, xsize=aaax, ysize=aaay
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
polar_contour, z1,t[*,0],r[0,*],/
FILL,nlevels=nlev,title=tit,zr=[-0.3,RMAX]
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device,/close_file
set_plot,'x'
close,/all "
The 'retain' thing actually is working fine. I guess, I was confusing
the machine too much so it kinda gave up on me....he he he ...
As you mentioned,"True color" command is not being accepted for
obvious reason.
And just to add a little to this, why "polar_contour" gets all berserk
when its in my machine. As you can see, I use set_plot command long
after I used "polar_contour"...?
Does it have to do anything with the conflict between Linux and
Windows? It shouldn't..right???
I am sorry that I am asking too many questions, but you have no idea
how much you are helping me out in this.
:-)
Thanks once again
Best,
T
|