Donna, Thank you very much for your insightful response. I will try your suggestions later tonight.
The main reason I am trying to use this package is for visualizations as you indicated. Currently I am running a 2D simulation and have figured out (after much head-banging) how to make DX display my results in the format that I desire. The info that I am trying to plot is simply some running statistics that I thought would be simple to plot up. Seems like DX is very powerful but has a steep learning curve. I used to use Tecplot back in school, and I have to say its much easier to use, but then again it costs $2500 where DX is free! Thanks again, Russ > > From: Donna L Gresh <[EMAIL PROTECTED]> > Date: 2002/09/05 Thu AM 09:23:50 EDT > To: [email protected] > Subject: Re: [opendx-users] [newbie] Help with the basics > > > > > > > > > > Plot expects the "x" values as the "positions" component and the "y" values > as the "data" component. So first you need to get it structured that way. > ImportSpreadsheet will import it as two components, called by default > "column0" and "column1" (I think). You should be able to just use Rename > to rename them to the right component names. Use the Print module to see > how they are imported. Alternatively you could add the component names as > the first line of the imported data file; ImprortSpreadsheet will use those > names as the component names. > > Another possible gotcha is that if your data is as below the positions will > be imported as integers, while DX needs floats, so you'll need a cast > first. I've attached a net, as this is probably seeming rather complex. > Which perhaps it is, but DX really isn't a plotting package. If what you're > mostly interested in doing is plotting lines, DX is probably not the right > tool. It's plotting capabilities are fairly rudimentary; it's really > intended for 3D visualization. Understanding the way in which DX creates > geometry from data is pretty important to making all this seem less > arbitrary (which it really isn't). > > (See attached file: test.net) > > Donna L. Gresh, Ph.D. > IBM T.J. Watson Research Center > (914) 945-2472 > http://www.research.ibm.com/people/g/donnagresh > [EMAIL PROTECTED] > > > > > > Russell Auld <[EMAIL PROTECTED]> > > Sent by: owner-opendx- To: > [email protected] > [EMAIL PROTECTED] cc: > > Subject: > [opendx-users] [newbie] Help with the basics > > > > 09/04/2002 08:55 PM > > Please respond to opendx- > > users > > > > > > > > > Please pardon my ignorance, but can someone > tell me how to simply phi vs x on a simple "plot" > given that I have a flat file with x in one column, phi in another > as such: > > 2160 3.456 > 2161 3.455 > 2162 3.454 > 2163 3.453 > etc... > > I'm trying to use an "ImportSpreadsheet" > and then a "plot" object into an image, > but something is missing. > > Russ > > > > >
