View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

sgraph and labels

Robert Janusz wrote on Oct 31, 2010

I can plot a graph:
sgraph 'tab x y'

I have also a label in the table for each pair of (x,y). How can I put it on the plot automatically?

Mike Fitzpatrick wrote on Oct 31, 2010

If you're saying that you want to label each pair from a 3rd column in the table, then AFAIK you cannot do that directly with SGRAPH. The overall axis labels are controlled by the AXISPARS pset (see the 'xlabel' and 'ylabel' params). Have a look at IGI as a way to do more with plotting (it's similar to SuperMongo).

Robert Janusz wrote on Oct 31, 2010

1) The IGI window (screen) has not nice fonts. How could I improve it?

2) Can I 'sgraph' to two different windows with different graphs?

3) When I make 'gkimosaic' the current window is replaced. Can I send it to different one?

Mike Fitzpatrick wrote on Oct 31, 2010


1) The IGI window (screen) has not nice fonts. How could I improve it?


You can define Postscript fonts to be used in hardcopy. See the IGI manual in tables$doc/IgiManual.ps


2) Can I 'sgraph' to two different windows with different graphs?


Sure, but you'll need to do it from two separate xgterm windows running separate IRAF sessions. Otherwise you options are just to replace the current plot or append to it.


3) When I make 'gkimosaic' the current window is replaced. Can I send it to different one?


Again, you'll need to use a separate IRAF window. XGterm/XTerm have only one graphics window.

Last post on Oct 31, 2010