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 
Return to the default flat view Create a new topic Submit Reply
Re: plot problem [message #61711 is a reply to message #39989] Fri, 25 July 2008 11:59 Go to previous messageGo to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On 25 Jul., 11:41, David Fanning <n...@dfanning.com> wrote:
> d.po...@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.")

i mean for example:
pro test

for i=0,20 do begin
data=[[transpose(findgen(i+10)),transpose(findgen(i+10))*0.1 ]]
print,data

plot,data[0,*],data[1,*]
endfor
end


Cheers
Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to manipulate vectors by the index
Next Topic: Hardware suggestions for IDL/ENVI.

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

Current Time: Fri Oct 10 09:00:16 PDT 2025

Total time taken to generate the page: 0.79720 seconds