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

Home » Public Forums » archive » Re: tvrd failure on v5 on win95 [solved]
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: tvrd failure on v5 on win95 [solved] [message #9224] Thu, 05 June 1997 00:00
Mirko Vukovic is currently offline  Mirko Vukovic
Messages: 124
Registered: January 1996
Senior Member
Mirko Vukovic wrote:
>
> Struan Gray wrote:
>>
>> Mirko Vukovic, mirko.vukovic@grc.varian.com writes:
>>
>>> (some of you may recognize it as part of Struan's
>>> surface plotting tutorial).
>>
>> I thought it looked familiar :-)
>>
>>> _depending_ on the color table loaded with LOADCT (I
>>> tried 6 and 25), clr_surf contains a severely defficient
>>> image. Do a tv,clr_surf, and you will get either only the
>>> axes drawn (for color table 25) or a surface image but with
>>> colors that do not correspond to the original (for color
>>> table 6)
>>
>> It could be a bug in v5.0 but I would guess you are doing this on
>> a 16-bit or 24-bit display where TVRD doesn't return the colour index
>> used to plot the image, but instead gives you whichever of the red,
>> green and blue values for each pixel is largest. With some colour
>> tables this can give very different results from what you get on an
>> 8-bit display.
>
Well Struan was right.

I have a 16-bit graphics card and I had to go into the "true" mode of
things to get the routines working.


--
Mirko Vukovic, Ph.D 3075 Hansen Way M/S K-109
Varian Associates Palo Alto, CA, 94304
415/424-4969 mirko.vukovic@varian.grc.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 3-D scatter plot routines?
Next Topic: Call_external

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

Current Time: Wed Oct 08 15:12:54 PDT 2025

Total time taken to generate the page: 0.00553 seconds