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

Home » Public Forums » archive » problem with color graph with idl 5.0 Win95 version
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
problem with color graph with idl 5.0 Win95 version [message #14202] Tue, 02 February 1999 00:00 Go to next message
vincent is currently offline  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
Re: problem with color graph with idl 5.0 Win95 version [message #14238 is a reply to message #14202] Mon, 08 February 1999 00:00 Go to previous message
vincent is currently offline  vincent
Messages: 4
Registered: February 1999
Junior Member
thanks to all reply me (also in private way) about this problem.

thanks again for your support.

Vince
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: bit field in file
Next Topic: New user & FEM

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

Current Time: Wed Oct 08 16:00:58 PDT 2025

Total time taken to generate the page: 0.00563 seconds