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

Home » Public Forums » archive » Any suggestions for a B&W colour scheme for publication images?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
[My SOLUTION] Any suggestions for a B&W colour scheme for publication images? [message #56129 is a reply to message #56065] Mon, 01 October 2007 17:14 Go to previous messageGo to previous message
Tyler is currently offline  Tyler
Messages: 5
Registered: September 2007
Junior Member
First off, thanks for the numerous replies. I'm posting below what
works for my purposes, albeit somewhat crude.

Basically, what I did was shift every 8th colour to be darker by "8",
i.e.,

TVLCT, 0,0,0,7
TVLCT, 7,7,7,15 .... &c.

I had thought about reversing the colours, e.g.,

TVLCT, 248,248,248,7
TVLCT, 239,239,239,15 .... &c.

But reckoned it made the plot a little too motley.

Here is the code snipet that works for my purposes contouring the data
set I have. Let me know what you think and I hope it helps someone
else.

Cheers,

t.

-------------------- 8< ------------------------

ctable = 0 ; B&W colour scheme....
LOADCT, ctable
PRINT,'Creating B&W plot suitable for print with LaTeX'

;; Shift middle colours only
FOR i = 1, 30 DO BEGIN
ncol = (i*8) - 1
ocol = (i-1)*8 - 1
IF (ncol LT 0) THEN ocol = 0
TVLCT, ocol, ocol, ocol, ncol-1
TVLCT, ocol, ocol, ocol, ncol+1
TVLCT, ocol, ocol, ocol, ncol
ENDFOR

-------------------- 8< ------------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Any suggestions for a B&W colour scheme for publication images?
Next Topic: SetPixelData Error

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

Current Time: Sat Oct 11 05:28:22 PDT 2025

Total time taken to generate the page: 8.13021 seconds