Welcome to iraf.net Friday, May 03 2024 @ 07:36 AM GMT
Anonymous: Guest |
10/26/2005 05:06PM (Read 3020 times)
|
|
|
|
On Wed, 26 Oct 2005, Buell Jannuzi wrote:> Warning, IRAF question... when setting stdgraph to psdump,
> how can one adjust the density, or resolution, of the image that is saved?You can't do it from the command line or a ":.snap" other than to
create a private graphcap file and your own device entry with the
specified size/resolution. For instance, to create your own graphcap
file do: cl> copy dev$graphcap home$mygraphcap
cl> reset graphcap = home$mygraphcap
cl> gflushThe last two lines you can put in your login(user).cl file, the gflush
is needed to reinitialize the system. Then to create your own device
entry add something like: mypsdump| :XO#300:XW#1950:YO#1000:YW#1300:tc=g=psdump:The XO/YO (x-oh/y-oh, not x-zero/Y-zero) specify the offset of the
plot on the page, the XW/YW and the size of the plot in pixels. You
can do the math to figure out how to make a particular size given a
300 dpi printer. Then just snap to device 'mypsdump', remember to
'gflush' after the plot and after each change to the graphcap file.
Cheers,
-Mike
|
|
|
|
| |
|
Content generated in: 0.01 seconds |
|