problem with color graph with idl 5.0 Win95 version [message #14202] |
Tue, 02 February 1999 00:00  |
vincent
Messages: 4 Registered: February 1999
|
Junior Member |
|
|
hi ;) i'm a newbie of this very interesting language.
I use the 5.0 version of IDL for Windows95, and i have this problem.
I need to make a graph which contains more different plots inside. I
have used the commands plot and oplot with the keywords Color but i have
no what i want. The result is indeed the graph i need but every line is
showed in a grey level rather then in a color way.
Here is a little prg i have written for testing the graphic capabilities
of IDL.
Could someone help and show me where i make mistakes ?
thanks lot
Vince
> pro ProvaColori
>
> SET_PLOT, 'PS'
>
> a=100*randomu(seed, 20)
>
> b=100*randomu(seed, 20)
>
> c=100*randomu(seed, 20)
>
> DEVICE, FILE='d:\temp\prova.ps', /COLOR, BITS_PER_PIXEL=8
>
> plot, a, b, TITLE='prova ', $
> XTITLE='Theta ', YTITLE='coeff. backscatter (dB)'
>
> oplot, a, c, color=2
>
> DEVICE, /CLOSE
>
> SET_PLOT, 'win'
>
> end
|
|
|
|