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

Home » Public Forums » archive » Re: Creating colour-coded plots of spectra
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: Creating colour-coded plots of spectra [message #67556 is a reply to message #67535] Fri, 31 July 2009 07:38 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
On Jul 31, 4:54 am, Jimmy <jimmyb...@gmail.com> wrote:
> Hi there,
>
> I have a large amount of line plots of x-ray spectra (looking a little
> bit like this one -http://www.jaxa.jp/press/2005/08/img/20050817_suzaku_pic02- e.gif
> ). I'd like to convert them into something a bit more user friendly- a
> colour coded spectral plot (looking rather like this-http://swepam.lanl.gov/Figures/Figure08.JPG), with intensity shown by
> different colour values. This plot also makes it easy to see how
> intensities of a particular energy (y-axis) change with time (x-axis).
>
> Has anyone heard of a program that will do this for me? Its possibly
> I'm being dense, and don't know the correct term to google for. If
> there's nothing out there I have an inkling (a faint one!) on how to
> do it myself, but no doubt someone has done it better than I could?
>
> Thanks!
> Jimmy

Hi Jimmy,

if you are happy with linear scale for the x and y axis,
any of the numerous program to plot images with axes will
do, but if it matters to you to have log scales as in the
Ulysses plots, I suggest to use

http://hea-www.cfa.harvard.edu/~pgrigis/idl_stuff/pg_plotima ge.pro

Example of usage:

pg_plotimage,dist(512,512),findgen(512),findgen(512)/10+1,/y log,/
xstyle,/ystyle


Ciao,
Paolo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Question about the installation of IDL AACGM DLM
Next Topic: DIALOG_PICKFILE() changes locale settings

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

Current Time: Fri Oct 10 15:50:22 PDT 2025

Total time taken to generate the page: 1.83939 seconds