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

Home » Public Forums » archive » Re: How to use fewer colors for Widget-app-
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How to use fewer colors for Widget-app- [message #1631] Mon, 10 January 1994 06:01
knipp is currently offline  knipp
Messages: 68
Registered: January 1993
Member
In article 7g2@canopus.cc.umanitoba.ca, djackson@ibd.nrc.ca (Dick Jackson) writes:
In article 7g2@canopus.cc.umanitoba.ca, djackson@ibd.nrc.ca (Dick Jackson) writes:
> In article <2ghv4c$74s@canopus.cc.umanitoba.ca>
> djackson@ibd.nrc.ca (Dick Jackson) writes:
>
>> I want to explicitly request only 8
>> colors for the window that is created when I do:
>>
>> WIDGET_CONTROL, my_window_widget, /REALIZE

...

>
> Cheers,
> -Dick
>
> Dick Jackson djackson@ibd.nrc.ca Standard
> disclaimer
> Institute for Biodiagnostics, National Research Council Canada,
> Winnipeg
> Waitress: "We're out of hummous so I gave you extra babagonoush" Me: %^P

Hi,

try:

WINDOW, /FREE, COLORS=8, XSIZE=32, YSIZE=32, /PIXMAP
WDELETE

If this is the 1st window opened in your actual IDL-session,
all the following windows will be sticked with !d.n_colors = 8.

Karl

____________________________________________________________ __________________
__ ____ __
/ // _ \ / / Karlheinz Knipp phone: +49 511 - 762 4922
/ // /_/ // / University of Hannover fax: +49 511 - 762 2483
/ // ____// / Institute for Photogrammetry
/ // / / / Nienburger Str.1
/_//_/ /_/ FRG 30167 Hannover 1 email: knipp@ipi.uni-hannover.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How do I zoom in on a 3d data set?
Next Topic: overlapping plots

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

Current Time: Wed Oct 08 17:35:19 PDT 2025

Total time taken to generate the page: 0.00475 seconds