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

Home » Public Forums » archive » Plotting results from z-buffer are diffrenet than xwindow.
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: Plotting results from z-buffer are diffrenet than xwindow. [message #89028 is a reply to message #89027] Wed, 16 July 2014 13:30 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
jlpippitt@comcast.net writes:

> I tried it with IDL version 6.3 and 8.2, both give the same result. Check out the images in question on the link below. They were created from the same data file, one in Z-buffer and one in x-window.
>
> http://gpm-gv.gsfc.nasa.gov/Radar/zbuff_ZZ.gif

Well, the images look exactly like you would expect if you don't pin the
data coordinate space down by using the position keyword with what I
presume is a Map_Set command in your drawing program. That was my
original suggestion. The "smoothing" effect might go away if you fix
that problem.

Or, the smoothing effect could also be caused by possibly not using the
same number of colors in the X device and Z-graphics buffer. Do you have
some kind of pre-1970s code in your IDL start-up file that somehow
restricts the number of colors you are using? It looks to me like
something fewer than 256 colors are being used on the display device.
You could check by doing a "HELP, r" after you issue this command:

tvlct, r, g, b, /Get

Make sure these vectors are the same size in both devices.

How are you specifying your drawing colors?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[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
Previous Topic: the problem of symbol Function
Next Topic: How to disable tick labels on right and top when using cgMap?

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

Current Time: Wed Oct 08 17:02:36 PDT 2025

Total time taken to generate the page: 0.00427 seconds