Overlaying a coordinate grid on a contour plot [message #36448] |
Wed, 17 September 2003 16:36 |
sjklawik
Messages: 1 Registered: September 2003
|
Junior Member |
|
|
Hello,
I have two semi-related problems.
Problem #1:
I am trying to make a contour plot of telescope results right
around the North celestial pole. Right at the NCP this plot is really
in polar coordinates of Right Ascention and Declination. When I
attempt to use the procedure Polar_contour the edges of the map are
spread out uniformly. The map really should look like a circular
patch on the sky with a sawtooth irregular edge. The polar_contour
procedure blurs the edge into a thinly sampled, smooth circle. Any
ideas what could be happening?
To bypass this problem I have re-gridded my data into a square
patch on the sky with dummy rectangular coordinates of row and column.
When I plot this using the regular Contour procedure the map looks
like I expect it to.
Problem #2: How can I overlay a labeled polar coordinate grid on
top of the contour plot? (Over a plot created with Contour or
Polar_contour?)
Thank you,
Slade
window, 4, xsize=700, ysize=700
CONTOUR, twodimvaluearray, levels= [{level value array}] ,
background=133, charsize=2, color=030, /device, C_COLORS = [{color
value levels}], TITLE=titlestring, XTITLE='Columns', YTITLE='Rows',
ZTITLE='mJy', /isotropic, min_value=-380000.
window, 5, xsize=700, ysize=700
POLAR_CONTOUR, onedimvaluearray, onedimRAarray, (90.-onedimDECarray),
levels=[{level value array}], background=133, charsize=2, color=030,
C_COLORS = [{color value levels}], min_value=-380000, /device,
background=133, /isotropic
|
|
|