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

Home » Public Forums » archive » plot problem
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
plot problem [message #61625] Fri, 25 July 2008 10:36 Go to next message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
Folks
I want to plot N set of x,y data in a one figure in a loop like this:

For I =0, N-1 do begin


Plot, x(i),y(i)
Endfor
Actually these points are lat-lon data and I want to see all in one
figure
But oplot doesn’t work there.
Any help?
Cheers
Dave
Re: plot problem [message #61712 is a reply to message #61625] Fri, 25 July 2008 11:41 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
d.poreh@gmail.com writes:

> I want to plot N set of x,y data in a one figure in a loop like this:
>
> For I =3D0, N-1 do begin
>
> =85
> Plot, x(i),y(i)
> Endfor
> Actually these points are lat-lon data and I want to see all in one
> figure
> But oplot doesn=92t work there.

I *really* don't want to get involved in this discussion
in any way, shape, or form. But if you wanted to see how
to read and display a shape file in lat/lon coordinates,
you *could* read this article:

http://www.dfanning.com/map_tips/shapefile.html

And you could have a look at DrawStates:

http://www.dfanning.com/programs/drawstates.pro

I am not available for questions, though. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Draw IDLgrImage and IDLgrPlot in the correct order
Next Topic: IDL linking with CUDA

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

Current Time: Fri Oct 10 05:15:55 PDT 2025

Total time taken to generate the page: 0.15977 seconds