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

Home » Public Forums » archive » Overlaying multiple plots on top of map
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
Overlaying multiple plots on top of map [message #78293] Fri, 04 November 2011 15:26 Go to next message
Axel[1] is currently offline  Axel[1]
Messages: 10
Registered: January 2011
Junior Member
Hi,
I am trying to figure out how to overlay multiple plots on top of a
map. To be specific, I would like to display a wind rose in a number
of locations. To do this, it seems like I have to first establish the
map projection and then create separate plots at various locations of
the map. Using plot,/noerase lets me overplot onto of the map, but I
can't figure out how to control the position. I've thought about just
generating the wind roses separately and then inserting them as
bitmaps into an image of the map, but that seems a bit clumsy.

An example for what I'm looking to do is here: http://www.ipcc.ch/graphics/syr/fig2-5.jpg

Any suggestions

Thanks
Axel
RE: Overlaying multiple plots on top of map [message #87421 is a reply to message #78293] Fri, 31 January 2014 18:27 Go to previous messageGo to next message
Krishnapriya M is currently offline  Krishnapriya M
Messages: 3
Registered: December 2013
Junior Member
Hi,
I want to plot a number of data sets as depth in y-axis and time in X-axis. In which unavailable data should be shown like putting a gap or giving a colour in that portion only.... I just plot it many times but there is a problem with time axis. It comes as time steps only. but I want month and year.... Can u help me to resolve this problem....

Regards,
krishnapriya
RE: Overlaying multiple plots on top of map [message #87427 is a reply to message #87421] Sat, 01 February 2014 04:59 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mkrishnapriya11 writes:

> I want to plot a number of data sets as depth in y-axis and time in X-axis. In which unavailable data should be shown like putting a gap or giving a colour in that portion only.... I just plot it many times but there is a problem with time axis. It comes as time steps only. but I want month and year.... Can u help me to resolve this problem....

Putting a gap in a plot should be done automatically by the plot command
if the missing data is represented by NaNs. Coloring the gap is
possible, maybe, by using the techniques illustrated in the Coyote Plot
Gallery for multi-colored lines:

http://www.idlcoyote.com/gallery/index.html#COLORED_LINE_PLO T

I would investigate the LABEL_DATE command to see how to label your time
axis with the month and year.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Overlaying multiple plots on top of map [message #87429 is a reply to message #87427] Sat, 01 February 2014 15:22 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Saturday, February 1, 2014 6:59:33 AM UTC-6, David Fanning wrote:
> mkrishnapriya11 writes:
>
>
>
>> I want to plot a number of data sets as depth in y-axis and time in X-axis. In which unavailable data should be shown like putting a gap or giving a colour in that portion only.... I just plot it many times but there is a problem with time axis. It comes as time steps only. but I want month and year.... Can u help me to resolve this problem....
>
>
>
> Putting a gap in a plot should be done automatically by the plot command
>
> if the missing data is represented by NaNs.

If you need to put NaNs in the data, you might want to check out Craig's GAPNAN procedure:

http://cow.physics.wisc.edu/~craigm/idl/down/gapnan.pro
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Empirical Orthogonal Function Analysis in IDL
Next Topic: cgplotting points with error bars

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

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

Total time taken to generate the page: 0.00437 seconds