comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 8-bit Postscript problem (Will IDL and color Postscript *ever* get along?)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 8-bit Postscript problem (Will IDL and color Postscript *ever* get along?) [message #49198] Fri, 07 July 2006 11:06 Go to previous message
M-K is currently offline  M-K
Messages: 3
Registered: July 2006
Junior Member
M-K wrote:

> The program works correctly on my X11 display, so I had actually
> been writing it to a png file and using ImageMagick ('convert') to
> make Postscript files. {Not bad, except for publications (and
> dissertation), the fonts are kinda marginal (no pun intended). }
>
> Thanks so much for your response (as well as the great progs
> you've made); here is a code example I used to generate a plot
> which can be converted to white-on-black Postscript:

oops- I meant black (print) on white (background), thus the
color=0 and BACKGROUND=-1 statements...

> TVImage, BYTSCL(wavgy[*,0:nz/06],MIN=-w_amp,MAX=w_amp), $
> /ERASE, POSITION=[.12,.12,.8,.9], /MINUS_ONE, BACKGROUND=-1
> contour, wavgy[*,0:nz/06], x, z[0:nz/06], xtitle="x (m)", ytitle="z (m)", $
> title=textoidl('vertical velocity field (ms^{-1}), \alpha_{fall}=0.5'), $
> chars=1.5, /NODATA, /NOERASE, POS=[.12,.12,.8,.9], color=0
> colorbar, /vertical, /right, NCOLORS=256, POSITION=[0.83,0.15,0.85,0.85], $
> RANGE=[-w_amp,w_amp],DIVISIONS=4, charsize=1.5, FORMAT='(F6.2)',
> color=0
>
> (the PNG file is then saved using your SAVEIMAGE prog, and converted
> using the -white-threshold and other options with the ImageMagick/convert
> linux goodie).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reading Binary
Next Topic: 8-bit Postscript problem (Will IDL and color Postscript *ever* get along?)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:14:32 PDT 2025

Total time taken to generate the page: 0.95798 seconds