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

Home » Public Forums » archive » Object graphics questions
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
Object graphics questions [message #43015] Fri, 11 March 2005 15:27
Leslie Welser is currently offline  Leslie Welser
Messages: 11
Registered: March 2005
Junior Member
I'm writing an IDL application to visualize a pretty complex set of
data, and I'm having some trouble with certain aspects of the object
oriented programming. I have used direct graphics for a couple of
years, but this is my first try at object graphics. I have a GUI set
up so that I can load all my data once and then select (with a
droplist) one array of data at a time for visualization as a surface
that can be rotated. Also on the GUI is a window for viewing the 2-d
image of the same dataset. The user can choose a region of interest,
and then several 1-d traces are "overplotted" on a sequence of plots,
based on the region of interest that was selected. My problems are the
following, and I would greatly appreciate any help that the newsgroup
could give me on any of these topics:
(1) I am using David Fanning's suggestion for shading the surface by
elevation (in object graphics), and this seems to be working ok for
some surfaces but badly for others. The problem is that some of my
arrays need to plotted on a log scale, which I gather from previous
threads is not an easy thing to do. I followed David's advice on how
to do the log plotting, but sometimes I get some really large white
lines going across the plot, and I never see any color shading by
elevation. I just see a whole bunch of black points, and they aren't
exactly where they should be. The problem is that there doesn't seem
to be any rhyme or reason to how the different arrays are plotted on a
surface (using the same code). Has there been any more work done on
improving log axes with object graphics?
(2) Is there a way to use PickData (and output the label) so that the
user would ONLY see the exact data points? At the moment, PickData
seems to not be zoning in on the actual data points, but just giving an
approximate cursor position within the data.
(3) Is it a hard-and-fast rule that if I am viewing a 240x250 image, I
just have to set the viewplane rectangle to [0,0,240,250]? I have done
that but the results don't look right.
(4) I have followed David Fanning's advice on how to create symbols,
but I still don't see any, just a line plot.
Thanks in advance,
Leslie Welser
Los Alamos National Laboratory
University of Nevada, Reno
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Editting IDL files under MacOS X
Next Topic: Object graphics questions and comment

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

Current Time: Fri Oct 10 16:46:26 PDT 2025

Total time taken to generate the page: 0.72056 seconds