|
|
|
|
Re: curtain plot [message #61265 is a reply to message #61263] |
Thu, 10 July 2008 07:04   |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On Jul 10, 6:51 am, maffie <matthias.demuz...@geo.kuleuven.be> wrote:
> Hi all,
>
> I would like to produce a curtain plot, which shows a sequence of
> daily vertical profiles. Time should be on the X-axis, height on the Y-
> axis, and the value that corresponds to each time-height location
> should be in colour, with the color range in a nice colour bar next to
> the plot...
>
> Probably it is not that difficult, but I can't seem to find the trick
> to handle this?
>
> Thanks,
> Matthias
You mean like this: http://tinyurl.com/5bw3jc
|
|
|
Re: curtain plot [message #61319 is a reply to message #61257] |
Thu, 10 July 2008 15:48  |
matthias.demuzere
Messages: 32 Registered: January 2006
|
Member |
|
|
Hi all,
After some searching, I found the following manual on the internet:
"An introduction to using IDL in meteorology", but can probably be
interesting in many other fields...
http://ncas-cms.nerc.ac.uk/component/option,com_docman/task, doc_download/gid,100/
http://ncas-cms.nerc.ac.uk/component/option,com_docman/task, doc_download/gid,99/
Probably, a lot of things mentioned in there are known by the
community, but it helped my quite a lot, as most the examples from the
course can be downloaded from the National Center for Atmospheric
Science:
http://ncas-cms.nerc.ac.uk/component/option,com_dbquery/Item id,245/
In to answer my own curtain plot question:
This does the trick:
myT,mytime, mylev3, /CELL_FILL,...
followed with a separate definition of the axes:
AXIS, XAXIS=0, XTITLE='Time', TICKLEN=myticklen,$
XTICKS=3, XTICKNAME=myticks, XTICKV=mytickvals
AXIS, YAXIS=0, YTITLE='Pressure (mb)', TICKLEN=myticklen,$
YTICKS=6, YTICKNAME=yticks, YTICKV=float(yticks)
With many thanks to Andy Heaps for his help with this!!!
|
|
|