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

Home » Public Forums » archive » Re: Need a Coffee Break?
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: Need a Coffee Break? [message #77535 is a reply to message #77534] Thu, 08 September 2011 13:49 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
It produced a yucky looking plot with the colorbar labels all smushed together, but it worked. No crashes or hesitations.

I ran it as a program, and also pasting each statement on the command line. Worked both ways.

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

cheers,

paulv

David Fanning wrote:
> Folks,
>
> For those of you who would enjoy a coffee break (or
> who wish to join me for something stronger), you might
> try running the following program in IDL 8.1. It will
> crash my Windows machine every single time.
>
> I have narrowed the problem to the TICKNAME keyword
> in the Colorbar() function. Remove that and all is well.
>
> I am especially curious to see what this does on other
> operating systems. :-)
>
> Please be sure to close all your applications besides
> IDL 8.1 when you try this, or you might be spending the
> rest of the day re-installing software.
>
> Cheers,
>
> David
>
> ;--------------------------------------------------------
> PRO ContourPlotCrash
>
> ; Create a simple, random dataset for contouring:
> data = RANDOMU(-3L, 9, 9)
>
> levels =[0.05, 0.1, 0.15, 0.2, 0.3, 0.44, 0.6, 0.75]
>
> ; Contour function.
> w = Window(DIMENSIONS=[500, 400])
> loadCT, 33, RGB_TABLE=rgb
> ctr=contour(data, C_VALUE=levels, /CURRENT, $
> POSITION=[0.1, 0.1, 0.9, 0.8], /FILL, $
> RGB_TABLE=rgb)
> names = StrTrim(levels,2)
> cb = Colorbar(TARGET=ctr, $
> TICKNAME=names, $
> POSITION=[0.1, 0.85, 0.9, 0.9])
>
> END
> ;--------------------------------------------------------
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: windows 64 bit test
Next Topic: PSD to XHTML Conversion, PSD to HTML, Joomla, Drupal, Wordpress Conversion, PSD to XHTML CSS

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

Current Time: Sat Oct 11 15:31:34 PDT 2025

Total time taken to generate the page: 2.24165 seconds