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

Home » Public Forums » archive » Re: imcontour no longer plotting in color
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: imcontour no longer plotting in color [message #81025 is a reply to message #81023] Thu, 02 August 2012 06:34 Go to previous messageGo to previous message
Balthasar Indermuehle is currently offline  Balthasar Indermuehle
Messages: 22
Registered: August 2012
Junior Member
Hi Wayne,

many thanks for your reply. The colourtable variable is defined here:

colourtable = 22 ; Which colour table to use. Some colours are (descriptions are for Brewer colour schemes, in reverse):
; 0: dark green to white
; 1: dark blue - turquoise - eggshell
; 2: light blue - turquoise - eggshell
; 3: dark green to white
; 4: dark green - blue - white
; 5: dark blue to white
; 6: purple to white
; 7: purple - eggshell - white
; 8: red - pink - white
; 9: red - white
; 10: brown - orange - eggshell
; 11: red - orange - eggshell
; 12: purple - white
; 13: blue - white
; 14: green - white
; 15: red - orange - white
; 17: black - white
; 18: purple - white - brown
; 19: green - white - brown
; 20: green - white - purple
; 21: light green - white - purple
; 22: blue - white - red
; 23: black - white - red
; 24: light blue - white - red
; 25: light blue - eggshell - red
; 26: light green - eggshell - red
; 27: orange - green - purple
; 28: white - orange - blue - green - black

I'm using IMCONTOUR twice. The first time it draws the FITS data and grid, the second call draws the contours. Replacing the second call with CGCONTOUR works as well, i.e. same outcome as using IMCONTOUR. The first call however, if I change it to CGCONTOUR, an error window pops up:

CGCOLOR--> Attempt to subscript RVALUE with THEINDEX is out of range.

and then immediately a second error:

CGCONTOUR--> Keyword OVERLAY not allowed in call to: CONTOUR

Cheers

- Balt
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Trig plots auto-shifted (?)
Next Topic: Re: Trig plots auto-shifted (?)

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

Current Time: Wed Oct 08 19:26:08 PDT 2025

Total time taken to generate the page: 0.00474 seconds