View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Change plot line thickness

Alida wrote on Jun 09, 2011

Hi

I am using IRAF for spectroscopy and I am trying to find a way to change (increase) the thickness of the line used to plot the spectrum in splot (or any other plot window for that matter, if not possible in splot) for printing purposes. I thought this would be a very simple matter, but I cannot find a way of doing this... Is there anybody that can maybe provide me with a solution? Thanks, I will appreciate any help!

I am using IRAF v2.15 on Ubuntu 10.04, 64-bit.

Regards
Alida

Mike Fitzpatrick wrote on Jun 09, 2011

Plot thickness is controlled by the "pen width" parameter in the graphcap entry for the device, i.e. the ":PW" value. This is in the form of 'base.slope' to encode 2 separate values and defaults to a value of 2.4. you would need to experiment to find a value that works for you.

To change the value, edit your dev$graphcap file entry for the printer you use, e.g. for the default printer on the machine


lp|                     :PW#3.6:tc=g-lp:


would change the value to 3.6, use "show printer" to see which device you are currently using.

You'll need to type "gflush" after editing the graphcap file for the change to take effect, and it won't be visible on the terminal graphics window unless you do a ":.txset q=high" to raise the text quality for the display. Note that other parameters such as text size and color can be specified to annotate plots, see "help cursors" section 3.5 for details.

Last post on Jun 09, 2011