Dear Chris,
Thank you very much for your prompt reply to my question regarding how to
plot the vector file, and thank you very much for your suggestion:
I put the Autoglyph in the VP and removed the Include, and now it works.
I have another, related problem, which is concerned with the plotting of a
scalar field: when I view it using the .general file included below, I get
an image which is completely colored, i.e. it fills a rectanglar area
completely with a color; the color changes in a continuous fashion
(and there are very small 45 degr-rotated square dots of different sizes).
Here is the . general file:
file = ./scalar1.dat
points = 1250
format = ascii
interleaving = field
header = lines 2
field = locations, field0
structure = 2-vector, scalar
type = float, float
end
However, when I view it with the following schematic Visual Program,
I only get an array of non-connected colored points, (not a connected shape
anymore), and now the background is completely black.
Here comes the schematic VP:
FILESELECTOR
IMPORT (refers to the above .general file)
COLOR and COLORMAP
INCLUDE
IMAGE
I also tried this example without the INCLUDE, but this makes no difference.
Do you know how I can resolve this problem?
Thank you very much in advance,
Best regards,
Ton.
From: Chris Pelkie <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [opendx-users] Problem: picture by .general OK; picture by
.net only isolated points
Date: Wed, 21 Feb 2001 09:57:44 -0500
Not entirely clear what you got the first time, but you need Glyph or
AutoGlyph, before or after Color, to get the vector display. Throw away
Include for the time being: I bet you don't know what it does (I'll tell
you below).
You should see 300 vector arrows in space, not visibly connected to each
other. Each glyph is a little representation of vector direction and
magnitude, colored by the magnitude of the vector (Color module cleverly
calculates mag(vector) for you).
Now if you want to Include a range of vector magnitudes (about all you can
do with this data set), you need to explicitly calculate mag(vector) by
inserting a Compute module with that expression. I would put this at the
end, just before Image, so the result is that you have already created a
set of colored glyphs, each of which still knows its original 2-vector
value, then you Compute(mag(vector)) and feed this to Include, then set a
min and max (magnitude) in Include. This will pass the chosen subrange of
glyphs to be Imaged.
Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.