[daip] KNTR labelling of cube

Michael Rupen mrupen at nrao.edu
Thu May 3 10:29:26 EDT 2007


Dear DAIP,

   when doing a contour plot of a four-channel cube using KNTR, I
noticed that

   1- the right-hand panels are not labelled -- I expected this for Dec,
     but not for RA

   2- the axis labels "Declination" and "Right Ascenscion" are centered
     as if referring only to the lower-left plot, not to the cube as a whole

   3- the contour levels are also given as if referring only to the lower-
     left plot -- not only are they centered on that, line feeds are
     inserted to ensure that the list of contour levels does not extend
     beyond that single panel (rather than filling the entire horizontal
     width of the page).

I've attached a sample postscript plot showing the problem, for LTYPE 3 
(though the same occurs for any relevant ltype).  The same problem occurs
for versions OLD, NEW, and TST, on my desktop machine (scamper).  I append
the inputs which produced this plot below.  The input cube may be found
in

       /home/scamper/sscyg.mcube

Thanks for looking into this --

             Michael

inp KNTR

AIPS 1: KNTR:  Task to generate a plot file for a contour & grey plot
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: DOCONT        1                    > 0 => do contours
AIPS 1:                                    (1 or 2 => which name)
AIPS 1: DOGREY       -1                    > 0 => do grey scale
AIPS 1:                                    (1 pr 2 => which name)
AIPS 1: DOVECT       -1                    > => do polarization vectors
AIPS 1:                                    (1 or 2 => which is IPOL)
AIPS 1:                                    Contour or grey or IPOL
AIPS 1: INNAME     'SSCYG'                 First image name (cube?)
AIPS 1: INCLASS    'MCUBE'                 First image class
AIPS 1: INSEQ         1                    First image seq. #
AIPS 1: INDISK        2                    First image disk drive #
AIPS 1:                                    Contour or grey or IPOL
AIPS 1: IN2NAME    ' '                     Second image name
AIPS 1: IN2CLASS   ' '                     Second image class
AIPS 1: IN2SEQ        0                    Second image seq. #
AIPS 1: IN2DISK       0                    Second disk drive #
AIPS 1:                                    Polarization intensity image:
AIPS 1: IN3NAME    ' '                       (name) blank => INNAME
AIPS 1: IN3CLASS   ' '                       (class) blank => 'PPOL'
AIPS 1: IN3SEQ        0                      (seq. #) 0 => high
AIPS 1: IN3DISK       0                      Disk drive #,  0 => any
AIPS 1:                                    Polarization angle image:
AIPS 1: IN4NAME    ' '                       (name) blank => INNAME
AIPS 1: IN4CLASS   ' '                       (class) blank => 'PANG'
AIPS 1: IN4SEQ        0                      (seq. #) 0 => high
AIPS 1: IN4DISK       0                      Disk drive #,  0 => any
AIPS 1: BLC         224         222        Bottom left corner of first
AIPS 1:               0           1        image.  0 => 1
AIPS 1:               1           1           1
AIPS 1: TRC         300         299        Top right corner of first
AIPS 1:               0           1        image;   0=>entire image
AIPS 1:               1           1        Multiple planes of a cube
AIPS 1:               1                    will be plotted in panels.
AIPS 1: ZINC          1                    Increment on 3rd axis of
AIPS 1:                                    1st and possibly 2nd image
AIPS 1: NY            0                    Number of planes along
AIPS 1:                                    vertical side of plot
AIPS 1: XYRATIO       0                    X to Y axis plot ratio. 0=>
AIPS 1:                                    header inc or window ratio
AIPS 1: PIXRANGE      0           0        Min,Max of image intensity
AIPS 1:                                      0 => entire range.
AIPS 1: FUNCTYPE   ' '                     Image intensity transfer func
AIPS 1:                                      'LN' Linear.  unknown=>'LN'
AIPS 1:                                      'LG' Logarithmic
AIPS 1:                                      'L2' More logarithmic
AIPS 1:                                      'SQ' Square root
AIPS 1:                                      'NE' Negative linear
AIPS 1:                                      'NG' Negative logarithmic
AIPS 1:                                      'N2' Negative more log.
AIPS 1:                                      'NQ' Negative square root
AIPS 1: OFMFILE    'TV'
AIPS 1:                                    ' ' => do black & white
AIPS 1:                                    'TV' => use TV OFM
AIPS 1:                                    else read file for OFM
AIPS 1: DOCOLOR       1                    Do RGB images as 3-color?
AIPS 1: LTYPE         3                    Type of labeling: 1 border,
AIPS 1:                                    2 no ticks, 3 standard, 4 rel
AIPS 1:                                    to center, 5 rel to subim cen
AIPS 1:                                    6 pixels, 7-10 as 3-6 with
AIPS 1:                                    only tick labels
AIPS 1:                                    <0 -> no date/time
AIPS 1:                                    special values for RGBLEVS
AIPS 1: DOALIGN       1                    > 0 => images must line up
AIPS 1:                                       (see HELP DOALIGN)
AIPS 1: PLEV          0                    Percent of peak for levs.
AIPS 1: CLEV       1.920E-05               Absolute value for levs
AIPS 1:                                       (used only if PLEV = 0).
AIPS 1: LEVS         -4          -2.8284   Contour levels (up to 30).
AIPS 1:               2.8284      4           5.6569      8
AIPS 1:              11.3137     16          22.6274     32
AIPS 1:              45.2548     64          90.5097    128
AIPS 1:             181.0193    256         362.0387    512
AIPS 1:             724.0773   1024        *rest 0
AIPS 1: CON3COL       0                    Color the contours by plane
AIPS 1: FACTOR        0                    Mult. factor for Pol vector
AIPS 1:                                       (see HELP)
AIPS 1: ROTATE        0                    Angle to rotate Pol vector
AIPS 1:                                       (in degrees)
AIPS 1: XINC          1                    X-inc. of Pol vectors. 0=>1
AIPS 1: YINC          1                    Y-inc. of Pol vectors. 0=>1
AIPS 1: PCUT          0.1                  Pol. vector cutoff. P units.
AIPS 1: ICUT          0.1                  Int. vector cutoff. I units.
AIPS 1: POL3COL       0                    Color polarization vectors
AIPS 1:                                    value in degrees = red
AIPS 1: DOBLANK       0                    Draw boundary between blanked
AIPS 1:                                    areas and good areas?
AIPS 1: DOWEDGE       1                    > 0 => plot a wedge also.
AIPS 1:                                    = 2 => put on the right edge.
AIPS 1:                                    = 3 => put on top using full
AIPS 1:                                           range of image values
AIPS 1:                                    = 4 => put on right w full
AIPS 1:                                           range of image values
AIPS 1: DOCIRCLE     -1                    > 0 => extend ticks to form
AIPS 1:                                    coordinate grid
AIPS 1: INVERS        2                    STar file version number.
AIPS 1: STFACTOR     20                    Scale star sizes: 0 => none.
AIPS 1:                                    > 0 crosses with no labels
AIPS 1:                                    < 0 crosses with labels
AIPS 1: CBPLOT        0                    Position for beam plot:
AIPS 1:                                      0: don't plot beam
AIPS 1:                                      1: lower left (default)
AIPS 1:                                      2: lower right
AIPS 1:                                      3: upper right
AIPS 1:                                      4: upper left
AIPS 1:                                      5: plot in separate pane
AIPS 1:                                      6-10 as 1-5 but filled in
AIPS 1:                                     11-15 as 1-5 more filled
AIPS 1:                                     16-20 as 1-5 scribbled on
AIPS 1:                                     -n < 0 => n, but no other
AIPS 1:                                        drawing in beam-plot area
AIPS 1: LABEL         0                    0->label each pane with the
AIPS 1:                                       pane number
AIPS 1:                                    1->label each with coordinate
AIPS 1:                                    2->label each with coordinate
AIPS 1:                                       relative to reference
AIPS 1:                                    -1->do not label each pane
AIPS 1: DOTV          1                    > 0 Do plot on the TV, else
AIPS 1:                                    make a plot file
AIPS 1: TVCHAN        1                    TV channel for grey plots
AIPS 1: GRCHAN        2                    Graphics channel 0 => 1.
AIPS 1: DODARK        1                    Plot dark vectors as black?
AIPS 1: DARKLINE      0.5                  Switch to dark lines when
AIPS 1:                                    grey-scale > DARKLINE 0-1
AIPS 1: RGBLEVS    *all 0                  Color each value of LEVS
AIPS 1: TVCORN        0           0        TV pixel location of bottom
AIPS 1:                                    left corner of image 0=> self
AIPS 1:                                    scale, non 0 => pixel scale.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sscyg_x214-8kntr.ps
Type: application/postscript
Size: 178837 bytes
Desc: sscyg.ps
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20070503/4927f50c/attachment.ps>


More information about the Daip mailing list