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

Home » Public Forums » archive » histogram and color bar
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
histogram and color bar [message #94713] Mon, 04 September 2017 10:58 Go to next message
gunvicsin11 is currently offline  gunvicsin11
Messages: 93
Registered: November 2012
Member
Hi all,
I have x values as magnetic field and y axis number of pixels

hist,mean_mag_neg(2:*),pixneg(2:*),color=cgcolor('red'),/fil l

I am creating a histogram like this. I need to also show time as color bar in this. How can I show color bar with respect to time.

thanks
Re: histogram and color bar [message #94714 is a reply to message #94713] Mon, 04 September 2017 11:04 Go to previous message
gunvicsin11 is currently offline  gunvicsin11
Messages: 93
Registered: November 2012
Member
On Monday, September 4, 2017 at 11:28:45 PM UTC+5:30, sid wrote:
> Hi all,
> I have x values as magnetic field and y axis number of pixels
>
> hist,mean_mag_neg(2:*),pixneg(2:*),color=cgcolor('red'),/fil l
>
> I am creating a histogram like this. I need to also show time as color bar in this. How can I show color bar with respect to time.
>
> thanks

I need to show mean_mag_neg(2:40)and pixneg(2:40) as for example blue color
then mean_mag_neg(41:80) and pixneg(41:80) as red color and mean_mag_neg(81:*) and pixneg(81:*) as green color
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MATLAB to IDL Conversion
Next Topic: Broken CGFIXPS routine?

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

Current Time: Wed Oct 08 07:24:10 PDT 2025

Total time taken to generate the page: 0.00427 seconds