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

Home » Public Forums » archive » Plot colors
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: Plot colors [message #85148 is a reply to message #84967] Tue, 09 July 2013 15:56 Go to previous messageGo to previous message
allisonjaynes is currently offline  allisonjaynes
Messages: 26
Registered: May 2012
Junior Member
I love the spectral color table (cgloadct, 74, /reverse) plotted over a gray background, not white. Use CgColorFill to make the interior of the plotting region gray. (I just reverse it because I like things to go from cool colors to warm, rather than the other way around.)

As long as you have 16 or less different traces, just do:
DeltaColor=fix(255/(Num_Traces-1))
Colors=indgen(Num_Traces)*DeltaColor

(If you need more than 16 colors on one plot, you should rearrange the scheme entirely...)

Another good thing to do is vary the PSYM and THICK incrementally for each trace.

Good luck! Pretty plots are few and far between.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL beginner-MPFIT questions
Next Topic: Speeding up data crunching using IDL_IDLBridge with asychronous execution

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

Current Time: Wed Oct 08 17:46:47 PDT 2025

Total time taken to generate the page: 0.00441 seconds