Welcome to iraf.net Saturday, April 20 2024 @ 12:48 PM GMT
aclocchiatti |
05/19/2011 11:51PM (Read 2048 times)
|
|
|
Status: offline
Registered: 05/19/2011
Posts: 2
|
I have come across a problem when trying to produce hard copies of the graphic window of task splot, if I am working with very large spectra (for example a spectrum having about 411800 pixels). In such a case, I am able to work with splot as usual, but, when I try to produce a hard copy of the graphic window using .snap psdump, or .snap epsf, or epsfl, I find that only the first few thousand pixels of the spectrum get printed. If I zoom in a narrower region of wavelength, hence plotting in the splot graphic window a smaller number of pixels, I eventually get to the point when all what I see in the computer screen gets printed in the .ps, or .eps files.This is annoying. There are many good things that can be done in the splot window, which could be good to pass to hard-copy format. It looks like the problem is a buffer of memory, somewhere, that needs to be made larger to accommodate this kind of modern data.Any idea about how to solve this problem?Thanks in advance.Alejandro
|
|
|
|
fitz |
05/19/2011 11:51PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Edit your login.cl file to uncomment (i.e. remove the leading '#') and increase the size of the 'cmbuflen' variable. This is the size of the graphics buffer and needs to be increased for very large plots. Alternatively you can reset it on the commandline, e.g.[code:1:61fb70cfe3]cl> reset cmbuflen = 1024000 ; gflush[/code:1:61fb70cfe3]The 'gflush' is required to reinitialize the graphics system.
|
|
|
|
aclocchiatti |
05/19/2011 11:51PM
|
|
|
Status: offline
Registered: 05/19/2011
Posts: 2
|
Thank you very much fitz! When I was younger and sharper I used to know these things, or used to be able to find them out. I am lucky now to have iraf.net... and fitz like you
|
|
|
|
| |
|
Content generated in: 0.10 seconds |
|