Welcome to iraf.net Tuesday, April 30 2024 @ 08:07 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 splot - invert colour
   
babbloo
 12/06/2009 01:43PM (Read 2578 times)  
+----
Newbie

Status: offline


Registered: 02/19/2009
Posts: 10
HiWhen I use splot to analyze the FITS spectra, is there anything I could do to save the image in black and white format, so that it looks clear when I print it on a paper?I need to include images in a report and currently taking screenshots of the green and black coloured screen. It doesn't look really good when I print them out.Can you please help me out in this at the earliest?Thanks

 
Profile Email
 Quote
fitz
 12/06/2009 01:43PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
For inclusion in another document, the simplest thing is to use the 'eps' device name to create a B&W EPS file in the current directory called 'sgiXXXX.eps' (where the XXXX is some process id). You can do this with ":.snap eps" from an interactive cursor, or by setting the task 'device' parameter to 'eps' for non-interactive tasks like CONTOUR. You'll need to follow this with a ":.gflush" or "gflush" at the cl prompt to flush the plot to the file. Similarly, there is a 'g-gif' device that will produce a 640x480 GIF image of the plot.
Another solution is simply to use an Xterm instead of an XGterm and set the fore/background colors appropriately, however the EPS will be scalable within the doc.If you get an error about 'sgidispatch: command not found' then the iraf commands directory is not in the path included in your .cshrc/.bashrc file, or if you're using SciSoft there may be a know problem that this command isn't installed (search the forums for SciSoft for a solution).-Mike

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login