CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   color map problem (https://www.cfd-online.com/Forums/siemens/54045-color-map-problem.html)

Abe September 22, 2004 06:48

color map problem
 
Hi,

There are 20 colors for plotting. 14 is default. There is a transition from red to blue in the default mode.

I like to use 10 colors. "csca" controls number of colors plotted. However it uses available colors starting from red and it cuts somowehre at green. What I like to do is to plot 10 colors from red to blue. Is this possible and how?

Thanks. Abe.

Brian September 22, 2004 08:28

Re: color map problem
 
You can make your own colour maps for plots - and it's quite easy.

Try the following commands:

CLRT POST 1 1 0 0 RP10 0 1 -0.111 0 0.111

The first command sets post colour 1 to red, the second command repeats, incrementing red down by 0.111 and blue up by 0.111.

Now

CSCA 10 REPL

and you're done.

Brian September 22, 2004 08:30

Re: color map problem
 
Don't you hate the way this forum reformats everything?

There is meant to be a line break before RP10 in the first command line, and before REPL in the second.


All times are GMT -4. The time now is 00:45.