comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: PV-Wave Postscript question
items: Re: PV-Wave Postscript question

PV-Wave Postscript question
type: item
description: Thanks to everyone who responded to my question. If I had only posted sooner I could have saved a lot of time . . . Kyle J.
creator: rkj
date: 1996-11-26T08:00:00-00:00

Re: PV-Wave Postscript question
type: item
description: R. Kyle Justice wrote: > > How do you get a postscript plot (i.e. SET_PLOT, 'ps') with a black > background? I am only able to get a white background. It does > not seem to recognize my color table (i.e. DEVICE, /Color). > > Kyle IDL> BLACK = 0 ; or whatever number in your table represents black IDL> polyfill, [0,1,1,0,0], [0,0,1,1,0], color=BLACK, /norm Then plot over top of this! -- Andrew F. Loughe | afl@cdc.noaa.gov University of Colorado, CIRES | http://cdc.noaa.gov/~afl Campus Box 449 | phn:(303)492-0707 fax:(303)497-7013 Boulder, CO 80309-0449 | "If you are going to be blue, be bright blue!"
creator: Andy Loughe
date: 1996-11-26T08:00:00-00:00

Re: PV-Wave Postscript question
type: item
description: rkj@dukebar.crml.uab.edu (R. Kyle Justice) writes: > How do you get a postscript plot (i.e. SET_PLOT, 'ps') with a black > background? I am only able to get a white background. It does > not seem to recognize my color table (i.e. DEVICE, /Color). > Kyle You have to load the color table *after* you use the DEVICE,/COLOR command One way to change the color of the background in the PostScript device is to start off by displaying a single pixel of the right color which fills the page, e.g. B = [0B] TV, B(0:0,0:0), 0, 0, XSIZE=!D.X_SIZE, YSIZE=!D.Y_SIZE, /DEVICE followed by the rest of your plotting commands. Bill Thompson
creator: thompson
date: 1996-11-26T08:00:00-00:00