View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

contour questions

Guest wrote on Nov 29, 2005

Questions:

Is there some way to make the lines in a contour plot thicker?

This is the problem: I display an image to an ximtool window, plot
a contour on it using "contour", and print the image to an eps file.
I then use latex to put this image along with others onto a page for
publication. I shrink the image by 30% when placing it on the page,
and the contours disappear on the printed page. I have tried using
"magnify" to shrink the image first, using the smallest ximtool
display (512^2, the contouring doesn't scale right for 256^2, although
it works for 512 and 800), shrinking to 30% when capturing the
ximtool to a file, using "convert" to shrink the image with lots
of bits per inch, and using different colors. But I can't find any
way to make the contours legible on a 2.25-inch printed rendition of
the image.

Another question:

Is there some way to make the lines in a "contour" plot plotted
to the ximtool window black?

Thank you for your help.

Deidre Hunter

Post generated using Mail2Forum (http://www.mail2forum.com)

Guest wrote on Nov 29, 2005

Hi Deidre,

> Is there some way to make the lines in a contour plot thicker?

Sure, but you need to make a special graphcap entry for it.
>From your description of the problem it sounds like you're overlaying
the contour on the image display so you'll need to modify the 'imd'
device entry. First make a private copy of the graphcap file using

cl> copy dev$graphcap home$mygraphcap
cl> edit home$mygraphcap

Then add a device entry such as

imdr_thick| :CI#204:LO#2:tc=imd:

near the top of the file (so you can find it easily, it can go anywhere).
Next type 'gflush' to reinitialize the graphics and try it out using

cl> display dev$pix 1
cl> contour dev$pix dev=imdr_thick

The ":LO#2" is what doubles the default line thickness but you can change
this to be larger if needed.

> Another question:
>
> Is there some way to make the lines in a "contour" plot plotted
> to the ximtool window black?

Do the above except add the ":LO#2" to the 'imdblack' entry
(on about line 262 of a V2.12.2 graphcap file) or else modify the :CI
color index to be 202.

Cheers,
Mike Fitzpatrick

Post generated using Mail2Forum (http://www.mail2forum.com)

Last post on Nov 29, 2005