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

Home » Public Forums » archive » Hello
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Hello [message #91401] Thu, 09 July 2015 08:14 Go to previous message
hana303132 is currently offline  hana303132
Messages: 5
Registered: July 2015
Junior Member
Hello there,

I'm a new totally in Idl. So, I need your help

Actually, I've plotted two axis, consisting of x-axis which represents color index ( e.g. r-i) and y-axis which represents magnitude (e.g. r) and inside the plot, there is objects (stars) lie in the models which represents log (g) ( g surface gravity ranging from 7.0 to 9.5) and stars lie between them. Now, I need to estimate logg for each stars and I have written the code. Unfortunately, my code does not work.

This my code,

x=fltarr(r-i) ; x-axis
y=fltarr(r) ; y-axis
xx=findgen(6)/20-0.72 ; logg

n=0
while n lt number_of_wd do begin
j=0
while j lt number_of_stars do begin
linterp,x,y,xx,yy
endif
j=j+1
endwhile
n=n+1
endwhile
print,transpose(yy)
end

I'm waiting your suggestions and your help (Please help me)

thanks
Hana
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: to convert 3d array to 2d array
Next Topic: IDLWAVE and &$ blocks

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

Current Time: Wed Oct 08 15:06:27 PDT 2025

Total time taken to generate the page: 0.00423 seconds