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

Home » Public Forums » archive » Reset fonts / Problem with colorbuttonbitmap.pro from D. Fanning
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: Reset fonts / Problem with colorbuttonbitmap.pro from D. Fanning [message #61404 is a reply to message #61279] Tue, 15 July 2008 23:22 Go to previous message
Justus Skorps is currently offline  Justus Skorps
Messages: 20
Registered: April 2007
Junior Member
On 15 Jul., 21:21, Jeremy Bailin <astroco...@gmail.com> wrote:
>> Fonts are not the only thing totally screwed up in IDL...just look at
>> the 'where' command...
>
> I'm just curious... what about WHERE do you find screwed up? In my
> experience, it always behaves very predictably!
>
> -Jeremy.

The 'problem' is when no element matches the condition...you always
have to use the count parameter to check if the result is an usable
index..

for example, if I have an array A and I want to set all elements less
than 0 to 0..then I would like to use a command like

A[where(A lt 0)]=0

But this works only if there is at least one element in A less than
0...so you always have to use two lines of code for such a simple
thing..

But back to topic:
It seems that
Devcie, Set_font='*'
can be used to reset the font...I am not sure if it is a real reset,
but after this command my plots looks much more like before the
colorbuttonbitmap.pro...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Format Code Question
Next Topic: Plea for RESOLVE_ALL Help!

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

Current Time: Sat Nov 29 00:55:25 PST 2025

Total time taken to generate the page: 0.15633 seconds