23.04.2015 Views

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

14.7. CREATING HARDCOPY PLOTS 153<br />

14.7 Creating hardcopy plots<br />

14.7.1 Using xcontour<br />

This is a widget-based program for producing contour plots for screen display and postscript<br />

output. You call it with a single image, specifying the window for display (keyword win) ifyou<br />

wish:<br />

CIA> xcontour, raster_pds.raster, win=1<br />

xcontour presents you with a widget for choosing contour levels and contour label sizes.<br />

• Click on apply when you want to see your contours plotted.<br />

• Click on annotate to display a widget which allows you to annotate text and graphics to<br />

your plot. This is usual for marking regions of interest in an image. options gives you the<br />

postscript output options available. Options for producing an output file are available in<br />

the drop-down menu under the push button file.<br />

• Click on print to screen dump the graphics window to a postscript file.<br />

14.7.2 Screen dumps with ps color<br />

ps color produces a postscript or GIF format file from the contents of an IDL graphics window.<br />

This routine has keywords for: specifying a filename for the output file, choosing the window to<br />

dump to the file, setting the orientation of the postscript output to landscape, passing a title<br />

for the plot and placing the <strong>ESA</strong>/CEA copyright notice in the plot window margin. Note that<br />

ps color needs sufficient room in the margins for placing text. If the margins are not wide<br />

enough for this you may have to adjust your plot (see the IDL User’s <strong>Manual</strong>). Each of these<br />

keywords appear in the following example in the order in which they have just been described.<br />

CIA> ps_color, filename=’test.ps’, win=0, /landscape, title=’hhh’, $<br />

CIA> /copyright<br />

Alternatively, ps color can produce GIF output:<br />

CIA> ps_color, filename=’test.gif’, win=0, /gif<br />

You may find the routines white and black useful with ps color. These routines change<br />

the colour table to black on white and back to white on black, respectively, making your output<br />

plot more readable (and saving printer toner).<br />

14.8 Redirecting graphics to the postscript device<br />

ps open and ps print are used to redirect graphics to the postscript device. The former opens<br />

an output postscript file and the latter closes the file.<br />

Several keywords can be supplied to ps open. In the example below the output file to be<br />

created contains a plot in portrait orientation, in colour and in encapsulated format. Without<br />

setting the keywords it defaults to landscape, grey-scale and normal postscript, respectively.<br />

The name of the output file is idl.ps.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!