how to put labels using plot tools without identify
masa wrote on Mar 29, 2008
Dear iraf users,
Please tell me how to put labels using plot tools
without noao.onedspec.identify.
I would like to put labels (wavelength and elements)
with tick marks on the 1-D spectra.
Yes, I know that identify can put labels on the
spectra by ":labels coord".
Sincerely yours,
Masa
Please tell me how to put labels using plot tools
without noao.onedspec.identify.
I would like to put labels (wavelength and elements)
with tick marks on the 1-D spectra.
Yes, I know that identify can put labels on the
spectra by ":labels coord".
Sincerely yours,
Masa
Francisco Valdes wrote on Mar 29, 2008
For general graphics that does nice annotation I would suggest tables.tbplot.igi from the external TABLES package. This is a complete graphics display language similar to MONGO.
The only other alternative is to use the CURSOR mode commands. When you have a graph showing, say after plotting it with identify, splot, implot, you get a graphics cursor to appear by typing "=gcur". Then you can enter some annotation commands as described in "phelp cursors". In particular the the keystrokes "D" for drawing lines and "T" for writing text. When you have done this you can print it with ":.snap" or save it with ":.w file". The problem with this is that if you make a mistake or cause the graph to be redrawn you have to start over. It is not possible to put the cursor commands into a file.
Yours,
Frank Valdes
The only other alternative is to use the CURSOR mode commands. When you have a graph showing, say after plotting it with identify, splot, implot, you get a graphics cursor to appear by typing "=gcur". Then you can enter some annotation commands as described in "phelp cursors". In particular the the keystrokes "D" for drawing lines and "T" for writing text. When you have done this you can print it with ":.snap" or save it with ":.w file". The problem with this is that if you make a mistake or cause the graph to be redrawn you have to start over. It is not possible to put the cursor commands into a file.
Yours,
Frank Valdes
Last post on Mar 29, 2008