[opendx-users] ShowBoundary crash...

2005-02-15 Thread Emmanuelle Lafont
Hi,


I've got a problem with the ShowBoundary module.

I'm visualizing a 3D field with the ShowBoundary module without any problem.
Now, I want to reduce the domain, so I use Mark(Position), Include(new
boundaries), and UnMark just after the importation.
With MapToPlane or Isosurface I don't have problems and the domain is
correctly reduced.But if I use ShowBoundary, the program ends, disconnect from 
the server,
and I've got the following error message :
0 : Internal error detected at showboundary.c:931.
/usr/local/bin/dx: line 1: 3070 Abandon  
/usr/local/dx/bin_linux/dxexec -r -p1 -B
I really don't see what to do!


Thanks for any help


Emmanuelle Lafont
Clermont-Ferrand, France




Re: [opendx-users] ShowBoundary crash...

2005-02-15 Thread David Thompson
Please file a bug on this. You may wish to try setting cull to 0 or 1 
and try again. See if one or the other produces the correct result.


David


Hi,


I've got a problem with the ShowBoundary module.

I'm visualizing a 3D field with the ShowBoundary module without any problem.
Now, I want to reduce the domain, so I use Mark(Position), Include(new
boundaries), and UnMark just after the importation.
With MapToPlane or Isosurface I don't have problems and the domain is
correctly reduced.But if I use ShowBoundary, the program ends, 
disconnect from the server,

and I've got the following error message :
0 : Internal error detected at showboundary.c:931.
/usr/local/bin/dx: line 1: 3070 Abandon 
/usr/local/dx/bin_linux/dxexec -r -p1 -B

I really don't see what to do!


Thanks for any help


Emmanuelle Lafont
Clermont-Ferrand, France



--
.
David L. Thompson   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472


[opendx-users] Simple Graphing?

2005-02-15 Thread James Supancic
I have been playing around with OpenDX for a few hours and it is a
cool program. One thing that I do a lot is plot lines/smoothed lines
from data in CSV files. Can OpenDX do this or do I need to use another
package for it?

Can I for example plot a line from a CSV File like this
0,100
1,49
2,24
3,12
4,6
5,3
6,1
7,0

And get graph with the points plotted and lines connecting them? What
about smoothed lines?

Whats the basic VP (Visual Program) to graph such a line from a file?

I know this may be an extremely simple task, perhaps even bellow
OpenDX, but its something I would like the be able to do so that I can
incorporate line graphs into OpenDX visualizations.

Thank you for your time,
Arrummzen


Re: [opendx-users] Simple Graphing?

2005-02-15 Thread Urs Enke

Can I for example plot a line from a CSV File like this
0,100


In case you had spaces instead of commas, the following .general file (where 
the number of points and the name of the file are replaced by fitting values) 
suffices:


points = 10
file = input.dat
format = ascii
interleaving = field
field = x, y
structure = 1-vector, scalar
type = float, float
dependency = positions, positions
end

You simply need to connect [Import] - [Plot] - [Image], supplying [Import] 
with the name of the input file and general as the format. In [Plot], you 
can use { lin, log } as type input if you want the Y axis to be 
logarithmic. This and more info about [Plot] can be found on

http://opendx.npaci.edu/docs/html/pages/refgu104.htm#HDRPLOT

.general files can also be generated by using the Data Prompter, which asks 
you for your file's properties:

http://opendx.npaci.edu/docs/html/pages/qikgu030.htm

HTH,
Urs 



Re: [opendx-users] Simple Graphing?

2005-02-15 Thread David Thompson
There are lots of ways to do it in DX. Not quite sure what you mean 
by smooth, but take a look at the Plot examples.


David



I have been playing around with OpenDX for a few hours and it is a
cool program. One thing that I do a lot is plot lines/smoothed lines
from data in CSV files. Can OpenDX do this or do I need to use another
package for it?

Can I for example plot a line from a CSV File like this
0,100
1,49
2,24
3,12
4,6
5,3
6,1
7,0

And get graph with the points plotted and lines connecting them? What
about smoothed lines?

Whats the basic VP (Visual Program) to graph such a line from a file?

I know this may be an extremely simple task, perhaps even bellow
OpenDX, but its something I would like the be able to do so that I can
incorporate line graphs into OpenDX visualizations.

Thank you for your time,
Arrummzen



--
.
David L. Thompson   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472


Re: [opendx-users] Simple Graphing?

2005-02-15 Thread James Supancic
Please excuse my stupidity, 

What is a .general file? I know how to edit and create .net files
using the VPE, but I am unfamiliar with these .general files. What are
they? How do I use them?

Thank you for your time,
James Steven Supancic III

On Tue, 15 Feb 2005 23:51:53 +0100, Urs Enke [EMAIL PROTECTED] wrote:
  Can I for example plot a line from a CSV File like this
  0,100
 
 In case you had spaces instead of commas, the following .general file (where
 the number of points and the name of the file are replaced by fitting values)
 suffices:
 
 points = 10
 file = input.dat
 format = ascii
 interleaving = field
 field = x, y
 structure = 1-vector, scalar
 type = float, float
 dependency = positions, positions
 end
 
 You simply need to connect [Import] - [Plot] - [Image], supplying [Import]
 with the name of the input file and general as the format. In [Plot], you
 can use { lin, log } as type input if you want the Y axis to be
 logarithmic. This and more info about [Plot] can be found on
 http://opendx.npaci.edu/docs/html/pages/refgu104.htm#HDRPLOT
 
 .general files can also be generated by using the Data Prompter, which asks
 you for your file's properties:
 http://opendx.npaci.edu/docs/html/pages/qikgu030.htm
 
 HTH,
 Urs
 



Re: [opendx-users] Simple Graphing?

2005-02-15 Thread Urs Enke

What is a .general file? I know how to edit and create .net files
using the VPE, but I am unfamiliar with these .general files. What are
they? How do I use them?


As you wrote that you played with DX, I presume that you have tried some 
examples. In those, the Import module usually has a filename given as input to 
indicate where the data to be visualized resides. If your data is not in a 
format that DX understands 'naturally', you need to create a second file that 
refers to your actual data file and describes it.


.general stands for General Array Format; the DX manual simply refers to 
such files as header files because they only describe data, but do not 
contain any. When you use the Data Prompter (option General Array Format) 
for importing data, it will ask for your data file's structure and create such 
a header file. Alternatively, you can write one yourself -- e.g. using 
cutpaste from my former email. For own attempts, the following might help:

   http://opendx.npaci.edu/docs/html/pages/qikgu028.htm

As I mentioned, you can supply the Import module with the name of such an 
input file, but have to change the format input to general to tell the 
module about the given file's non-standard format. To sum it up: You will have 
a DX net ('visual program') whose Import module refers to a .general file, 
which in turn refers to your data table (.csv with commas replaced by spaces). 



Re: [opendx-users] map data on construction

2005-02-15 Thread Fabian Braennstroem
Hi opendx-users,

* opendx-users schrieb am 15 Feb 2005:

 Hallo David,
 
 * David schrieb am 14 Feb 2005:
 
  How do you want this mapping to take place? Are you looking to wrap 
  your data somehow around the cube or just looking to show the data 
  that intersects with the cube faces on the cube?
  
 
 I want to show the data that intersects with the cube faces.
 
  How is your 3D-data represented? Is it a regular 3D mesh?
  
 
 Yes, it is regular. I use following 'general'-file:
 
 ,--[]
 | file = /home/fab/HOME/Dissertation/Software/OpenDX/opendx3D.dat
 | grid = 82 x 50 x 66
 | format = ascii
 | interleaving = field
 | majority = column
 | field = locations, field0, field1, field2, field3, field4
 | structure = 3-vector, scalar, scalar, scalar, scalar, scalar
 | type = float, float, float, float, float, float
 | end
 `--[]
  
 
 And I want to map any field.

It works now! Thanks to David. I had to use ShowBoundary
after Mapping the data on the construction.

Best Regards!
Fabian
 


Re: [opendx-users] map data on construction

2005-02-15 Thread Fabian Braennstroem
Hallo opendx-users,

one short second question. Shouldn't it work the same way
for isosurfaces? I mean, I want to map my pressure data on
the velocity-isosurfaces.

Best Regards!
Fabian