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

Home » Public Forums » archive » Contour command
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Contour command [message #64970] Sun, 01 February 2009 20:16
xiao zhang is currently offline  xiao zhang
Messages: 81
Registered: June 2008
Member
Hi~ everyone, i have a question about CONTOUR command.
I have an array which is 365*180. The max value of the array is about
and the min is 0.
But when i plot it using CONTOUR. it gave me very weird plot. it
seems that IDL plot the array for multiple times.
Is there anything wrong with my program here?

Thank you very much


day=indgen(365)+1
lat=indgen(180)-90
flux=fltarr(365,180)

for i=0,364 do begin
for j=0,179 do begin

insol,day(i),lat(j),tinsol,sigma
flux(i,j) = tinsol

endfor
endfor

help,flux
contour,flux,day,lat
end
[Message index]
 
Read Message
Previous Topic: Re: "foreach" loops in IDL
Next Topic: Re: Contour command

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

Current Time: Wed Oct 08 15:52:52 PDT 2025

Total time taken to generate the page: 0.00357 seconds