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

Home » Public Forums » archive » Re: Is IDL 8.1 Useable!?
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: Is IDL 8.1 Useable!? [message #77540 is a reply to message #77539] Thu, 08 September 2011 09:33 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Hello,

alx wrote:
> On 8 sep, 17:41, David Fanning <n...@dfanning.com> wrote:
>> Paul van Delst writes:
>>> The biggest issue I have with NG is that it is so agonisingly slow. A big selling point for these sorts of products
>>> (IDL, matlab, etc) is that they make you more productive because visualising your data is easy and quick. NG kills the
>>> latter and, based on posts to this newsgroup, is doing a good job of nobbling the former (although I attribute some of
>>> that to resistance to shifting one's perception anchor from how one thinks things *should* work, to how they actually
>>> *do* work).
>> Well, if there was some instruction in how they *do* work
>> we wouldn't be having to make so many guesses as to how
>> they *should* work!
>>
>> My plan was to help provide a solution to the first
>> problem, but it is going awry. :-(
>>
>> 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'am not so sure that DG is faster than NG !
> alx.
>
> IDL> p = randomn(rien, 1024L*1024)
> IDL> t=systime(1) & plot, p, PSYM=3 & print,'DG elaps:',systime(1)-t
> DG elaps: 16.110000
> IDL> t=systime(1) & q=plot(p, LINESTYLE=6, SYMBOL='dot') & print,'DG
> elaps:',systime(1)-t
> % Loaded DLM: XML.
> NG elaps: 11.740000

Interesting!

Here are my results (I cut-n-pasted your commands into my command line):

IDL> p = randomn(rien, 1024L*1024)
IDL> t=systime(1) & plot, p, PSYM=3 & print,'DG elaps:',systime(1)-t
DG elaps: 0.74409294

IDL> t=systime(1) & q=plot(p, LINESTYLE=6, SYMBOL='dot') & print,'NG elaps:',systime(1)-t
% Loaded DLM: XML.
NG elaps: 18.482085

IDL> print, !version
{ x86 linux unix linux 8.1 Mar 9 2011 32 64}

If my DG plots took as long as on your system, I would never have used IDL in the first place!

Let me now try it in the Workbench:

IDL> p = randomn(rien, 1024L*1024)
IDL> t=systime(1) & plot, p, PSYM=3 & print,'DG elaps:',systime(1)-t
DG elaps: 0.95030618
IDL> t=systime(1) & q=plot(p, LINESTYLE=6, SYMBOL='dot') & print,'NG elaps:',systime(1)-t
% Loaded DLM: XML.
% IDLITWINDOW::ONEXPOSE: Failure to acquire window rendering context.
% Unable to acquire device context.
% Execution halted at: $MAIN$

Oh boy! (wipes tears from eyes.... :o)

<shake attribute="fist" target="monitor">
I'll give you a rendering context....
</shake>

:oD

cheers,

paulv
[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
Previous Topic: Teaching an Elephant to Dance
Next Topic: Re: How to compute SIP distortion parameters?

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

Current Time: Wed Oct 08 16:08:31 PDT 2025

Total time taken to generate the page: 0.00199 seconds