View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Contour lines in ximtool

Phil Fischer wrote on Jul 06, 1998


I am using the contour task with dev=imdblack to make contour lines in my
ximtool. However, I find that the lines are too faint. Is there a way of making
these lines darker? For example, by doubling the width?

Thanks,

Phil Fischer

Mike Fitzpatrick wrote on Jul 06, 1998


> I am using the contour task with dev=imdblack to make contour lines in my
> ximtool. However, I find that the lines are too faint. Is there a way of
> making these lines darker? For example, by doubling the width?

	The line width can be controlled via the graphcap 'LO' (line
origin) and 'LS' (line slope) parameters, normally defined in the
low-level 'imd' entry of the graphcap file.  To double the line width
and keep the color black then try something like

	imddark|                   :LO#2:LS#2:tc=imdblack:

If you can't modify the system graphcap file then make a private graphcap
as follows:

    cl> copy dev$graphcap home$mygraphcap	  # copy the file
    cl> edit home$mygraphcap			  # add new entry
    .....add the above line near the top 
    cl> gflush					  # reinitialize graphics
    cl> display dev$pix 1			  # display and image
    cl> contour dev$pix dev=imddark perim- fill+  # overlay dark contour

Note the line width change will also affect any text being drawn, but this
is usually unreadable anyway.

Cheers,
-Mike

Last post on Jul 06, 1998