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 #67535 is a reply to message #67534] Mon, 03 August 2009 00:35 Go to previous messageGo to previous message
jimmybobs is currently offline  jimmybobs
Messages: 9
Registered: January 2009
Junior Member
> 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

Hi,

Thanks for the advice! I will need to put log scales in, so that
sounds like it'll be very useful.

However (and this is my fault for not being clear) I'm not really at
that stage yet- I'm still trying to convert a line spectral plot into
a colour coded image, prior to plotting it. I basically have an array
with a range of values in representing an 8 second piece of data, then
a load of zeros, then another load of data, then zeros, etc... for an
hour or so. When plotting this prints out as many, many spectra all in
a line, and I'm trying to get idl to display them vertically and in
color (as in the Ulysses plots).

It may be that I need to write something to do this (I'm thinking
something that bins the data accoring to its value, then assigns it a
color based on intensity...) but as I've seen these plots around and
the seem fairly standard I was hoping someone might know of function
or program to do it for me- with my IDL skills it's likely to take a
fair bit of time/cursing!

Thanks,
Jimmy
[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 06:59:30 PDT 2025

Total time taken to generate the page: 1.83800 seconds