Putting plots on top of each other
cosmologist wrote on Jun 11, 2009
Hi,
How can I put more than one 1D spectral plot in one window in iraf to be able to compare them, like have different plots in different colors to see the differences? :cry:
How can I put more than one 1D spectral plot in one window in iraf to be able to compare them, like have different plots in different colors to see the differences? :cry:
Mike Fitzpatrick wrote on Jun 11, 2009
See the SPECPLOT task, or for small numbers of spectra, the 'o' key in SPLOT.
cosmologist wrote on Jun 11, 2009
fitz
See the SPECPLOT task, or for small numbers of spectra, the 'o' key in SPLOT.
Thanks for your reply, actually I'm struggling since yesterday when you answered the question, for some reason I get a "weird" result. It's more like an "infinite" number of horizontal lines with little fluctuations. All the lines are white and they are not even labeled... Do you have any idea what I'm doing wrong?
:( :( :(
cosmologist wrote on Jun 11, 2009
Does the question make sense? Should I explain it more?
Mike Fitzpatrick wrote on Jun 11, 2009
Your original post mentioned "1-D spectral plot", but it sounds like you're using the task on a 2-D image (e.g. an echelle). The 'apertures' parameter will let you select specific apertures/orders to be plotted and other parameters control the spacing. If you still have problems, seeing a plot or and image header would help.
-Mike
-Mike
cosmologist wrote on Jun 11, 2009
fitz
Your original post mentioned "1-D spectral plot", but it sounds like you're using the task on a 2-D image (e.g. an echelle). The 'apertures' parameter will let you select specific apertures/orders to be plotted and other parameters control the spacing. If you still have problems, seeing a plot or and image header would help.
-Mike
No, actually I'm sure that my images are 1-D i did the spectra reduction fully to all my images, and I wanted to compare them. :cry: I still can't get them all together...
Mike Fitzpatrick wrote on Jun 11, 2009
How many images are we talking about? Does running specplot on e.g. 6 images show something reasonable whereas running it on *.fits doesn't?
-Mike
-Mike
cosmologist wrote on Jun 11, 2009
fitz
How many images are we talking about? Does running specplot on e.g. 6 images show something reasonable whereas running it on *.fits doesn't?
-Mike
Yes! I actually thought specplot was for MANY plots...
When I tried to plot say 10 of them it looked better, but it doesn't show which line is which object :(
Mike Fitzpatrick wrote on Jun 11, 2009
....but it doesn't show which line is which object
See the help page, specifically the description of the 'labels' parameter. You can label spectra by image name, title, an index number of a user-defined string.
-Mike [/quote]
Last post on Jun 11, 2009