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

Home » Public Forums » archive » Re: Tick mark annotations after rotation using az?
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: Tick mark annotations after rotation using az? [message #12243 is a reply to message #12238] Mon, 27 July 1998 00:00 Go to previous messageGo to previous message
Kevin Ivory is currently offline  Kevin Ivory
Messages: 71
Registered: January 1997
Member
Holger Schaal wrote a question I can't answer, but I would like to
show you something completely different -

Here are nine lines of his code which can completely substituted
by one line

> E_y0_thick = fltarr(74, 9)
> i = 0
> j = 0
> For i = 0,73,1 do begin
> For j = 0,8,1 do begin
> y = 2. * cos(x[i]) / sqrt(1. - n_21[j]^2)
> E_y0_thick[i,j]=y
> endfor
> endfor

This is the one line that does the same thing ;-)

E_y0_thick = 2. * cos(x) # (1. / sqrt(1. - n_21^2))

Best regards
Kevin
--
Kevin Ivory Tel: +49 5556 979 434
Max-Planck-Institut fuer Aeronomie Fax: +49 5556 979 240
Max-Planck-Str. 2 mailto:Kevin.Ivory@linmpi.mpg.de
D-37191 Katlenburg-Lindau, GERMANY http://www.gwdg.de/~kivory2/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Translating IDL Co ordinates
Next Topic: Need help reseting widget buttons

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

Current Time: Thu Oct 09 22:53:31 PDT 2025

Total time taken to generate the page: 0.56116 seconds